diff --git a/Makefile b/Makefile index f2ccba1..5321416 100644 --- a/Makefile +++ b/Makefile @@ -96,12 +96,14 @@ dist-gzip: all cockpit-$(PACKAGE_NAME).spec mv node_modules.release node_modules srpm: dist-gzip cockpit-$(PACKAGE_NAME).spec + appstream-util validate-relax --nonet *.metainfo.xml rpmbuild -bs \ --define "_sourcedir `pwd`" \ --define "_srcrpmdir `pwd`" \ cockpit-$(PACKAGE_NAME).spec rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec + appstream-util validate-relax --nonet ./*.metainfo.xml mkdir -p "`pwd`/output" mkdir -p "`pwd`/rpmbuild" rpmbuild -bb \ diff --git a/cockpit-starter-kit.spec.in b/cockpit-starter-kit.spec.in new file mode 100644 index 0000000..e5c4b9d --- /dev/null +++ b/cockpit-starter-kit.spec.in @@ -0,0 +1,27 @@ +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: libappstream-glib + +%define debug_package %{nil} + +%description +Cockpit Starter Kit Example Module + +%prep +%setup -n cockpit-starter-kit + +%install +%make_install + +%files +%{_datadir}/cockpit/* +%{_datadir}/metainfo/* + +%changelog