New RPM spec file for 1.2.3
David Shaw
dshaw@jabberwocky.com
Thu Jul 31 16:35:05 2003
--x0KprKst+ZOYEj2z
Content-Type: multipart/mixed; boundary="X+nYw8KZ/oNxZ8JS"
Content-Disposition: inline
--X+nYw8KZ/oNxZ8JS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I've gotten a few reports that the RPM spec file included in 1.2.3rc2
doesn't work properly with RPM 4.1 (which is the standard version in
RedHat 9).
Here is a new spec file, that will probably go into 1.2.3 when it is
released. As always, testing and comments appreciated.
David
--X+nYw8KZ/oNxZ8JS
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="gnupg.spec"
Content-Transfer-Encoding: quoted-printable
#
# gnupg -- gnu privacy guard
# This is a template. The dist target uses it to create the real file.
#
%define version 1.2.3rc2
#@pkg_version@
%define name gnupg
Summary: GNU Utility for data encryption and digital signatures
Summary(it): Utility GNU per la sicurezza nelle comunicazioni e nell'archiv=
iazione dei dati.
Summary(cs): GNU n=C3=A1stroj pro =C2=B9ifrovanou komunikaci a bezpe=C3=A8n=
=C3=A9 ukl=C3=A1d=C3=A1n=C3=AD dat
Summary(fr): Utilitaire GNU de chiffrement et d'authentification des commun=
ications et des donn=C3=A9es
Summary(pl): Narzedzie GNU do szyfrowania i podpisywania danych
Vendor: GNU Privacy Guard Project
Name: %{name}
Version: %{version}
Release: 1
Copyright: GPL
Group: Applications/Cryptography
Group(cs): Aplikace/=C2=A9ifrov=C3=A1n=C3=AD
Group(fr): Applications/Cryptographie
Group(it): Applicazioni/Crittografia
Source: ftp://ftp.gnupg.org/gcrypt/gnupg/%{name}-%{version}.tar.gz
URL: http://www.gnupg.org/
Provides: gpg openpgp
Requires(post,preun): /sbin/install-info
BuildRoot: %{_tmppath}/rpmbuild_%{name}-%{version}
%changelog
* Wed Jul 30 2003 David Shaw <dshaw@jabberwocky.com>
- Rework much of the spec to use %-macros throughout.
- Fix to work properly with RPM 4.1.
- Tweak the English description.
- There is no need to install gpgv and gpgsplit setuid root.
* Sat Nov 30 2002 David Shaw <dshaw@jabberwocky.com>
- Add convert-from-106 script
* Sat Oct 26 2002 David Shaw <dshaw@jabberwocky.com>
- Use new path for keyserver helpers.
- /usr/lib is no longer used for cipher/hash plugins.
- Include gpgv, gpgsplit, and the new gnupg.7 man page.
* Fri Apr 19 2002 David Shaw <dshaw@jabberwocky.com>
- Removed OPTIONS and pubring.asc - no longer used
- Added doc/samplekeys.asc
* Sun Mar 31 2002 David Shaw <dshaw@jabberwocky.com>
- Added the gpgkeys_xxx keyserver helpers.
- Added a * to catch variations on the basic gpg man page (gpg, gpgv).
- Mark options.skel as a config file.
- Do not include the FAQ/faq.html twice (in /doc/ and /share/).
* Wed Sep 06 2000 Fabio Coatti <cova@ferrara.linux.it>
- Added Polish description and summary (Kindly provided by =20
Lukasz Stelmach <stelmacl@ee.pw.edu.pl>)
=20
* Thu Jul 13 2000 Fabio Coatti <cova@ferrara.linux.it>
- Added a * to catch all formats for man pages (plain, gz, bz2...) =20
* Mon May 01 2000 Fabio Coatti <cova@ferrara.linux.it>
- Some corrections in French description, thanks to Ga=C3=ABl Qu=C3=A9ri
<gqueri@mail.dotcom.fr>; Some corrections to Italian descriptions.
* Tue Apr 25 2000 Fabio Coatti <cova@ferrara.linux.it>
- Removed the no longer needed patch for man page by Keith Owens
* Wed Mar 1 2000 Petr Kri=C2=B9tof <Petr@Kristof.CZ>=20
- Czech descriptions added; some fixes and updates.
* Sat Jan 15 2000 Keith Owens <kaos@ocs.com.au>
- Add missing man page as separate patch instead of updating the tar file.
* Mon Dec 27 1999 Fabio Coatti <cova@ferrara.linux.it>=20
- Upgraded for 1.0.1 (added missing gpg.1 man page)
* Sat May 29 1999 Fabio Coatti <cova@ferrara.linux.it>
- Some corrections in French description, thanks to Ga=C3=ABl Qu=C3=A9ri <g=
queri@mail.dotcom.fr> =20
* Mon May 17 1999 Fabio Coatti <cova@felix.unife.it>
- Added French description, provided by=20
Christophe Labouisse <labouiss@cybercable.fr>
* Thu May 06 1999 Fabio Coatti <cova@felix.unife.it>=20
- Upgraded for 0.9.6 (removed gpgm)
* Tue Jan 12 1999 Fabio Coatti <cova@felix.unife.it>
- LINGUAS variable is now unset in configure to ensure that all languages w=
ill be built. (Thanks to Luca Olivetti <luca@luca.ddns.org>)
=20
* Sat Jan 02 1999 Fabio Coatti <cova@felix.unife.it>
- Added pl language file.
- Included g10/pubring.asc in documentation files.
* Sat Dec 19 1998 Fabio Coatti <cova@felix.unife.it>
- Modified the spec file provided by Caskey L. Dickson <caskey-at-technocag=
e.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 (GNU Privacy Guard) is a GNU utility for encrypting data and
creating digital signatures. GnuPG has advanced key management
capabilities and is compliant with the proposed OpenPGP Internet
standard described in RFC-2440. Since GnuPG doesn't use any patented
algorithms, it is not compatible with some versions of PGP 2 which use
only the patented IDEA algorithm. See
http://www.gnupg.org/why-not-idea.html for information on using IDEA
if the patent does not apply to you and you need to be compatible with
these versions of PGP 2.
%description -l it
GnuPG (GNU Privacy Guard) =C3=A8 una utility GNU per la cifratura di dati e
la creazione di firme digitali. Possiede una gestione avanzata delle
chiavi ed =C3=A8 conforme allo standard Internet OpenPGP, descritto nella
RFC 2440. Non utilizzando algoritmi brevettati, non =C3=A8 compatibile con
PGP2 (PGP2.x usa solo IDEA, coperto da brevetto mondiale, ed RSA,
brevettato negli USA con scadenza 20/09/2000). Questi algoritmi sono
utilizzabili da GnuPG tramite moduli esterni.
%description -l fr
GnuPG est un utilitaire GNU destin=C3=A9 =C3=A0 chiffrer des donn=C3=A9es e=
t =C3=A0 cr=C3=A9er
des signatures =C3=A9lectroniques. Il a des capacit=C3=A9s avanc=C3=A9es de=
gestion de
cl=C3=A9s et il est conforme =C3=A0 la norme propos=C3=A9e OpenPGP d=C3=A9c=
rite dans la
RFC2440. Comme GnuPG n'utilise pas d'algorithme brevet=C3=A9, il n'est
compatible avec aucune version de PGP2 (PGP2.x ne sait utiliser que
l'IDEA brevet=C3=A9 dans le monde entier et RSA, brevet=C3=A9 aux =C3=89tat=
s-Unis
jusqu'au 20 septembre 2000).=20
%description -l cs
GnuPG je GNU n=C3=A1stroj pro bezpe=C3=A8nou komunikaci a ukl=C3=A1d=C3=A1n=
=C3=AD dat. M=C3=B9=C5=B8e b=C3=BDt
pou=C5=B8it na =C2=B9ifrov=C3=A1n=C3=AD dat a vytv=C3=A1=C3=B8en=C3=AD digi=
t=C3=A1ln=C3=ADch podpis=C3=B9. Obsahuje
funkce pro pokro=C3=A8ilou spr=C3=A1vu kl=C3=AD=C3=A8=C3=B9 a vyhovuje navr=
hovan=C3=A9mu OpenPGP
Internet standardu podle RFC2440. Byl vytvo=C3=B8en jako kompletn=C3=AD
n=C3=A1hrada za PGP. Proto=C5=B8e neobsahuje =C2=B9ifrovac=C3=AD algoritmy =
IDEA nebo RSA,
m=C3=B9=C5=B8e b=C3=BDt pou=C5=B8=C3=ADv=C3=A1n bez omezen=C3=AD.
Proto=C5=B8e GnuPG nepou=C5=B8=C3=ADv=C3=A1 =C5=B8=C3=A1dn=C3=BD patentovan=
=C3=BD algoritmus, nem=C3=B9=C5=B8e b=C3=BDt =C3=BApln=C3=AC
kompatibiln=C3=AD s PGP verze 2. PGP 2.x pou=C5=B8=C3=ADv=C3=A1 algoritmy I=
DEA (patentov=C3=A1no
celosv=C3=ACtov=C3=AC) a RSA (patentov=C3=A1no ve Spojen=C3=BDch st=C3=A1te=
ch do 20. z=C3=A1=C3=B8=C3=AD
2000). Tyto algoritmy lze zav=C3=A9st do GnuPG pomoc=C3=AD extern=C3=ADch m=
odul=C3=B9.
%description -l pl
GnuPG (GNU Privacy Guard) jest nazedziem do szfrowania danych i tworzenia
cyfrowych podpis=C3=B3w. GnuPG posiada zaawansowane mozliwosci obslugi kluc=
zy
i jest zgodne z OpenPGP, proponowanym standardem internetowym opisanym
w RFC2440. Poniewaz GnuPG nie uzywa zadnych opatentowanych algorytm=C3=B3w
nie jest wiec zgodne z jaka kolwiek wersja PGP2 (PGP2.x kozysta jedynie
z algorytm=C3=B3w: IDEA, opatentowanego na calym swiecie, oraz RSA, kt=C3=
=B3rego
patent na terenie Stan=C3=B3w Zjednoczonych wygasa 20 wrzesnia 2000). =
=20
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%build
if test -n "$LINGUAS"; then
unset LINGUAS
fi =20
%configure --enable-shared --program-prefix=3D%{?_program_prefix:%{_program=
_prefix}}
make
%install
%makeinstall
%find_lang %{name}
rm %{buildroot}%{_datadir}/%{name}/FAQ
rm %{buildroot}%{_datadir}/%{name}/faq.html
rm %{buildroot}%{_infodir}/dir
%files -f %{name}.lang
%defattr (-,root,root)
%doc INSTALL AUTHORS COPYING NEWS README THANKS TODO PROJECTS doc/DETAILS
%doc doc/FAQ doc/faq.html doc/HACKING doc/OpenPGP doc/samplekeys.asc
%doc %attr (0755,root,root) tools/convert-from-106
%config %{_datadir}/%{name}/options.skel
%{_mandir}/man1/*
%{_mandir}/man7/*
%{_infodir}/gpg.info*
%{_infodir}/gpgv.info*
%attr (4755,root,root) %{_bindir}/gpg
%attr (0755,root,root) %{_bindir}/gpgv
%attr (0755,root,root) %{_bindir}/gpgsplit
%attr (0755,root,root) %{_libexecdir}/*
%post
/sbin/install-info %{_infodir}/gpg.info %{_infodir}/dir
/sbin/install-info %{_infodir}/gpgv.info %{_infodir}/dir
%preun
if [ $1 =3D 0 ]; then
/sbin/install-info --delete %{_infodir}/gpg.info %{_infodir}/dir
/sbin/install-info --delete %{_infodir}/gpgv.info %{_infodir}/dir
fi
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
--X+nYw8KZ/oNxZ8JS--
--x0KprKst+ZOYEj2z
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3rc2 (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
iEYEARECAAYFAj8pKW4ACgkQ4mZch0nhy8ltYQCghUhnrkw4J2furf7X1BhJMrX7
5vMAoMNyoOwRR6yBkk02T93SRt8H29US
=9hzP
-----END PGP SIGNATURE-----
--x0KprKst+ZOYEj2z--