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

Revision 12062, 9.9 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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