summaryrefslogtreecommitdiffstats
path: root/scripts/gnupg.spec
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-12-23 13:41:40 +0100
committerWerner Koch <wk@gnupg.org>1998-12-23 13:41:40 +0100
commit750d74333ce5b3ec8ff37d45b64fd0603e043051 (patch)
treeb6ccec469294334b2510d7bb15ac102b409619b8 /scripts/gnupg.spec
parentSee ChangeLog: Thu Dec 17 18:31:15 CET 1998 Werner Koch (diff)
downloadgnupg2-750d74333ce5b3ec8ff37d45b64fd0603e043051.tar.xz
gnupg2-750d74333ce5b3ec8ff37d45b64fd0603e043051.zip
See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner Koch
Diffstat (limited to 'scripts/gnupg.spec')
-rw-r--r--scripts/gnupg.spec86
1 files changed, 56 insertions, 30 deletions
diff --git a/scripts/gnupg.spec b/scripts/gnupg.spec
index e2961e50f..34a8c2005 100644
--- a/scripts/gnupg.spec
+++ b/scripts/gnupg.spec
@@ -3,56 +3,82 @@
# This is a template. The dist target uses it to create the real file.
#
%define version @pkg_version@
+%define name gnupg
Summary: GPL public key crypto
-Name: gnupg
+Name: %{name}
Version: %{version}
Release: 1
Copyright: GPL
Group: Applications/Cryptography
-Source: ftp://ftp.gnupg.org/pub/gcrypt/gnupg-%{version}.tar.gz
+Source: ftp://ftp.gnupg.org/pub/gcrypt/%{name}-%{version}.tar.gz
URL: http://www.gnupg.org
Provides: gpg openpgp
-BuildRoot: /tmp/gnupg
+BuildRoot: /tmp/rpmbuild_%{name}
+
+%changelog
+* Sat Dec 19 1998 Fabio Coatti <cova@felix.unife.it>
+- Modified the spec file provided by Caskey L. Dickson <caskey-at-technocage.com>
+- Now it can be built also by non-root. Installation has to be done as
+root, gpg is suid.
+- Added some changes by Ross Golder <rossigee@bigfoot.com>
+- Updates for version 0.4.5 of GnuPG (.mo files)
%description
-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
+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).
-%prep
-%setup
+%description -l it
+GnuPG è un sostituto completo e gratuito per il PGP. Non utilizzando
+IDEA o RSA può essere utilizzato senza restrizioni. GnuPG è conforme
+alle specifiche OpenPGP (RFC2440).
+%prep
rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+
+%setup
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
-make prefix="${RPM_BUILD_ROOT}/usr" install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install-strip prefix=$RPM_BUILD_ROOT/usr
+rm $RPM_BUILD_ROOT/usr/man/man1/gpgm.1
+cd $RPM_BUILD_ROOT/usr/man/man1/
+ln -s gpg.1 gpgm.1
%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
+
+%doc %attr (-,root,root) INSTALL
+%doc %attr (-,root,root) AUTHORS
+%doc %attr (-,root,root) COPYING
+%doc %attr (-,root,root) ChangeLog
+%doc %attr (-,root,root) NEWS
+%doc %attr (-,root,root) README
+%doc %attr (-,root,root) THANKS
+%doc %attr (-,root,root) TODO
+%doc %attr (-,root,root) doc/DETAILS
+%doc %attr (-,root,root) doc/FAQ
+%doc %attr (-,root,root) doc/HACKING
+%doc %attr (-,root,root) doc/OpenPGP
+
+%attr (-,root,root) /usr/man/man1/gpg.1
+%attr (-,root,root) /usr/man/man1/gpgm.1
%attr (4755,root,root) /usr/bin/gpg
%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
+#%attr (-,root,root) /usr/share/locale/en/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/de/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/it/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/fr/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/ru/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/es_ES/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/share/locale/pt_BR/LC_MESSAGES/%{name}.mo
+%attr (-,root,root) /usr/lib/%{name}
+%attr (-,root,root) /usr/share/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}