-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkestrel.spec
More file actions
54 lines (43 loc) · 1.53 KB
/
Copy pathkestrel.spec
File metadata and controls
54 lines (43 loc) · 1.53 KB
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
# Need to tell rpmbuild not to expect a debug binary
%global _enable_debug_package 0
%global debug_package %{nil}
%ifarch x86_64
%define bin_arch amd64
%endif
%ifarch aarch64
%define bin_arch arm64
%endif
%define alt_ver 1.0.3
Name: kestrel
Version: 1.0.3
Release: 1
Summary: File encryption done right
License: BSD-3-Clause
URL: https://getkestrel.com
Source0: %{name}-linux-v%{alt_ver}-%{bin_arch}.tar.gz
# libc6 deps are picked up automatically by rpmbuild analyzing the binary
%description
Kestrel is a file encryption utility that lets you encrypt files to anyone
with a public key.
%prep
%autosetup -n %{name}-linux-v%{alt_ver}-%{bin_arch}
%build
gzip -k man/kestrel.1
%install
install -D -p -m=755 kestrel %{buildroot}%{_bindir}/kestrel
install -D -p -m=644 man/kestrel.1.gz %{buildroot}%{_mandir}/man1/kestrel.1.gz
install -D -p -m=644 LICENSE.txt %{buildroot}%{_docdir}/kestrel/LICENSE.txt
install -D -p -m=644 THIRD-PARTY-LICENSE.txt %{buildroot}%{_docdir}/kestrel/THIRD-PARTY-LICENSE.txt
install -D -p -m=644 completion/kestrel.bash-completion %{buildroot}%{_datadir}/bash-completion/completions/kestrel
%files
# Make sure we know about the kestrel doc folder so we can delete it
%dir %{_docdir}/kestrel
%{_bindir}/%{name}
%{_mandir}/man1/kestrel.1.gz
%{_docdir}/kestrel/LICENSE.txt
%{_docdir}/kestrel/THIRD-PARTY-LICENSE.txt
%{_datadir}/bash-completion/completions/kestrel
%changelog
* Sun Jul 07 2024 Kyle Schreiber <kyle@80x24.net> - 1.0.2-1
- Fall back to using stdin if a tty cannot be opened.
- Upgrade the underlying curve25519 dependency