]> git.pld-linux.org Git - SPECS.git/blob - gpg4pine.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / gpg4pine.spec
1 Summary:        A pine--gpg/pgp interface
2 Summary(de.UTF-8):      Ein Interface zwischen pine und gpg/pgp
3 Summary(pl.UTF-8):      Interfejs pine--gpg/pgp
4 Name:           gpg4pine
5 Version:        4.2
6 Release:        1
7 License:        Free (see README)
8 Group:          Applications/File
9 Source0:        %{name}-%{version}.tar.gz
10 # Source0-md5:  565f0ee115275419eb40a7fa8e791789
11 Patch0:         %{name}-rpm.patch
12 URL:            http://azzie.robotics.net/
13 Requires:       fileutils
14 Requires:       textutils
15 Requires:       sh-utils
16 Requires:       grep
17 Requires:       gnupg
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 BuildArch:      noarch
20
21 %description
22 gpg4pine is a program that lets you send messages signed or encrypted
23 via an OpenPGP backend (GnuPG or PGP) with your favorite mailer (that
24 is, pine).
25
26 %description -l de.UTF-8
27 gpg4pine ist ein Frontend für OpenPGP-Programme (GnuPG oder PGP), der
28 erlaubt untergeschriebene oder verschlüsselte Nachrichte mit deinem
29 Lieblingsmailer (pine) zu schicken.
30
31 %description -l pl.UTF-8
32 gpg4pine jest programem pozwalającym na wysyłanie wiadomości
33 podpisanych lub zaszyfrowanych przez program OpenPGP (GnuPG lub PGP)
34 przy użyciu twojego ulubionego programu pocztowego (czytaj: pine'a).
35
36 %prep
37 %setup -q
38 tar xf %{name}-%{version}.tar -C ..
39 mv -f README README.orig
40 cat README.orig|sed '/^CONFIGURATION$/p'|sed \
41         '/^INSTALLATION$/,/^CONFIGURATION$/d'>README
42 %patch0 -p1
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/gpg4pine,%{_mandir}/man1}
47
48 %{__make} install \
49         BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
50         MAN_DIR=$RPM_BUILD_ROOT%{_mandir}
51
52 install gpg4pinerc $RPM_BUILD_ROOT%{_sysconfdir}/gpg4pine.defaults
53 cp -a language $RPM_BUILD_ROOT%{_datadir}/gpg4pine/language
54 touch $RPM_BUILD_ROOT%{_sysconfdir}/gpg4pine.override
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README AUTHORS NEWS LICENSE aliases
62 %doc pgp-patches
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/gpg4pine
65 %config %{_sysconfdir}/*
66 %{_mandir}/*/*
This page took 0.817561 seconds and 3 git commands to generate.