You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pass/pass.spec

71 lines
2.3 KiB

Name: pass
Summary: A password manager using standard Unix tools
Version: 1.5
Release: 2%{?dist}
License: GPLv2+
Url: http://zx2c4.com/projects/password-store/
BuildArch: noarch
Source: http://git.zx2c4.com/password-store/snapshot/password-store-%{version}.tar.xz
Patch1: 0001-Install-bash-completion-file-to-the-right-place.patch
Patch2: 0002-bash-completion-fix-completion-file-s-name-in-uninst.patch
Requires: git
Requires: gnupg2
Requires: pwgen
Requires: tree
Requires: xclip
%description
Stores, retrieves, generates, and synchronizes passwords securely using gpg,
pwgen, and git.
%prep
%setup -q -n password-store-%{version}
%patch1 -p1
%patch2 -p1
%install
make DESTDIR=%{buildroot} PREFIX=%{_prefix} \
BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \
MANDIR=%{_mandir} \
install
install -d %{buildroot}%{_datadir}/zsh/site-functions/
install -m 0644 src/completion/pass.zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_pass
install -d %{buildroot}%{_datadir}/fish/completions/
install -m 0644 src/completion/pass.fish-completion %{buildroot}%{_datadir}/fish/completions/pass.fish
%files
%doc README COPYING contrib
%{_bindir}/pass
%{_datadir}/bash-completion/completions/pass
%{_datadir}/fish/completions/pass.fish
%{_datadir}/zsh/site-functions/_pass
%doc %{_mandir}/man1/*
%changelog
* Wed Apr 23 2014 Christophe Fergeau <cfergeau@redhat.com> 1.5-2
- Fix location of bash completion files
* Thu Apr 17 2014 Christophe Fergeau <cfergeau@redhat.com> - 1.5-1
- Update to 1.5.0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Sep 30 2012 Christophe Fergeau <cfergeau@redhat.com> - 1.4.1-1
- Update to 1.4.1
- Fix gnupg dependency (pass needs gnupg2)
13 years ago
* Mon Sep 24 2012 Christophe Fergeau <cfergeau@redhat.com> - 1.4-1
- Update to 1.4
* Tue Sep 11 2012 Christophe Fergeau <cfergeau@redhat.com> - 1.2.0-1
- Update to 1.2 release
* Thu Sep 06 2012 Christophe Fergeau <cfergeau@redhat.com> - 1.1.4-1
- Initial import