diff --git a/anda/system/packagekit-bootc/PackageKit-bootc.spec b/anda/system/packagekit-bootc/PackageKit-bootc.spec new file mode 100644 index 0000000000..724527c951 --- /dev/null +++ b/anda/system/packagekit-bootc/PackageKit-bootc.spec @@ -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 + +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 +- Initial Release diff --git a/anda/system/packagekit-bootc/anda.hcl b/anda/system/packagekit-bootc/anda.hcl new file mode 100644 index 0000000000..a0ea0db4cb --- /dev/null +++ b/anda/system/packagekit-bootc/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "PackageKit-bootc.spec" + } +} \ No newline at end of file diff --git a/anda/system/packagekit-bootc/com.fyralabs.PackageKit-bootc.metainfo.xml b/anda/system/packagekit-bootc/com.fyralabs.PackageKit-bootc.metainfo.xml new file mode 100644 index 0000000000..26ecfa8a1b --- /dev/null +++ b/anda/system/packagekit-bootc/com.fyralabs.PackageKit-bootc.metainfo.xml @@ -0,0 +1,10 @@ + + com.fyralabs.PackageKit-bootc + org.freedesktop.packagekit + bootc for PackageKit + A PackageKit backend for bootc system updates. + GPL-3.0+ + + System + + diff --git a/anda/system/packagekit-bootc/update.rhai b/anda/system/packagekit-bootc/update.rhai new file mode 100644 index 0000000000..5b92441f35 --- /dev/null +++ b/anda/system/packagekit-bootc/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("FyraLabs/PackageKit-bootc")); \ No newline at end of file