1# -*- coding: utf-8 -*- 2# gnupg -- gnu privacy guard 3# This is a template. The dist target uses it to create the real file. 4# 5%define version 1.4.23 6%define name gnupg 7Summary: GNU Utility for data encryption and digital signatures 8Summary(it): Utility GNU per la sicurezza nelle comunicazioni e nell'archiviazione dei dati. 9Summary(cs): GNU nástroj pro ¹ifrovanou komunikaci a bezpeèné ukládání dat 10Summary(fr): Utilitaire GNU de chiffrement et d'authentification des communications et des données 11Summary(pl): Narzêdzie GNU do szyfrowania i podpisywania danych 12Vendor: GNU Privacy Guard Project 13Name: %{name} 14Version: %{version} 15Release: 1 16Copyright: GPL 17Group: Applications/Cryptography 18Group(cs): Aplikace/©ifrování 19Group(fr): Applications/Cryptographie 20Group(it): Applicazioni/Crittografia 21Source: ftp://ftp.gnupg.org/gcrypt/gnupg/%{name}-%{version}.tar.gz 22URL: http://www.gnupg.org/ 23Provides: gpg openpgp 24Requires(post,preun): /sbin/install-info 25BuildRoot: %{_tmppath}/rpmbuild_%{name}-%{version} 26 27%changelog 28* Sun Aug 21 2005 David Shaw <dshaw@jabberwocky.com> 29- Distribute gpg-zip. 30 31* Fri Apr 22 2005 David Shaw <dshaw@jabberwocky.com> 32- No longer any need to override libexecdir. The makefiles now 33 calculate this correctly internally. 34 35* Wed Feb 16 2005 David Shaw <dshaw@jabberwocky.com> 36- Fix problem with storing the gpgkeys helpers in libexec, but calling 37 them in libexec/gnupg. 38 39* Wed Jul 30 2003 David Shaw <dshaw@jabberwocky.com> 40- Rework much of the spec to use %-macros throughout. 41- Fix to work properly with RPM 4.1 (all files in buildroot must be packaged) 42- Package and install info files. 43- Tweak the English description. 44- There is no need to install gpgv and gpgsplit setuid root. 45 46* Sat Nov 30 2002 David Shaw <dshaw@jabberwocky.com> 47- Add convert-from-106 script 48 49* Sat Oct 26 2002 David Shaw <dshaw@jabberwocky.com> 50- Use new path for keyserver helpers. 51- /usr/lib is no longer used for cipher/hash plugins. 52- Include gpgv, gpgsplit, and the new gnupg.7 man page. 53 54* Fri Apr 19 2002 David Shaw <dshaw@jabberwocky.com> 55- Removed OPTIONS and pubring.asc - no longer used 56- Added doc/samplekeys.asc 57 58* Sun Mar 31 2002 David Shaw <dshaw@jabberwocky.com> 59- Added the gpgkeys_xxx keyserver helpers. 60- Added a * to catch variations on the basic gpg man page (gpg, gpgv). 61- Mark options.skel as a config file. 62- Do not include the FAQ/faq.html twice (in /doc/ and /share/). 63 64* Wed Sep 06 2000 Fabio Coatti <cova@ferrara.linux.it> 65- Added Polish description and summary (Kindly provided by 66 Lukasz Stelmach <stelmacl@ee.pw.edu.pl>) 67 68* Thu Jul 13 2000 Fabio Coatti <cova@ferrara.linux.it> 69- Added a * to catch all formats for man pages (plain, gz, bz2...) 70 71* Mon May 01 2000 Fabio Coatti <cova@ferrara.linux.it> 72- Some corrections in French description, thanks to Gaël Quéri 73 <gqueri@mail.dotcom.fr>; Some corrections to Italian descriptions. 74 75* Tue Apr 25 2000 Fabio Coatti <cova@ferrara.linux.it> 76- Removed the no longer needed patch for man page by Keith Owens 77 78* Wed Mar 1 2000 Petr Kri¹tof <Petr@Kristof.CZ> 79- Czech descriptions added; some fixes and updates. 80 81* Sat Jan 15 2000 Keith Owens <kaos@ocs.com.au> 82- Add missing man page as separate patch instead of updating the tar file. 83 84* Mon Dec 27 1999 Fabio Coatti <cova@ferrara.linux.it> 85- Upgraded for 1.0.1 (added missing gpg.1 man page) 86 87* Sat May 29 1999 Fabio Coatti <cova@ferrara.linux.it> 88- Some corrections in French description, thanks to Gaël Quéri <gqueri@mail.dotcom.fr> 89 90* Mon May 17 1999 Fabio Coatti <cova@felix.unife.it> 91- Added French description, provided by 92 Christophe Labouisse <labouiss@cybercable.fr> 93 94* Thu May 06 1999 Fabio Coatti <cova@felix.unife.it> 95- Upgraded for 0.9.6 (removed gpgm) 96 97* Tue Jan 12 1999 Fabio Coatti <cova@felix.unife.it> 98- LINGUAS variable is now unset in configure to ensure that all languages will be built. (Thanks to Luca Olivetti <luca@luca.ddns.org>) 99 100* Sat Jan 02 1999 Fabio Coatti <cova@felix.unife.it> 101- Added pl language file. 102- Included g10/pubring.asc in documentation files. 103 104* Sat Dec 19 1998 Fabio Coatti <cova@felix.unife.it> 105- Modified the spec file provided by Caskey L. Dickson <caskey-at-technocage.com> 106- Now it can be built also by non-root. Installation has to be done as 107 root, gpg is suid. 108- Added some changes by Ross Golder <rossigee@bigfoot.com> 109- Updates for version 0.4.5 of GnuPG (.mo files) 110 111%description 112 113GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and 114creating digital signatures. GnuPG has advanced key management 115capabilities and is compliant with the proposed OpenPGP Internet 116standard described in RFC-2440. Since GnuPG doesn't use any patented 117algorithms, it is not compatible with some versions of PGP 2 which use 118only the patented IDEA algorithm. See 119http://www.gnupg.org/why-not-idea.html for information on using IDEA 120if the patent does not apply to you and you need to be compatible with 121these versions of PGP 2. 122 123%description -l it 124GnuPG (GNU Privacy Guard) è una utility GNU per la cifratura di dati e 125la creazione di firme digitali. Possiede una gestione avanzata delle 126chiavi ed è conforme allo standard Internet OpenPGP, descritto nella 127RFC 2440. Non utilizzando algoritmi brevettati, non è compatibile con 128PGP2 (PGP2.x usa solo IDEA, coperto da brevetto mondiale, ed RSA, 129brevettato negli USA con scadenza 20/09/2000). Questi algoritmi sono 130utilizzabili da GnuPG tramite moduli esterni. 131 132%description -l fr 133GnuPG est un utilitaire GNU destiné à chiffrer des données et à créer 134des signatures électroniques. Il a des capacités avancées de gestion de 135clés et il est conforme à la norme proposée OpenPGP décrite dans la 136RFC2440. Comme GnuPG n'utilise pas d'algorithme breveté, il n'est 137compatible avec aucune version de PGP2 (PGP2.x ne sait utiliser que 138l'IDEA breveté dans le monde entier et RSA, breveté aux États-Unis 139jusqu'au 20 septembre 2000). 140 141%description -l cs 142GnuPG je GNU nástroj pro bezpeènou komunikaci a ukládání dat. Mù¾e být 143pou¾it na ¹ifrování dat a vytváøení digitálních podpisù. Obsahuje 144funkce pro pokroèilou správu klíèù a vyhovuje navrhovanému OpenPGP 145Internet standardu podle RFC2440. Byl vytvoøen jako kompletní 146náhrada za PGP. Proto¾e neobsahuje ¹ifrovací algoritmy IDEA nebo RSA, 147mù¾e být pou¾íván bez omezení. 148Proto¾e GnuPG nepou¾ívá ¾ádný patentovaný algoritmus, nemù¾e být úplnì 149kompatibilní s PGP verze 2. PGP 2.x pou¾ívá algoritmy IDEA (patentováno 150celosvìtovì) a RSA (patentováno ve Spojených státech do 20. záøí 1512000). Tyto algoritmy lze zavést do GnuPG pomocí externích modulù. 152 153%description -l pl 154GnuPG (GNU Privacy Guard) jest narzędziem do szyfrowania danych i tworzenia 155cyfrowych podpisów. GnuPG posiada zaawansowane możliwości obsługi kluczy 156i jest zgodne z proponowanym standardem internetowym OpenPGP, opisanym 157w RFC2440. Ponieważ GnuPG nie używa żadnych opatentowanych algorytmów, 158nie jest zgodne z jakąkolwiek wersją PGP2 (PGP2.x korzysta jedynie 159z algorytmów: IDEA, opatentowanego na calym świecie oraz RSA, którego 160patent na terenie Stanów Zjednoczonych wygasa 20. września 2000). 161 162%prep 163rm -rf $RPM_BUILD_ROOT 164 165%setup 166 167%build 168if test -n "$LINGUAS"; then 169 unset LINGUAS 170fi 171%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} 172make 173 174%install 175%makeinstall 176%find_lang %{name} 177rm %{buildroot}%{_datadir}/%{name}/FAQ 178rm %{buildroot}%{_datadir}/%{name}/faq.html 179rm -f %{buildroot}%{_infodir}/dir 180 181%files -f %{name}.lang 182%defattr (-,root,root) 183 184%doc INSTALL AUTHORS COPYING NEWS README THANKS TODO PROJECTS doc/DETAILS 185%doc doc/FAQ doc/faq.html doc/HACKING doc/OpenPGP doc/samplekeys.asc 186%doc %attr (0755,root,root) tools/convert-from-106 187%config %{_datadir}/%{name}/options.skel 188%{_mandir}/man1/* 189%{_mandir}/man7/* 190%{_infodir}/gnupg1.info* 191%attr (4755,root,root) %{_bindir}/gpg 192%attr (0755,root,root) %{_bindir}/gpgv 193%attr (0755,root,root) %{_bindir}/gpgsplit 194%attr (0755,root,root) %{_bindir}/gpg-zip 195%attr (0755,root,root) %{_libexecdir}/gnupg/* 196 197%post 198/sbin/install-info %{_infodir}/gpg.info %{_infodir}/dir 2>/dev/null || : 199/sbin/install-info %{_infodir}/gpgv.info %{_infodir}/dir 2>/dev/null || : 200 201%preun 202if [ $1 = 0 ]; then 203 /sbin/install-info --delete %{_infodir}/gpg.info \ 204 %{_infodir}/dir 2>/dev/null || : 205 /sbin/install-info --delete %{_infodir}/gpgv.info \ 206 %{_infodir}/dir 2>/dev/null || : 207fi 208 209%clean 210rm -rf $RPM_BUILD_ROOT 211rm -rf $RPM_BUILD_DIR/%{name}-%{version} 212