# 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: layer-wizardVersion: %{version_}Release: %{release_}%{?dist}Summary: Layer an RPM onto a bootc system, with a guided reboot and rollbackLicense: LicenseRef-Not-SpecifiedURL: https://forge.in.quineglobal.com/quine-global-labs/layer-wizardExclusiveArch: x86_64 aarch64Requires: gtk3Requires: polkitRequires: rpm-ostreeRequires: bootcRequires: sqlite-libs%descriptionA GUI wizard for permanently layering an RPM package onto an image-based(bootc) system with rpm-ostree install, then rebooting into it and offering aone-click rollback if the result looks wrong.%installmkdir -p %{buildroot}%{_libexecdir}/%{name} %{buildroot}%{_bindir}cp -a %{bundle}/. %{buildroot}%{_libexecdir}/%{name}/ln -s ../libexec/%{name}/layer_wizard %{buildroot}%{_bindir}/%{name}mkdir -p %{buildroot}%{_datadir}/applicationscat > %{buildroot}%{_datadir}/applications/com.ironmagma.layer_wizard.desktop <<'DESKTOP'[Desktop Entry]Type=ApplicationName=Layer WizardComment=Permanently add a package to the system, with rollbackExec=layer-wizardIcon=system-software-installCategories=System;PackageManager;StartupWMClass=com.ironmagma.layer_wizardDESKTOPdesktop-file-validate %{buildroot}%{_datadir}/applications/com.ironmagma.layer_wizard.desktop%files%{_libexecdir}/%{name}%{_bindir}/%{name}%{_datadir}/applications/com.ironmagma.layer_wizard.desktop