gnupg-vl.spec 9.9 KB

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