~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to scripts/gnupg.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# gnupg -- gnu privacy guard
 
3
# This is a template.  The dist target uses it to create the real file.
 
4
#
 
5
%define version @pkg_version@
 
6
%define name gnupg
 
7
Summary: GNU Utility for data encryption and digital signatures
 
8
Summary(it): Utility GNU per la sicurezza nelle comunicazioni e nell'archiviazione dei dati.
 
9
Summary(cs): GNU n�stroj pro �ifrovanou komunikaci a bezpe�n� ukl�d�n� dat
 
10
Summary(fr): Utilitaire GNU de chiffrement et d'authentification des communications et des donn�es
 
11
Summary(pl): Narzedzie GNU do szyfrowania i podpisywania danych
 
12
Vendor: GNU Privacy Guard Project
 
13
Name: %{name}
 
14
Version: %{version}
 
15
Release: 1
 
16
Copyright: GPL
 
17
Group: Applications/Cryptography
 
18
Group(cs): Aplikace/�ifrov�n�
 
19
Group(fr): Applications/Cryptographie
 
20
Group(it): Applicazioni/Crittografia
 
21
Source: ftp://ftp.gnupg.org/pub/gcrypt/%{name}-%{version}.tar.gz
 
22
URL: http://www.gnupg.org
 
23
Provides: gpg openpgp
 
24
BuildRoot: /tmp/rpmbuild_%{name}
 
25
 
 
26
%changelog
 
27
* Fri Apr 19 2002 David Shaw <dshaw@jabberwocky.com>
 
28
- Removed OPTIONS and pubring.asc - no longer used
 
29
- Added doc/samplekeys.asc
 
30
* Sun Mar 31 2002 David Shaw <dshaw@jabberwocky.com>
 
31
- Added the gpgkeys_xxx keyserver helpers.
 
32
- Added a * to catch variations on the basic gpg man page (gpg, gpgv).
 
33
- Mark options.skel as a config file.
 
34
- Do not include the FAQ/faq.html twice (in /doc/ and /share/).
 
35
 
 
36
* Wed Sep 06 2000 Fabio Coatti <cova@ferrara.linux.it>
 
37
- Added Polish description and summary (Kindly provided by  
 
38
  Lukasz Stelmach <stelmacl@ee.pw.edu.pl>)
 
39
  
 
40
* Thu Jul 13 2000 Fabio Coatti <cova@ferrara.linux.it>
 
41
- Added a * to catch all formats for man pages (plain, gz, bz2...)    
 
42
 
 
43
* Mon May 01 2000 Fabio Coatti <cova@ferrara.linux.it>
 
44
- Some corrections in French description, thanks to Ga�l Qu�ri
 
45
  <gqueri@mail.dotcom.fr>; Some corrections to Italian descriptions.
 
46
 
 
47
* Tue Apr 25 2000 Fabio Coatti <cova@ferrara.linux.it>
 
48
- Removed the no longer needed patch for man page by Keith Owens
 
49
 
 
50
* Wed Mar 1 2000 Petr Kri�tof <Petr@Kristof.CZ> 
 
51
- Czech descriptions added; some fixes and updates.
 
52
 
 
53
* Sat Jan 15 2000 Keith Owens <kaos@ocs.com.au>
 
54
- Add missing man page as separate patch instead of updating the tar file.
 
55
 
 
56
* Mon Dec 27 1999 Fabio Coatti <cova@ferrara.linux.it> 
 
57
- Upgraded for 1.0.1 (added missing gpg.1 man page)
 
58
 
 
59
* Sat May 29 1999 Fabio Coatti <cova@ferrara.linux.it>
 
60
- Some corrections in French description, thanks to Ga�l Qu�ri <gqueri@mail.dotcom.fr>  
 
61
 
 
62
* Mon May 17 1999 Fabio Coatti <cova@felix.unife.it>
 
63
- Added French description, provided by 
 
64
  Christophe Labouisse <labouiss@cybercable.fr>
 
65
 
 
66
* Thu May 06 1999 Fabio Coatti <cova@felix.unife.it> 
 
67
- Upgraded for 0.9.6 (removed gpgm)
 
68
 
 
69
* Tue Jan 12 1999 Fabio Coatti <cova@felix.unife.it>
 
70
- LINGUAS variable is now unset in configure to ensure that all languages will be built. (Thanks to Luca Olivetti <luca@luca.ddns.org>)
 
71
 
 
72
* Sat Jan 02 1999 Fabio Coatti <cova@felix.unife.it>
 
73
- Added pl language file.
 
74
- Included g10/pubring.asc in documentation files.
 
75
 
 
76
* Sat Dec 19 1998 Fabio Coatti <cova@felix.unife.it>
 
77
- Modified the spec file provided by Caskey L. Dickson <caskey-at-technocage.com>
 
78
- Now it can be built also by non-root. Installation has to be done as
 
79
  root, gpg is suid.
 
80
- Added some changes by  Ross Golder <rossigee@bigfoot.com>
 
81
- Updates for version 0.4.5 of GnuPG (.mo files)
 
82
 
 
83
%description
 
84
GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and
 
85
creating digital signatures. GnuPG has advanced key management
 
86
capabilities and is compliant with the proposed OpenPGP Internet
 
87
standard described in RFC2440. Since GnuPG doesn't use any patented
 
88
algorithm, it is not compatible with any version of PGP2 (PGP2.x uses
 
89
only IDEA, patented worldwide, and RSA, which is patented in the US
 
90
until 9/20/00).
 
