Name: cockpit-composer Version: 53 Release: 1%{?dist} Summary: Composer GUI for use with Cockpit License: MIT URL: http://weldr.io/ Source0: cockpit-composer-53.tar.gz BuildArch: noarch BuildRequires: libappstream-glib Requires: cockpit %if 0%{?fedora} >= 33 || 0%{?rhel} >= 8 Requires: osbuild-composer >= 28 %else Requires: weldr Suggests: osbuild-composer >= 28 %endif %description Composer generates custom images suitable for deploying systems or uploading to the cloud. It integrates into Cockpit as a frontend for osbuild. %prep %setup -q -n cockpit-composer %build # Nothing to build %install mkdir -p %{buildroot}/%{_datadir}/cockpit/composer cp -a public/* %{buildroot}/%{_datadir}/cockpit/composer mkdir -p %{buildroot}/%{_datadir}/metainfo/ appstream-util validate-relax --nonet public/org.image-builder.cockpit-composer.metainfo.xml cp -a public/org.image-builder.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/ %files %doc README.md %license LICENSE.txt %{_datadir}/cockpit/composer %{_datadir}/metainfo/* %changelog