Name: vrms-rpm Version: 1.2 Release: 2%{?dist} Summary: Report non-free software BuildArch: noarch BuildRequires: gettext Requires: bash, grep, gettext License: GPLv3 %global githubowner suve %global gittag0 release-%{version} URL: https://github.com/%{githubowner}/%{name} Source0: %{url}/archive/%{gittag0}.tar.gz#/%{name}-%{gittag0}.tar.gz %description vrms-rpm ("virtual Richard M. Stallman") reports non-free packages installed on the system. %prep %autosetup -n %{name}-%{gittag0} %build make build PREFIX=%{_prefix} %{?_smp_mflags} %install make install PREFIX=%{buildroot}%{_prefix} %{?_smp_mflags} %find_lang %{name} --with-man %files -f %{name}.lang %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/suve/ %license LICENCE.txt %changelog * Sat Jun 03 2017 suve 1.2-2 - Use "_prefix" macro instead of bare string "/usr" during build & install - Remove curly braces from "find_lang" macro call - Adjust URL (remove trailing slash) and Source0 * Thu Jun 01 2017 suve 1.2-1 - New upstream version - gettext added as depencency - Install section now relies on upstream's Makefile * Sat May 20 2017 suve 1.1-3 - Use "{?dist}" instead of "{dist}" in release number * Sat Apr 15 2017 suve 1.1-2 - Use the -p option (preserve timestamps) with install * Fri Apr 07 2017 suve 1.1-1 - Change version number to match upstream * Fri Apr 07 2017 suve 1.0-5 - Use URL variable when defining Source0 - Use #/ in Source0 to request a better archive name from GitHub * Thu Mar 23 2017 suve 1.0-4 - Add grep as a dependency * Wed Mar 22 2017 suve 1.0-3 - Use the GitHub archive link for Source0 - Do not use the _builddir variable during install section - Use wildcard for the manpage in files section - Include licence in files section - Add bash as a dependency * Sun Mar 19 2017 suve 1.0-2 - Initial packaging