source: projects/specs/branches/6/g/gnupg/gnupg-vl.spec @ 9495

Revision 9495, 10.2 KB checked in by iwamoto, 9 years ago (diff)

gnupg: add patch100 to fix debug message

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