gnupg-vl.spec 8.7 KB

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