generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsign.spec
63 lines (54 loc) · 1.55 KB
/
sign.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
Name: sign
Version: 0.4
Release: 1%{?_rel}
Summary: Dev signing tools
BuildArch: noarch
Packager: Eric Snowberg <[email protected]>
License: GPLv2+
Source0: %{name}-%{version}.tar.gz
Requires: pesign
Requires: efivar
Requires: glibc-common
Requires: mokutil
Requires: nss-tools
Requires: binutils
Requires: gawk
Requires: coreutils
Requires: kernel-headers
Requires: ima-evm-utils
Requires: openssl
Requires: kernel-devel
Requires: tar
%description
Signing Tools for Developers.
%prep
%autosetup
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/etc/sign
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
install -m 755 sign $RPM_BUILD_ROOT/usr/bin
install -m 644 sign.conf $RPM_BUILD_ROOT/etc/sign
install -m 644 sign.1.gz $RPM_BUILD_ROOT/usr/share/man/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/bin/sign
/etc/sign/sign.conf
/usr/share/man/man1/sign.1.gz
%license LICENSE.txt
%changelog
* Thu Dec 12 2024 Eric Snowberg <[email protected]> - 0.4
- Fix init-setup problem that originated from shellcheck change
* Tue Nov 26 2024 Eric Snowberg <[email protected]> - 0.3
- Add tar dependency
* Wed Sep 4 2024 Eric Snowberg <[email protected]>
- Add license info
* Wed Mar 20 2024 Eric Snowberg <[email protected]>
- Add man page
* Fri Feb 23 2024 Eric Snowberg <[email protected]>
- Add kernel-devel as a prereq
- IMA fix to be compatible with newer upstream kernels
* Thu Oct 5 2023 Eric Snowberg <[email protected]>
- Initial checkin