91
 
 
92
%description -l it
 
93
GnuPG (GNU Privacy Guard) � una utility GNU per la cifratura di dati e
 
94
la creazione di firme digitali. Possiede una gestione avanzata delle
 
95
chiavi ed � conforme allo standard Internet OpenPGP, descritto nella
 
96
RFC 2440. Non utilizzando algoritmi brevettati, non � compatibile con
 
97
PGP2 (PGP2.x usa solo IDEA, coperto da brevetto mondiale, ed RSA,
 
98
brevettato negli USA con scadenza 20/09/2000). Questi algoritmi sono
 
99
utilizzabili da GnuPG tramite moduli esterni.
 
100
 
 
101
%description -l fr
 
102
GnuPG est un utilitaire GNU destin� � chiffrer des donn�es et � cr�er
 
103
des signatures �lectroniques. Il a des capacit�s avanc�es de gestion de
 
104
cl�s et il est conforme � la norme propos�e OpenPGP d�crite dans la
 
105
RFC2440. Comme GnuPG n'utilise pas d'algorithme brevet�, il n'est
 
106
compatible avec aucune version de PGP2 (PGP2.x ne sait utiliser que
 
107
l'IDEA brevet� dans le monde entier et RSA, brevet� aux �tats-Unis
 
108
jusqu'au 20 septembre 2000). 
 
109
 
 
110
%description -l cs
 
111
GnuPG je GNU n�stroj pro bezpe�nou komunikaci a ukl�d�n� dat. M��e b�t
 
112
pou�it na �ifrov�n� dat a vytv��en� digit�ln�ch podpis�. Obsahuje
 
113
funkce pro pokro�ilou spr�vu kl��� a vyhovuje navrhovan�mu OpenPGP
 
114
Internet standardu podle RFC2440. Byl vytvo�en jako kompletn�
 
115
n�hrada za PGP. Proto�e neobsahuje �ifrovac� algoritmy IDEA nebo RSA,
 
116
m��e b�t pou��v�n bez omezen�.
 
117
Proto�e GnuPG nepou��v� ��dn� patentovan� algoritmus, nem��e b�t �pln�
 
118
kompatibiln� s PGP verze 2. PGP 2.x pou��v� algoritmy IDEA (patentov�no
 
119
celosv�tov�) a RSA (patentov�no ve Spojen�ch st�tech do 20. z���
 
120
2000). Tyto algoritmy lze zav�st do GnuPG pomoc� extern�ch modul�.
 
121
 
 
122
%description -l pl
 
123
GnuPG (GNU Privacy Guard) jest nazedziem do szfrowania danych i tworzenia
 
124
cyfrowych podpis�w. GnuPG posiada zaawansowane mozliwosci obslugi kluczy
 
125
i jest zgodne z OpenPGP, proponowanym standardem internetowym opisanym
 
126
w RFC2440. Poniewaz GnuPG nie uzywa zadnych opatentowanych algorytm�w
 
127
nie jest wiec zgodne z jaka kolwiek wersja PGP2 (PGP2.x kozysta jedynie
 
128
z algorytm�w: IDEA, opatentowanego na calym swiecie, oraz RSA, kt�rego
 
129
patent na terenie Stan�w Zjednoczonych wygasa 20 wrzesnia 2000).         
 
130
 
 
131
%prep
 
132
rm -rf $RPM_BUILD_ROOT
 
133
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
 
134
 
 
135
%setup
 
136
 
 
137
%build
 
138
if test -n "$LINGUAS"; then
 
139
 unset LINGUAS
 
140
fi    
 
141
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-shared
 
142
make
 
143
 
 
144
%install
 
145
make install-strip prefix=$RPM_BUILD_ROOT/usr
 
146
 
 
147
%files
 
148
 
 
149
%doc %attr (-,root,root) INSTALL
 
150
%doc %attr (-,root,root) AUTHORS
 
151
%doc %attr (-,root,root) COPYING
 
152
%doc %attr (-,root,root) ChangeLog
 
153
%doc %attr (-,root,root) NEWS
 
154
%doc %attr (-,root,root) README
 
155
%doc %attr (-,root,root) THANKS
 
156
%doc %attr (-,root,root) TODO   
 
157
%doc %attr (-,root,root) PROJECTS
 
158
%doc %attr (-,root,root) doc/DETAILS
 
159
%doc %attr (-,root,root) doc/FAQ
 
160
%doc %attr (-,root,root) doc/faq.html
 
161
%doc %attr (-,root,root) doc/HACKING
 
162
%doc %attr (-,root,root) doc/OpenPGP
 
163
%doc %attr (-,root,root) doc/samplekeys.asc
 
164
 
 
165
%attr (-,root,root) /usr/man/man1/gpg*.1*
 
166
%attr (4755,root,root) /usr/bin/gpg
 
167
%attr (-,root,root) /usr/bin/gpgkeys_*
 
168
 
 
169
%attr (-,root,root) /usr/share/locale/*/*/%{name}.mo
 
170
 
 
171
%attr (-,root,root) /usr/lib/%{name}
 
172
 
 
173
%config %attr (-,root,root) /usr/share/%{name}/options.skel
 
174
 
 
175
%clean
 
176
rm -rf $RPM_BUILD_ROOT
 
177
rm -rf $RPM_BUILD_DIR/%{name}-%{version}