-
Notifications
You must be signed in to change notification settings - Fork 0
/
paperkey.spec
48 lines (40 loc) · 1.41 KB
/
paperkey.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
Name: paperkey
Version: 1.5
Release: 1
Summary: An OpenPGP key archiver
Group: Applications/Archiving
License: GPLv2+
URL: http://www.jabberwocky.com/software/paperkey/
Source0: http://www.jabberwocky.com/software/%{name}/%{name}-%{version}.tar.gz
Source1: http://www.jabberwocky.com/software/%{name}/%{name}-%{version}.tar.gz.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
A reasonable way to achieve a long term backup of OpenPGP (PGP, GnuPG,
etc) keys is to print them out on paper. Paper and ink have amazingly
long retention qualities - far longer than the magnetic or optical
means that are generally used to back up computer data. A paper
backup isn't a replacement for the usual machine readable (tape, CD-R,
DVD-R, etc) backups, but rather as an if-all-else-fails method of
restoring a key.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags} check
%install
rm -rf "$RPM_BUILD_ROOT"
make install DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%{!?_licensedir:%global license %doc}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README NEWS
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Mon Sep 5 2016 David Shaw <dshaw@jabberwocky.com>
- Use %license for the COPYING file and run the self checks during build.
* Fri Jan 16 2009 David Shaw <dshaw@jabberwocky.com>
- Borrow some RPM-fu from the Fedora RPM.