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
|
# Installs in /usr/local/bin
Summary: A wrapper for Pine and GnuPG/PGP2/PGP5/PGP6
Name: pgp4pine
Version: 1.71b
Release: 1
Source0: pgp4pine-%{version}.tgz
Group: Utilities/Test
Copyright: GNU GENERAL PUBLIC LICENSE
URL: http://pgp4pine.flatline.de/pgp4pine/pgp4pine-%{version}.tgz
Vendor: Holger Lamm <holger@e-technik.uni-kl.de>
%description
A filter for Pine to encrypt/sign your Mail with PGP or GPG
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure
make
%install
make install
%files
#binaries
/usr/local/bin/pgp4pine
#docs
/usr/local/doc/pgp4pine/INSTALL.TXT
/usr/local/doc/pgp4pine/README.TXT
/usr/local/doc/pgp4pine/FAQ
/usr/local/doc/pgp4pine/LICENSE
/usr/local/doc/pgp4pine/PGP_MIME
/usr/local/man/man1/pgp4pine.1.gz
/usr/local/doc/pgp4pine/example.pgp4pinerc
%doc README INSTALL
%post
echo "Do not forget to put pgp4pine in your Pine config !"
echo "read /usr/local/doc/pgp4pine/INSTALL.TXT to know how !"
|