Name: cockpit-starter-kit Version: %{VERSION} Release: 1%{?dist} Summary: Cockpit Starter Kit Example Module License: LGPLv2+ Source: cockpit-starter-kit-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: libappstream-glib Requires: cockpit-system %define debug_package %{nil} %description Cockpit Starter Kit Example Module %prep %setup -n cockpit-starter-kit %install %make_install appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose %files %doc README.md %license LICENSE dist/index.js.LICENSE.txt %{_datadir}/cockpit/* %{_datadir}/metainfo/* %changelog