forked from suve/vrms-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vrms-rpm.spec
83 lines (62 loc) · 2.3 KB
/
vrms-rpm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Name: vrms-rpm
Version: 2.1
Release: 1%{?dist}
Summary: Report non-free software
License: GPLv3
BuildRequires: gcc
BuildRequires: gettext-devel
%global githubowner suve
%global gittag0 release-%{version}
URL: https://github.com/%{githubowner}/%{name}
Source0: %{url}/archive/%{gittag0}/%{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} DEFAULT_LICENCE_LIST=tweaked %{?_smp_mflags}
%install
%make_install PREFIX=%{_prefix}
%find_lang %{name} --with-man
%files -f %{name}.lang
%{_bindir}/%{name}
%{_sysconfdir}/bash_completion.d/%{name}
%{_mandir}/man1/%{name}*
%{_datadir}/suve/
%license LICENCE.txt IMAGE-CREDITS.txt
%changelog
* Sat Jul 27 2019 suve <veg@svgames.pl> 2.1-1
- Update to latest upstream release
* Tue Nov 20 2018 suve <veg@svgames.pl> 2.0-1
- Update to new upstream version
- No longer a noarch package
* Tue Nov 07 2017 suve <veg@svgames.pl> 1.3-1
- New upstream version
* Tue Nov 07 2017 suve <veg@svgames.pl> 1.2-2
- Use "_prefix" macro instead of bare string "/usr" during build & install
- Remove curly braces from "find_lang" macro call
- Use tag/name-tag.tar.gz as Source0 instead of tag.tar.gz#/name-tag.tar.gz
* Thu Jun 01 2017 suve <veg@svgames.pl> 1.2-1
- New upstream version
- gettext added as depencency
- Install section now relies on upstream's Makefile
* Sat May 20 2017 suve <veg@svgames.pl> 1.1-3
- Use "{?dist}" instead of "{dist}" in release number
* Sat Apr 15 2017 suve <veg@svgames.pl> 1.1-2
- Use the -p option (preserve timestamps) with install
* Fri Apr 07 2017 suve <veg@svgames.pl> 1.1-1
- Change version number to match upstream
* Fri Apr 07 2017 suve <veg@svgames.pl> 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 <veg@svgames.pl> 1.0-4
- Add grep as a dependency
* Wed Mar 22 2017 suve <veg@svgames.pl> 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 <veg@svgames.pl> 1.0-2
- Initial packaging