source: projects/specs/trunk/g/gnupg/gnupg-vl.spec @ 1383

Revision 1383, 8.7 KB checked in by daisuke, 14 years ago (diff)

gnupg:

  • update to 1.4.10
  • add --enable-ldap
  • add BR: bzip2-devel, openldap-devel, libusb-devel, readline-devel
  • use Requires(post,preun) instead of PreReq?
Line 
1Summary: A GNU utility for secure communication and data storage.
2Summary(ja): GNU 版の RFC2440 (OpenPGP) 公開鍵暗号プログラム
3Name: gnupg
4Version: 1.4.10
5Release: 1%{?_dist_release}
6License: GPL
7Group: Applications/System
8Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
9Source1: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2.sig
10Source2: gnupg-1.4.5-ja.po
11Patch3: gnupg-1.4.6-dir.patch
12
13URL: http://www.gnupg.org/
14
15Vendor: Project Vine
16Distribution: Vine Linux
17Packager: daisuke, iwaim, shaolin
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20
21Provides: gpg, openpgp
22Requires(post): install-info
23Requires(preun): install-info
24
25BuildRequires: autoconf
26BuildRequires: zlib-devel, bzip2-devel
27BuildRequires: openldap-devel
28BuildRequires: libusb-devel
29BuildRequires: readline-devel
30
31%description
32GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and
33creating digital signatures. GnuPG has advanced key management
34capabilities and is compliant with the proposed OpenPGP Internet
35standard described in RFC2440. Since GnuPG does not use any patented
36algorithm, it is not compatible with any version of PGP2 (PGP2.x uses
37only IDEA for symmetric-key encryption, which is patented worldwide).
38
39%description -l ja
40GnuPG (GNU プライバシーガード) は、データを暗号化したりデジタル署名を
41作成したりする GNU ユーティリティです。GnuPG は優れた鍵管理機能を有し、
42RFC2440 に規定された OpenPGP 規格に準拠しています。GnuPG は特許化された
43アルゴリズムを一切用いていないので、何の制限もなく使用することが出来ま
44すが、全てのバージョンの PGP2 とは互換性がありません。(PGP2.x は世界
45中で特許化されている IDEA を対称暗合鍵のために用います。)
46
47%prep
48%setup -q
49
50%patch3 -p1 -b .dir
51# %patch100 -p0 -b .CVE-2006-6169
52
53mv po/ja.po po/ja.po.orig
54cp -f %{SOURCE2} po/ja.po
55autoreconf
56
57%build
58%configure --enable-shared --enable-ldap --disable-mailto \
59        --without-libcurl \
60        --program-transform-name='' --program-prefix='' --program-suffix='' \
61        --libexecdir=%{_libdir}
62make
63(cd po; make ja.gmo)
64make check
65
66%install
67rm -rf $RPM_BUILD_ROOT
68%makeinstall libexecdir=%{buildroot}%{_libdir}
69# install -m644 doc/gpg.info doc/gpgv.info $RPM_BUILD_ROOT/%{_infodir}
70install -m644 doc/gnupg1.info $RPM_BUILD_ROOT/%{_infodir}
71sed 's^\.\./g[0-9\.]*/^^g' tools/lspgpot > lspgpot
72install -m755 lspgpot $RPM_BUILD_ROOT%{_bindir}/lspgpot
73rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
74%find_lang %name
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79
80%post
81if test -s %{_infodir}/gnupg1.info.gz ; then
82    /sbin/install-info %{_infodir}/gnupg1.info.gz %{_infodir}/dir 2> /dev/null
83fi
84if ! test -s %{_infodir}/gpg.info.gz ; then
85    /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir 2> /dev/null
86fi
87if ! test -s %{_infodir}/gpgv.info.gz ; then
88    /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir 2> /dev/null
89fi
90exit 0
91
92%preun
93if [ $1 = 0 ]; then
94    /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir
95    /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir
96fi
97
98
99%files -f %{name}.lang
100%defattr(-,root,root)
101%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROJECTS README THANKS TODO
102%doc doc/DETAILS doc/HACKING doc/OpenPGP doc/samplekeys.asc
103%{_bindir}/*
104%dir %{_datadir}/%{name}
105%{_datadir}/%{name}/FAQ
106%{_datadir}/%{name}/faq.html
107%{_datadir}/%{name}/options.skel
108%{_libdir}/%{name}
109%{_infodir}/*
110%{_mandir}/man1/*
111%{_mandir}/man7/*
112
113
114%changelog
115* Sat Jul 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.10-1
116- new upstream release
117- add --enable-ldap
118- add BR: bzip2-devel, openldap-devel, libusb-devel, readline-devel
119- use Requires(post,preun) instead of PreReq
120
121* Tue Jul 14 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.9-1
122- new upstream release
123
124* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.6-1vl5
125- applied new versioning policy, spec in utf-8
126
127* Sun May 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.6-0vl4
128- add --without-libcurl option for configure,
129  instead of "rebuilding without curl" as shown below
130
131* Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.6-0vl3
132- rebuild without curl
133
134* Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.6-0vl2
135- rebuilt for VineSeed
136
137* Sat Dec 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.6-0vl1
138- new upstream release incorporating fixes for CVE-2006-6169, 6235
139- drop Patch100 (included in new upstream)
140- add patch3 from redhat
141
142* Sat Dec 02 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.5-0vl1.1
143- add patch100 for fix CVE-2006-6169
144
145* Mon Sep  4 2006 IWAI, Masaharu <iwai@alib.jp> 1.4.5-0vl1
146- new upstream release
147- update ja.po ( but, it has many fuzzy )
148
149* Sun May  7 2006 IWAI, Masaharu <iwai@alib.jp> 1.4.3-0vl1
150- drop CVE-2006-0455 ( Patch10 ) and CVE-2006-0049 ( Patch11 ) patches
151    - upstream fixed
152- update ja.po ( but, it has many fuzzy )
153- drop unnecessary libexec patch ( Patch0 )
154
155* Sun Apr  9 2006 IWAI, Masaharu <iwai@alib.jp> 1.2.6-0vl5
156- build for VineSeed
157
158* Sun Mar 19 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.2.6-0vl4
159- added a security patch for CVE-2006-0049.
160
161* Mon Feb 20 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.2.6-0vl3
162- added a security patch for CVE-2006-0455.
163
164* Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl2
165- update ja.po
166
167* Thu Oct 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl1
168- new upstream release
169
170* Mon Dec 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
171- rebuilt
172
173* Mon Dec 29 2003 IWAI, Masaharu <iwai@alib.jp> 1.2.4-0vl1
174- new upstream release
175
176* Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-0vl1
177- new upstream release
178
179* Tue May  6 2003 IWAI Masaharu <iwai@alib.jp> 1.2.2-0vl1
180- upstream releace
181- update libexec.patch (Patch0)
182- drop trustfix.patch (Patch10)
183
184* Tue May  6 2003 IWAI Masaharu <iwai@alib.jp> 1.2.1-3vl3
185- SECURITY FIX - Key validity bug
186    - http://lists.gnupg.org/pipermail/gnupg-announce/2003q2/000268.html
187    - add trustfix.patch (Patch10) from Vine-2.6 updates 1.0.7-6vl2.1
188
189* Fri Mar  7 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-3vl2
190- update ja.po
191
192* Fri Mar  7 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-3vl1
193- new upstream release
194- merged with rawhide version 1.2.1-3
195  * Fri Feb  7 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-3
196  - modify g10defs to look for helpers in libexecdir, because that's where they
197    get installed, per gnupg-users
198  - actually drop updates for 1.0.7 which are no longer needed for 1.2.1
199  * Mon Oct 28 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-1
200  - update to 1.2.1
201  * Tue Sep 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.0-1
202  - update to 1.2.0
203  - stop stripping files manually, let the buildroot policies handle it
204  - add translations updates ca and fr
205
206* Tue Oct  1 2002 IWAI Masaharu <iwai@alib.jp> 1.0.7-6vl2
207- added --disable-{ldap,mailto} options for configure script
208- added zlib in Requires tag
209- added zlib-devel in BuildRequires tag
210
211* Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 1.0.7-6vl1
212- sync with Rawhide gnupg-1.0.7-6
213    - added --program-{transform-name,prefix,suffix} options for configure script
214    - added Source1(signature for the GnuPG 1.0.7 tarball)
215    - added BUGS and doc/samplekeys.asc in %%doc
216    - eliminated g*/OPTIONS and g*/pubring.asc in %%doc
217    - stopped patching Patch0(codeset.patch)
218    -
219- droped Source3(ja.po)
220- added Patch1 (gnupg-1.0.7-ja.po.patch)
221
222* Fri Jan 25 2002 Toru Sagami <sagami@vinelinux.org> 1.0.6-3vl1
223- sync with 1.0.6-3
224  * set message output encoding to match the message encoding, based on a
225    patch by goeran@uddeborg.pp.se (#49182)
226- fixed ja.po
227
228* Thu Jun 07 2001 <sagami@vinelinux.org>
229- update to 1.0.6: follow up with RHSA's 1.0.5 package
230- changed Group/Description
231- stop replacing/overriding man page (new one is out there)
232
233* Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-0vl2
234- fixed typo in spec file.
235
236* Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-0vl1
237- update to 1.0.5
238- update ja.po.
239
240* Mon Oct 23 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
241- update to 1.0.4 for a security reason
242- add Japanese summary and description
243
244* Thu Aug 17 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
245- rebuild for Vine-2.0/VineSeed
246
247* Sun Jul 23 2000 Nalin Dahyabhai <nalin@redhat.com>
248- update to 1.0.2
249
250* Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
251- rebuild to cope with glibc locale binary incompatibility
252
253* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
254- automatic rebuild
255
256* Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
257- include lspgpot (#13772)
258
259* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
260- rebuild in new build environment
261
262* Fri Feb 18 2000 Bill Nottingham <notting@redhat.com>
263- build of 1.0.1
264
265* Fri Sep 10 1999 Cristian Gafton <gafton@redhat.com>
266- version 1.0.0 build for 6.1us
Note: See TracBrowser for help on using the repository browser.