1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/scripts/gnupg.spec

85 lines
2.6 KiB
RPMSpec
Raw Normal View History

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.
#
%define version @pkg_version@
%define name gnupg
1998-09-18 17:24:53 +02:00
Summary: GPL public key crypto
Name: %{name}
Version: %{version}
Release: 1
1998-09-18 17:24:53 +02:00
Copyright: GPL
Group: Applications/Cryptography
Source: ftp://ftp.gnupg.org/pub/gcrypt/%{name}-%{version}.tar.gz
URL: http://www.gnupg.org
1998-09-18 17:24:53 +02:00
Provides: gpg openpgp
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)
1998-09-18 17:24:53 +02:00
%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
compliance with the OpenPGP specification (RFC2440).
1998-09-18 17:24:53 +02:00
%description -l it
GnuPG <EFBFBD> un sostituto completo e gratuito per il PGP. Non utilizzando
IDEA o RSA pu<EFBFBD> essere utilizzato senza restrizioni. GnuPG <EFBFBD> conforme
alle specifiche OpenPGP (RFC2440).
%prep
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%setup
1998-09-18 17:24:53 +02:00
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
1998-09-18 17:24:53 +02:00
make
%install
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
1998-10-12 22:16:38 +02:00
%files
%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
1998-10-12 22:16:38 +02:00
%attr (4755,root,root) /usr/bin/gpg
%attr (755,root,root) /usr/bin/gpgm
#%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
1998-09-18 17:24:53 +02:00
%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}