Name: cockpit-composer Version: 43 Release: 2%{?dist} Summary: Composer GUI for use with Cockpit License: MIT URL: http://weldr.io/ Source0: https://github.com/osbuild/cockpit-composer/releases/download/%{version}/cockpit-composer-%{version}.tar.gz BuildArch: noarch 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/ cp -a public/io.weldr.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/ %files %doc README.md %license LICENSE.txt %{_datadir}/cockpit/composer %{_datadir}/metainfo/* %changelog