# This spec file has been automatically updated Version: 14 Release: 1%{?dist} Name: cockpit-composer Summary: Composer GUI for use with Cockpit License: MIT URL: http://weldr.io/ Source0: https://github.com/weldr/cockpit-composer/releases/download/%{version}/cockpit-composer-%{version}.tar.gz BuildArch: noarch BuildRequires: libappstream-glib Requires: cockpit Requires: lorax-composer %description Composer generates custom images suitable for deploying systems or uploading to the cloud. It integrates into Cockpit as a frontend for Lorax Composer. %prep %setup -q -n cockpit-composer-%{version} %build # Nothing to build %install mkdir -p %{buildroot}/%{_datadir}/cockpit/composer cp -a public/dist/* %{buildroot}/%{_datadir}/cockpit/composer mkdir -p %{buildroot}/%{_datadir}/metainfo/ appstream-util validate-relax --nonet io.weldr.cockpit-composer.metainfo.xml cp -a io.weldr.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/ %files %doc README.md %license LICENSE.txt %{_datadir}/cockpit/composer %{_datadir}/metainfo/* %changelog * Wed Mar 18 2020 Jacob Kozol - 14-1 - Test against lorax-composer explicitly - Update NPM dependencies