-
-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathkeychain.spec.in
More file actions
48 lines (41 loc) · 1.6 KB
/
keychain.spec.in
File metadata and controls
48 lines (41 loc) · 1.6 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
Name: keychain
Version: KEYCHAIN_VERSION
Release: 1
Summary: SSH and GPG agent manager for secure key management
Packager: Daniel Robbins <drobbins@breezyops.com>
URL: https://github.com/danielrobbins/keychain
Source0: %{name}-%{version}.tar.bz2
License: GPL v2
Group: Applications/Internet
BuildArch: noarch
Requires: /bin/sh coreutils
Recommends: bash-completion
Prefix: /usr/bin
BuildRoot: %{_tmppath}/%{name}-root
%description
Keychain is a manager for OpenSSH and GnuPG agents. It acts as a front-end
to ssh-agent and gpg-agent, allowing you to easily have one long-running
agent process per system, rather than per login session. This dramatically
reduces the number of times you need to enter your passphrase from once per
new login session to once every time your local machine is rebooted.
Keychain also makes it easy for remote cron jobs to securely hook into a
long-running ssh-agent process, and integrates with gpg-agent for unified
key management.
%prep
%setup -q
%build
%install
[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions
install -m0755 keychain $RPM_BUILD_ROOT/%{_bindir}/keychain
install -m0644 keychain.1 $RPM_BUILD_ROOT/%{_mandir}/man1
install -m0644 completions/keychain.bash $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions/keychain
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%doc %{_mandir}/*/*
%doc ChangeLog COPYING.txt keychain.pod README.md
%{_datadir}/bash-completion/completions/keychain