add: PackageKit-bootc (#8042) (#8043)

This commit is contained in:
Raboneko
2025-12-04 08:06:06 -08:00
committed by GitHub
parent 4bf40a05f7
commit c8de455cbd
4 changed files with 67 additions and 0 deletions
@@ -0,0 +1,51 @@
%global appid com.fyralabs.PackageKit-bootc
%global appstream_component addon
Name: PackageKit-bootc
Version: 0.1.0
Release: 1%{?dist}
Summary: bootc backend for PackageKit
Packager: Cappy Ishihara <cappy@fyralabs.com>
License: GPL-3.0-or-later
URL: https://github.com/FyraLabs/PackageKit-bootc
Source0: %{appid}.metainfo.xml
BuildRequires: PackageKit-glib-devel
BuildRequires: glib2-devel
BuildRequires: PackageKit-devel
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: gcc
BuildRequires: git
BuildRequires: anda-srpm-macros
Requires: PackageKit
Requires: bootc
%description
%{summary}.
%prep
%git_clone %{url}.git v%{version}
%build
%meson
%meson_build
%install
%meson_install
%terra_appstream -o %{SOURCE0}
%files
%license LICENSE
%doc README.md
%{_libdir}/packagekit-backend/libpk_backend_bootc.so
%{_datadir}/PackageKit/helpers/bootc/bootcBackend.py
%{_metainfodir}/%{appid}.metainfo.xml
%changelog
* Thu Dec 04 2025 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial Release
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "PackageKit-bootc.spec"
}
}
@@ -0,0 +1,10 @@
<component type="addon">
<id>com.fyralabs.PackageKit-bootc</id>
<extends>org.freedesktop.packagekit</extends>
<name>bootc for PackageKit</name>
<summary>A PackageKit backend for bootc system updates.</summary>
<project_license>GPL-3.0+</project_license>
<categories>
<category>System</category>
</categories>
</component>
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("FyraLabs/PackageKit-bootc"));