vine-keyring-vl.spec 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. %define rpmhome %{_prefix}/lib/rpm
  2. %define pubringdir %{rpmhome}/gnupg
  3. %define keyringdate 20141026
  4. Summary: The gnupg keyring for Vine Linux
  5. Summary(ja): Vine Linux 用の GnuPG 鍵輪
  6. Name: vine-keyring
  7. Version: 2.14
  8. Release: 1%{?_dist_release}
  9. License: distributable without modification
  10. Group: System Environment/Libraries
  11. Source0: %{name}-%{keyringdate}.tar.xz
  12. Source10: gpg-import.sh
  13. Source11: gpg-import.lua
  14. Source12: gpg-import.conf
  15. BuildArchitectures: noarch
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: daisuke
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Requires: gnupg
  21. PreReq: sh-utils, gnupg, fileutils
  22. Autoreqprov: off
  23. %description
  24. This package contains the gnup keyring that is used to sign
  25. Vine Linux rpm packages by Vine Linux official developpers.
  26. It will be installed in %{rpmhome}/gnupg/pubring.gpg.
  27. This gpg keyring should include following developpers.
  28. - Project Vine
  29. - VineSeed/VineSeedPlus developpers
  30. - VinePlus developpers
  31. - Security Watch Team
  32. - Documentation Team
  33. ..
  34. %description -l ja
  35. このパッケージには、Vine Linux のオフィシャルの開発者が rpm パッケージ
  36. に署名するために使用している GnuPG の公開鍵が鍵輪として、以下の場所に
  37. インストールされています。(%{rpmhome}/gnupg/pubring.gpg)
  38. Vine Linux の開発者の公開鍵はかならずこの鍵輪に含まれている必要があり
  39. ます。
  40. %prep
  41. %setup -n %{name}
  42. %build
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. mkdir -p $RPM_BUILD_ROOT%{pubringdir}
  46. install %{name}.gpg* $RPM_BUILD_ROOT%{pubringdir}
  47. touch $RPM_BUILD_ROOT%{pubringdir}/pubring.gpg
  48. # install gpg-import.lua staff
  49. mkdir -p $RPM_BUILD_ROOT%{rpmhome}
  50. install -m744 %{SOURCE10} $RPM_BUILD_ROOT%{rpmhome}
  51. mkdir -p $RPM_BUILD_ROOT%{_datadir}/apt/scripts/
  52. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/apt/apt.conf.d/
  53. install %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/apt/scripts/
  54. install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/apt/apt.conf.d/
  55. %post
  56. if [ ! -f %{pubringdir}/pubring.gpg ]; then
  57. touch %{pubringdir}/pubring.gpg
  58. fi
  59. gpg -q --batch --no-options --homedir %{pubringdir} < /dev/null > /dev/null 2>&1 ||:
  60. gpg -q --batch --no-options --no-default-keyring --no-permission-warning \
  61. --secret-keyring /dev/null --homedir %{pubringdir} \
  62. --keyring %{pubringdir}/vine-keyring.gpg --export -a | \
  63. gpg -q --batch --no-options --no-default-keyring --no-permission-warning \
  64. --secret-keyring /dev/null --homedir %{pubringdir} \
  65. --keyring %{pubringdir}/pubring.gpg --import ||:
  66. touch %{pubringdir}/.need_to_import
  67. exit 0
  68. %files
  69. %defattr(644,root,root)
  70. %attr(755,root,root) %dir %{pubringdir}
  71. %ghost %{pubringdir}/pubring.gpg
  72. %config %{pubringdir}/vine-keyring.gpg
  73. %config %{pubringdir}/vine-keyring.gpg.sha1sum.gpg
  74. %attr(744,root,root) %{rpmhome}/gpg-import.sh
  75. %attr(755,root,root) %{_datadir}/apt/scripts/*
  76. %{_sysconfdir}/apt/apt.conf.d/*
  77. %changelog
  78. * Sun Oct 26 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.14-1
  79. - update vine-keyring
  80. - add ken (new key)
  81. * Sat Aug 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.13-1
  82. - update vine-keyring
  83. - add inagaki (new key)
  84. - refresh all keys from keyserver
  85. * Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12-1
  86. - update vine-keyring
  87. - add tomop (new key)
  88. * Fri Jul 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1
  89. - refresh all keys from keyserver
  90. * Tue Mar 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10-1
  91. - update vine-keyring
  92. - add yasumichi (new key)
  93. - refresh all keys from keyserver
  94. * Wed Dec 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9-1
  95. - update vine-keyring
  96. - add Jiro Matsuzawa
  97. - add iwaim (new key)
  98. - refresh all keys from keyserver
  99. * Thu Sep 09 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8-1
  100. - update vine-keyring
  101. - add daisuke (new key)
  102. - add shaolin (new key)
  103. - add yasumichi (new key)
  104. - add munepi (new key)
  105. - refresh all keys from keyserver
  106. * Wed Feb 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-2
  107. - fix build on x86_64
  108. * Wed Feb 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1
  109. - add new uid
  110. * Sun Nov 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6-1
  111. - update vine-keyring
  112. - replace takemikaduchi key by new key...
  113. * Sun Nov 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5-1
  114. - update vine-keyring
  115. - add Takemikaduchi
  116. * Wed Sep 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1
  117. - update vine-keyring
  118. - new key for Toshiaki Ara
  119. - refresh keys from keyserver
  120. * Sun Sep 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3-1
  121. - update vine-keyring
  122. - add new sigs, refresh keys from keyserver
  123. - add Toshiaki Ara
  124. * Wed Jul 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-1
  125. - update vine-keyring
  126. - add new uid, sigs
  127. - refresh keys from keyserver
  128. * Mon Dec 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-1
  129. - update vine-keyring
  130. - add Toshiharu Kudoh, tomcat
  131. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-1
  132. - new versioning policy, spec in utf8
  133. * Mon Mar 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl19
  134. - update vine-keyring
  135. - add Munehiro Yamamoto, TOSHI
  136. * Thu Jan 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl18
  137. - update vine-keyring
  138. - add Kunio Murasawa, yamamoto, Masahiro INOUE
  139. * Sat Aug 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl17
  140. - update vine-keyring
  141. * Sat Jan 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl16
  142. - update vine-keyring
  143. - add Hideki MIWA, Susumu Tanimura
  144. * Sat Nov 18 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl15
  145. - update vine-keyring
  146. - add Takuya Kobayashi
  147. * Mon Sep 18 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl14
  148. - update gpg-import.sh
  149. - set "HOME=/root" on exec gpg.
  150. * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0-0vl13
  151. - change Group to System Environment/Libraries. <BTS:VineLinux:163>
  152. * Tue Jun 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl12
  153. - update vine-keyring
  154. - add kazutaka harada
  155. * Tue May 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl11
  156. - update vine-keyring
  157. - add Takahiro Adachi
  158. * Sat May 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl10
  159. - update vine-keyring
  160. - add NAKAMURA Kenta's new key, revoke old one.
  161. * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl9
  162. - move gpg-import.lua to %%{_datadir}/apt/scripts
  163. * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl8
  164. - update vine-keyring
  165. - add Shoji Matsumoto
  166. * Wed Dec 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl7
  167. - update vine-keyring
  168. - add KATO Masashi
  169. * Tue Dec 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl6
  170. - add gpg-import.{lua,conf,sh} to import gpg pubkeys
  171. in apt's post rpm transaction.
  172. - add flag to check new gpg keys
  173. * Tue Dec 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl5
  174. - disable gpg pubkey import (it may cause rpmdb coprruption..)
  175. * Sun Dec 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl4
  176. - make /usr/lib/rpm/gnupg/pubring.gpg for apt.
  177. * Sun Dec 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl3
  178. - update %%post scripts
  179. * Sun Dec 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl2
  180. - add add gpg public keys as %%pubkey in %%files
  181. - update vine-keyring
  182. - add KITA Toshihiro (see keyring fo details)
  183. * Fri Dec 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
  184. - modified keyring import mechanism to support rpm-4.4
  185. * Mon Oct 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl20
  186. - update vine-keyring
  187. - add Atsushi SHICHI, NAKAMURA Kenta (see keyring for details)
  188. * Thu Aug 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl19
  189. - update vine-keyring
  190. - add Seiya Nishizawa (see keyring for details)
  191. * Mon Apr 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl18
  192. - update vine-keyring
  193. - add Shu KONNO (see keyring for details)
  194. * Thu Feb 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl17
  195. - update vine-keyring
  196. - add Yasumichi Akahoshi, TANAKA hiroaki (see keyring for details)
  197. * Sun Nov 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl16
  198. - update vine-keyring
  199. - add Satoshi IWAMOTO (see keyring for details)
  200. * Tue Oct 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl15
  201. - update vine-keyring
  202. - add Takeyuki Fujioka (see keyring for details)
  203. * Fri Sep 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl14
  204. - update vine-keyring
  205. - add USAMI kosuke (see keyring for details)
  206. * Sat Aug 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl13
  207. - update vine-keyring
  208. - add UECHI Yasumasa, KANEKO Seiji (see keyring for details)
  209. * Tue Aug 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl12
  210. - update vine-keyring
  211. - add IKEDA Katsumi, HOTTA Michihide (see keyring for detail)
  212. * Thu Aug 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl11
  213. - update vine-keyring
  214. - add Ryoichi INAGAKI (see keyring for detail)
  215. * Fri Jun 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl10
  216. - update vine-keyring
  217. - add Hiroaki Irokawa (see keyring for detail)
  218. * Mon Apr 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl9
  219. - update vine-keyring
  220. - add NISHIMURA Daisuke (see keyring for detail)
  221. * Sat Apr 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl8
  222. - update vine-keyring
  223. - add AKIYAMA Kazuhito (see keyring for detail)
  224. * Fri Apr 16 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl7
  225. - update vine-keyring
  226. - add KAZUKI SHIMURA (see keyring for detail)
  227. * Wed Apr 14 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl6
  228. - update vine-keyring
  229. - add Tomoya Taka (see keyring for detail)
  230. * Sun Apr 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl5
  231. - update vine-keyring
  232. - add tkoba, iwai, tomop (see keyring for details)
  233. * Fri Apr 09 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl4
  234. - add "--homedir %%{pubringdir}" to gpg option in %%post script.
  235. * Thu Apr 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl3
  236. - add "--secret-keyring /dev/null" to gpg option in %%post script.
  237. * Wed Apr 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl2
  238. - update vine-keyring, add signed md5sum file.
  239. * Wed Apr 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  240. - initial build for Vine Linux, partly based on SUSE's suse-build-key package.