File vrms-rpm.spec of Package vrms-rpm

Name:          vrms-rpm
Version:       2.2
Release:       0
Summary:       Report non-free software
License:       GPL-3.0-or-later
Group:         System/Packages

BuildRequires: gcc
BuildRequires: gettext-devel

%global githubowner suve
%global gittag0 release-%{version}
URL:           https://github.com/%{githubowner}/%{name}
Source0:       release-%{version}.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} DEFAULT_LICENCE_LIST=tweaked %{?_smp_mflags}

%install
%make_install PREFIX=%{_prefix}
%find_lang %{name} --with-man

%files -f %{name}.lang
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
/usr/share/man/id
/usr/share/man/id/man1
/usr/share/man/tr
/usr/share/man/tr/man1
/usr/share/man/uk
/usr/share/man/uk/man1
%{_datadir}/suve/
%{_datadir}/bash-completion/completions/%{name}
%license LICENCE.txt

%changelog