]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-gnupg.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / vim-plugin-gnupg.spec
1 Summary:        Transparent editing of GPG public/private-key encrypted files
2 Summary(pl.UTF-8):      Przezroczysta edycja plików szyfrowaych kluczami publicznymi/prywatnymi GPG
3 Name:           vim-plugin-gnupg
4 Version:        1.27
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors/Vim
8 Source0:        gnupg.vim
9 # Source0-md5:  b7d56cdb65183bb12fac04316a244297
10 URL:            http://vim.sourceforge.net/scripts/script.php?script_id=661
11 # for _vimdatadir existence
12 Requires:       vim-rt >= 4:6.3.058-3
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _vimdatadir     %{_datadir}/vim/vimfiles
17
18 %description
19 This script implements transparent editing of GPG public/private-key
20 encrypted files. The filename must have a ".gpg" suffix. When opening
21 such a file the content is decrypted, when opening a new file the
22 script will ask for the recipients of the encrypted file. The file
23 content will be encrypted to all recipients before it is written. The
24 script turns off viminfo and swapfile to increase security.
25
26 %description -l pl.UTF-8
27 Ten skrypt implementuje przezroczystą edycję plików szyfrowanych
28 kluczami publicznymi/prywatnymi GPG. Nazwa pliku musi mieć przyrostek
29 ".gpg". Przy otwieraniu takiego pliku zawartość jest odszyfrowywana,
30 natomiast przy tworzeniu nowego pliku skrypt pyta o adresatów
31 zaszyfrowanego pliku. Przed zapisem zawartość pliku zostaje
32 zaszyfrowana dla wszystkich adresatów. Aby zwiększyć bezpieczeństwo
33 skrypt wyłącza viminfo i swapfile.
34
35 %prep
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 install -d $RPM_BUILD_ROOT%{_vimdatadir}/plugin
41 cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/plugin
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %{_vimdatadir}/plugin/*
This page took 0.19761 seconds and 3 git commands to generate.