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

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