# Built by quine-global/app-build (kind flutter) from Flutter's release bundle; not# a from-source spec (no %prep/%build).%global debug_package %{nil}# The bundle's own libraries (libflutter_linux_gtk.so, plugins) are private,# and the executable links them from its own lib/, so no automatic# dependencies from the bundle: the Requires below are what it needs from the# system (the image build checks every library resolves).%global __provides_exclude_from ^%{_libexecdir}/%{name}/.*$%global __requires_exclude_from ^%{_libexecdir}/%{name}/.*$Name: dnf-package-storeVersion: %{version_}Release: %{release_}%{?dist}Summary: Browse DNF packages and try them out with transient installsLicense: LicenseRef-Not-SpecifiedURL: https://forge.in.quineglobal.com/quine-global-labs/dnf-package-storeExclusiveArch: x86_64 aarch64Requires: gtk3Requires: polkitRequires: dnf5Requires: python3Requires: rpm-ostree%descriptionA desktop app for browsing the package catalog of DNF-based systems andinstalling packages transiently (dnf install --transient), so test installsdisappear on reboot. pkg-history lists the system's rpm-ostree deployments.%installmkdir -p %{buildroot}%{_libexecdir}/%{name} %{buildroot}%{_bindir}cp -a %{bundle}/. %{buildroot}%{_libexecdir}/%{name}/# Next to the executable, where the app looks for pkg-history (lib/main.dart).install -m 0755 %{srcdir}/pkg-history %{srcdir}/pkg-apply %{buildroot}%{_libexecdir}/%{name}/ln -s ../libexec/%{name}/dnf_package_store %{buildroot}%{_bindir}/%{name}ln -s ../libexec/%{name}/pkg-history %{buildroot}%{_bindir}/pkg-historymkdir -p %{buildroot}%{_datadir}/applicationscat > %{buildroot}%{_datadir}/applications/com.ironmagma.dnf_package_store.desktop <<'DESKTOP'[Desktop Entry]Type=ApplicationName=DNF Package StoreComment=Browse packages and try them out without keeping themExec=dnf-package-storeIcon=system-software-installCategories=System;PackageManager;StartupWMClass=com.ironmagma.dnf_package_storeDESKTOPdesktop-file-validate %{buildroot}%{_datadir}/applications/com.ironmagma.dnf_package_store.desktop%files%{_libexecdir}/%{name}%{_bindir}/%{name}%{_bindir}/pkg-history%{_datadir}/applications/com.ironmagma.dnf_package_store.desktop