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

Revision 7422, 9.1 KB checked in by iwamoto, 11 years ago (diff)

perl, proftpd, gnupg, freetype2, net-snmp update @ vine6

Line 
1Summary: A GNU utility for secure communication and data storage.
2Summary(ja): GNU 版の RFC2440 (OpenPGP) 公開鍵暗号プログラム
3Name: gnupg
4Version: 1.4.11
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.11_CVE-2012-6085.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
51%patch100 -p1 -b .CVE-2012-6085
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}
62
63make %{?_smp_mflags}
64(cd po; make ja.gmo)
65make check
66
67%install
68rm -rf $RPM_BUILD_ROOT
69%makeinstall libexecdir=%{buildroot}%{_libdir}
70# install -m644 doc/gpg.info doc/gpgv.info $RPM_BUILD_ROOT/%{_infodir}
71install -m644 doc/gnupg1.info $RPM_BUILD_ROOT/%{_infodir}
72sed 's^\.\./g[0-9\.]*/^^g' tools/lspgpot > lspgpot
73install -m755 lspgpot $RPM_BUILD_ROOT%{_bindir}/lspgpot
74rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
75%find_lang %name
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80
81%post
82if test -s %{_infodir}/gnupg1.info.gz ; then
83    /sbin/install-info %{_infodir}/gnupg1.info.gz %{_infodir}/dir 2> /dev/null
84fi
85if ! test -s %{_infodir}/gpg.info.gz ; then
86    /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir 2> /dev/null
87fi
88if ! test -s %{_infodir}/gpgv.info.gz ; then
89    /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir 2> /dev/null
90fi
91exit 0
92
93%preun
94if [ $1 = 0 ]; then
95    /sbin/install-info --delete %{_infodir}/gpgv.info.gz %{_infodir}/dir
96    /sbin/install-info --delete %{_infodir}/gpg.info.gz %{_infodir}/dir
97fi
98
99
100%files -f %{name}.lang
101%defattr(-,root,root)
102%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROJECTS README THANKS TODO
103%doc doc/DETAILS doc/HACKING doc/OpenPGP doc/samplekeys.asc
104%{_bindir}/*
105%dir %{_datadir}/%{name}
106%{_datadir}/%{name}/FAQ
107%{_datadir}/%{name}/options.skel
108%{_libdir}/%{name}
109%{_infodir}/*
110%{_mandir}/man1/*
111%{_mandir}/man7/*
112
113
114%changelog
115* Mon Jan  7 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
116- add patch100 for fix CVE-2012-6085 (importing public key)
117- add smp flag in make section
118
119* Mon Apr  4 2011 IWAI, Masaharu <iwai@alib.jp> 1.4.11-1
120- new upstream release
121- update ja.po (Source2)
122- drop dir patch (Patch3): upstream merged
123- drop faq.html in %%files: upstream deleted
124
125* Sat Jul 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.10-1
126- new upstream release
127- add --enable-ldap
128- add BR: bzip2-devel, openldap-devel, libusb-devel, readline-devel
129- use Requires(post,preun) instead of PreReq
130
131* Tue Jul 14 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.9-1
132- new upstream release
133
134* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.6-1vl5
135- applied new versioning policy, spec in utf-8
136
137* Sun May 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.6-0vl4
138- add --without-libcurl option for configure,
139  instead of "rebuilding without curl" as shown below
140
141* Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.6-0vl3
142- rebuild without curl
143
144* Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.6-0vl2
145- rebuilt for VineSeed
146
147* Sat Dec 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.6-0vl1
148- new upstream release incorporating fixes for CVE-2006-6169, 6235
149- drop Patch100 (included in new upstream)
150- add patch3 from redhat
151
152* Sat Dec 02 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.5-0vl1.1
153- add patch100 for fix CVE-2006-6169
154
155* Mon Sep  4 2006 IWAI, Masaharu <iwai@alib.jp> 1.4.5-0vl1
156- new upstream release
157- update ja.po ( but, it has many fuzzy )
158
159* Sun May  7 2006 IWAI, Masaharu <iwai@alib.jp> 1.4.3-0vl1
160- drop CVE-2006-0455 ( Patch10 ) and CVE-2006-0049 ( Patch11 ) patches
161    - upstream fixed
162- update ja.po ( but, it has many fuzzy )
163- drop unnecessary libexec patch ( Patch0 )
164
165* Sun Apr  9 2006 IWAI, Masaharu <iwai@alib.jp> 1.2.6-0vl5
166- build for VineSeed
167
168* Sun Mar 19 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.2.6-0vl4
169- added a security patch for CVE-2006-0049.
170
171* Mon Feb 20 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.2.6-0vl3
172- added a security patch for CVE-2006-0455.
173
174* Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl2
175- update ja.po
176
177* Thu Oct 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl1
178- new upstream release
179
180* Mon Dec 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-0vl2
181- rebuilt
182
183* Mon Dec 29 2003 IWAI, Masaharu <iwai@alib.jp> 1.2.4-0vl1
184- new upstream release
185
186* Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-0vl1
187- new upstream release
188
189* Tue May  6 2003 IWAI Masaharu <iwai@alib.jp> 1.2.2-0vl1
190- upstream releace
191- update libexec.patch (Patch0)
192- drop trustfix.patch (Patch10)
193
194* Tue May  6 2003 IWAI Masaharu <iwai@alib.jp> 1.2.1-3vl3
195- SECURITY FIX - Key validity bug
196    - http://lists.gnupg.org/pipermail/gnupg-announce/2003q2/000268.html
197    - add trustfix.patch (Patch10) from Vine-2.6 updates 1.0.7-6vl2.1
198
199* Fri Mar  7 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-3vl2
200- update ja.po
201
202* Fri Mar  7 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-3vl1
203- new upstream release
204- merged with rawhide version 1.2.1-3
205  * Fri Feb  7 2003 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-3
206  - modify g10defs to look for helpers in libexecdir, because that's where they
207    get installed, per gnupg-users
208  - actually drop updates for 1.0.7 which are no longer needed for 1.2.1
209  * Mon Oct 28 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-1
210  - update to 1.2.1
211  * Tue Sep 24 2002 Nalin Dahyabhai <nalin@redhat.com> 1.2.0-1
212  - update to 1.2.0
213  - stop stripping files manually, let the buildroot policies handle it
214  - add translations updates ca and fr
215
216* Tue Oct  1 2002 IWAI Masaharu <iwai@alib.jp> 1.0.7-6vl2
217- added --disable-{ldap,mailto} options for configure script
218- added zlib in Requires tag
219- added zlib-devel in BuildRequires tag
220
221* Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 1.0.7-6vl1
222- sync with Rawhide gnupg-1.0.7-6
223    - added --program-{transform-name,prefix,suffix} options for configure script
224    - added Source1(signature for the GnuPG 1.0.7 tarball)
225    - added BUGS and doc/samplekeys.asc in %%doc
226    - eliminated g*/OPTIONS and g*/pubring.asc in %%doc
227    - stopped patching Patch0(codeset.patch)
228    -
229- droped Source3(ja.po)
230- added Patch1 (gnupg-1.0.7-ja.po.patch)
231
232* Fri Jan 25 2002 Toru Sagami <sagami@vinelinux.org> 1.0.6-3vl1
233- sync with 1.0.6-3
234  * set message output encoding to match the message encoding, based on a
235    patch by goeran@uddeborg.pp.se (#49182)
236- fixed ja.po
237
238* Thu Jun 07 2001 <sagami@vinelinux.org>
239- update to 1.0.6: follow up with RHSA's 1.0.5 package
240- changed Group/Description
241- stop replacing/overriding man page (new one is out there)
242
243* Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-0vl2
244- fixed typo in spec file.
245
246* Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-0vl1
247- update to 1.0.5
248- update ja.po.
249
250* Mon Oct 23 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
251- update to 1.0.4 for a security reason
252- add Japanese summary and description
253
254* Thu Aug 17 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
255- rebuild for Vine-2.0/VineSeed
256
257* Sun Jul 23 2000 Nalin Dahyabhai <nalin@redhat.com>
258- update to 1.0.2
259
260* Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
261- rebuild to cope with glibc locale binary incompatibility
262
263* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
264- automatic rebuild
265
266* Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
267- include lspgpot (#13772)
268
269* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
270- rebuild in new build environment
271
272* Fri Feb 18 2000 Bill Nottingham <notting@redhat.com>
273- build of 1.0.1
274
275* Fri Sep 10 1999 Cristian Gafton <gafton@redhat.com>
276- version 1.0.0 build for 6.1us
Note: See TracBrowser for help on using the repository browser.