1998-09-18 17:24:53 +02:00
|
|
|
#
|
|
|
|
# gnupg -- gnu privacy guard
|
|
|
|
# This is a template. The dist target uses it to create the real file.
|
|
|
|
#
|
1998-12-17 18:36:05 +01:00
|
|
|
%define version @pkg_version@
|
1998-09-18 17:24:53 +02:00
|
|
|
Summary: GPL public key crypto
|
|
|
|
Name: gnupg
|
1998-12-17 18:36:05 +01:00
|
|
|
Version: %{version}
|
|
|
|
Release: 1
|
1998-09-18 17:24:53 +02:00
|
|
|
Copyright: GPL
|
|
|
|
Group: Applications/Cryptography
|
1998-12-17 18:36:05 +01:00
|
|
|
Source: ftp://ftp.gnupg.org/pub/gcrypt/gnupg-%{version}.tar.gz
|
|
|
|
URL: http://www.gnupg.org
|
1998-09-18 17:24:53 +02:00
|
|
|
Provides: gpg openpgp
|
1998-12-17 18:36:05 +01:00
|
|
|
BuildRoot: /tmp/gnupg
|
1998-09-18 17:24:53 +02:00
|
|
|
|
|
|
|
%description
|
1998-12-17 18:36:05 +01:00
|
|
|
GnuPG is a complete and free replacement for PGP. Because it does not use
|
|
|
|
IDEA or RSA it can be used without any restrictions. GnuPG is in
|
|
|
|
compliance with the OpenPGP specification (RFC2440).
|
1998-09-18 17:24:53 +02:00
|
|
|
|
|
|
|
%prep
|
1998-12-17 18:36:05 +01:00
|
|
|
%setup
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
1998-09-18 17:24:53 +02:00
|
|
|
|
|
|
|
%build
|
1998-12-17 18:36:05 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
|
1998-09-18 17:24:53 +02:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
1998-12-17 18:36:05 +01:00
|
|
|
make prefix="${RPM_BUILD_ROOT}/usr" install
|
1998-09-18 17:24:53 +02:00
|
|
|
|
1998-12-17 18:36:05 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
1998-10-12 22:16:38 +02:00
|
|
|
|
1998-12-17 18:36:05 +01:00
|
|
|
%files
|
|
|
|
%attr(-,root,root) %doc doc/DETAILS
|
|
|
|
%attr(-,root,root) %doc INSTALL
|
|
|
|
%attr(-,root,root) %doc AUTHORS
|
|
|
|
%attr(-,root,root) %doc ABOUT-NLS
|
|
|
|
%attr(-,root,root) %doc COPYING
|
|
|
|
%attr(-,root,root) %doc ChangeLog
|
|
|
|
%attr(-,root,root) %doc NEWS
|
|
|
|
%attr(-,root,root) %doc README
|
|
|
|
%attr(-,root,root) %doc THANKS
|
|
|
|
%attr(-,root,root) %doc TODO
|
|
|
|
%attr(-,root,root) /usr/man/man1/gpg.1
|
1998-10-12 22:16:38 +02:00
|
|
|
%attr (4755,root,root) /usr/bin/gpg
|
1998-12-17 18:36:05 +01:00
|
|
|
%attr (755,root,root) /usr/bin/gpgm
|
|
|
|
%attr(-,root,root) /usr/share/locale/en/LC_MESSAGES/gnupg.mo
|
|
|
|
%attr(-,root,root) /usr/share/locale/de/LC_MESSAGES/gnupg.mo
|
|
|
|
%attr(-,root,root) /usr/share/locale/it/LC_MESSAGES/gnupg.mo
|
|
|
|
%attr(-,root,root) /usr/share/locale/fr/LC_MESSAGES/gnupg.mo
|
|
|
|
%attr(-,root,root) /usr/lib/gnupg/tiger
|
|
|
|
%attr(-,root,root) /usr/lib/gnupg/twofish
|
|
|
|
%attr(-,root,root) /usr/share/gnupg/options.skel
|
1998-09-18 17:24:53 +02:00
|
|
|
|