-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
vrms-rpm.spec
100 lines (75 loc) · 2.62 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Name: vrms-rpm
Summary: Report non-free software
License: GPL-3.0-only
Version: 2.3
Release: 1%{?dist}
BuildRequires: gcc
BuildRequires: gettext-devel
BuildRequires: libcmocka-devel
BuildRequires: make
BuildRequires: rpm-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 all %{?_smp_mflags} \
DEFAULT_GRAMMAR=loose \
DEFAULT_LICENCE_LIST=tweaked \
PREFIX=%{_prefix}
%check
make test
%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
* Sun Aug 20 2023 suve <[email protected]> - 2.3-1
- Update to latest upstream release
- Migrate license tag to SPDX
* Fri Jul 24 2020 suve <[email protected]> - 2.2-1
- Update to latest upstream release
* Sat Jul 27 2019 suve <[email protected]> 2.1-1
- Update to latest upstream release
* Tue Nov 20 2018 suve <[email protected]> 2.0-1
- Update to new upstream version
- No longer a noarch package
* Tue Nov 07 2017 suve <[email protected]> 1.3-1
- New upstream version
* Tue Nov 07 2017 suve <[email protected]> 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 <[email protected]> 1.2-1
- New upstream version
- gettext added as depencency
- Install section now relies on upstream's Makefile
* Sat May 20 2017 suve <[email protected]> 1.1-3
- Use "{?dist}" instead of "{dist}" in release number
* Sat Apr 15 2017 suve <[email protected]> 1.1-2
- Use the -p option (preserve timestamps) with install
* Fri Apr 07 2017 suve <[email protected]> 1.1-1
- Change version number to match upstream
* Fri Apr 07 2017 suve <[email protected]> 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 <[email protected]> 1.0-4
- Add grep as a dependency
* Wed Mar 22 2017 suve <[email protected]> 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 <[email protected]> 1.0-2
- Initial packaging