Package password-store: Specfile
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | # SPEC file for password-store package Name: password-store Version: 1.7.1 Release: alt2 Summary: a simple password manager using standard Unix tools Summary(ru_RU.UTF-8): простой и использующий стандартные средства менеджер паролей License: %gpl2plus Group: Text tools URL: https://www.passwordstore.org/ #URL: http://zx2c4.com/projects/password-store/ #URL: http://git.zx2c4.com/password-store/ BuildArch: noarch Packager: Nikolay A. Fetisov <naf@altlinux.org> Source0: %name-%version.tar Patch0: %name-%version-%release.patch Patch1: %name-alt-1.6.5-shebang.patch Patch2: %name-alt-1.7-dirtree.patch Patch3: %name-alt-1.7.1-completion.patch BuildRequires(pre): rpm-build-licenses rpm-build-vim # Automatically added by buildreq on Wed Jan 25 2017 # optimized out: libgpg-error python-base python-modules python3 tzdata BuildRequires: dirtree git-core gnupg gnupg2 pwgen Requires: gnupg2 /usr/bin/qdbus %description A simple console password manager that follows Unix philosophy. With pass, each password lives inside of a GnuPG encrypted text file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities. Multiple GPG keys can be specified, for using pass in a team setting, and different folders can have different GPG keys. Password changes can be tracked using git. %description -l ru_RU.UTF-8 Простой консольный менеджер паролей, следующий философии Unix. Пароли сохраняются внутри защищенных с использованием GnuPG текстовых файлов с именами, соответствующими названиям веб-сайтов или ресурсов. Файлы с паролями могут быть организованы в произвольной иерархии каталогов, копироваться с компьютера на компютер, и, в общем случае, обрабатываться стандартными утилитами. Поддерживается использование нескольких ключей GPG для случая использования pass в совместной работе, разные каталоги могут иметь разные наборы ключей GPG. Все изменения паролей могут отслеживаться в репозитории Git. %prep %setup -q %patch0 -p1 %patch1 %patch2 %patch3 mv -f -- COPYING COPYING.orig ln -s -- $(relative %_licensedir/GPL-2 %_docdir/%name/COPYING) COPYING %build # This can't be run inside hasher - some problems with /dev/urandom (?) %ifdef __BTE rm -f tests/t0010-generate-tests.sh rm -f tests/t0020-show-tests.sh rm -f tests/t0300-reencryption.sh rm -f tests/t0400-grep.sh rm -f tests/t0060-rm-tests.sh rm -f tests/t0200-edit-tests.sh rm -f tests/t0500-find.sh %endif LC_ALL=C %make test %install %make_install DESTDIR=%buildroot FORCE_ALL=1 WITH_ALLCOMP=yes install install -dp %buildroot%_sysconfdir/bash_completion.d/ mv -f -- %buildroot%_datadir/bash-completion/completions/pass %buildroot%_sysconfdir/bash_completion.d/pass chmod 644 -- contrib/importers/* install -dp %buildroot%vim_plugin_dir mv -f -- contrib/vim/noplaintext.vim %buildroot%vim_plugin_dir/password-store.vim rmdir -- contrib/vim/ %files %doc README contrib %doc --no-dereference COPYING %_bindir/pass %_man1dir/pass.* %_sysconfdir/bash_completion.d/pass %vim_plugin_dir/password-store.vim %exclude %_datadir/fish* %exclude %_datadir/zsh* %changelog * Mon Sep 25 2017 Nikolay A. Fetisov <naf@altlinux.org> 1.7.1-alt2 - Fix Bash completion code * Sat Jul 15 2017 Nikolay A. Fetisov <naf@altlinux.org> 1.7.1-alt1 - New version * Thu Jan 26 2017 Nikolay A. Fetisov <naf@altlinux.org> 1.6.5-alt1 - Initial build for ALT Linux Sisyphus |