starter-kit/cockpit-starter-kit.spec.in
Martin Pitt f26741e269 Add git tag derived version to tarball and spec
Stop hardcoding the version in the spec file, and put the version into
dist tarballs.

Closes #27
2018-06-22 20:07:29 +02:00

26 lines
452 B
RPMSpec

Name: cockpit-starter-kit
Version: @VERSION@
Release: 0
Summary: Cockpit Starter Kit Example Module
License: LGPLv2.1+
Source: cockpit-starter-kit-%{version}.tar.gz
BuildArch: noarch
%define debug_package %{nil}
%description
Cockpit Starter Kit Example Module
%prep
%setup -n cockpit-starter-kit
%build
make
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -type f >> files.list
sed -i "s|%{buildroot}||" *.list
%files -f files.list