gnupg-vl.spec 9.7 KB

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