gnupg-vl.spec 8.4 KB

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