gnome-keyring-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. %define gtk3_version 3.14.0
  2. Summary: A framework for managing user passwords and other secrets
  3. Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク
  4. Name: gnome-keyring
  5. Version: 3.14.0
  6. Release: 1%{?_dist_release}
  7. License: GPL/LGPL
  8. Group: System Environment/Libraries
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.14/%{name}-%{version}.tar.xz
  10. URL: http://www.gnome.org
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: gtk3 >= %{gtk3_version}
  13. BuildRequires: gtk3-devel >= %{gtk3_version}
  14. BuildRequires: dbus-devel >= 1.0
  15. BuildRequires: gettext
  16. BuildRequires: libgcrypt-devel
  17. BuildRequires: libtasn1-devel
  18. BuildRequires: openssl-devel
  19. BuildRequires: gcr-devel
  20. BuildRequires: pam-devel
  21. BuildRequires: p11-kit-devel
  22. BuildRequires: libxslt
  23. BuildRequires: docbook-style-xsl
  24. BuildRequires: autoconf, automake, libtool
  25. BuildRequires: intltool
  26. BuildRequires: perl(XML::Parser)
  27. Patch2: %{name}-2.31.91-configure-vine.patch
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. gnome-keyring manages passwords and other types of secrets
  32. for the user, storing them encrypted with a main password.
  33. Applications can use the gnome-keyring library to integrate
  34. with the keyring.
  35. %package pam
  36. Summary: A pam module for unlocking keyrings at login time
  37. License: LGPLv2+
  38. Group: System Environment/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. # for /lib/security
  41. Requires: pam
  42. %description pam
  43. The gnome-keyring-pam package contains a pam module that can
  44. automatically unlock the "login" keyring when the user logs in
  45. and start the keyring daemon.
  46. %prep
  47. %setup -q -n gnome-keyring-%{version}
  48. %patch2 -p1 -b .vine
  49. %build
  50. %configure \
  51. --with-gtk=3.0 \
  52. --disable-gtk-doc \
  53. --disable-update-mime \
  54. --enable-pam \
  55. --without-libcap-ng \
  56. --with-pam-dir=/%{_lib}/security
  57. make %{?_smp_mflags}
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. make install install-pam DESTDIR=$RPM_BUILD_ROOT
  61. rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring.so
  62. %find_lang %{name}
  63. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  64. rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*.la
  65. rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*/*.la
  66. rm -f $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.la
  67. rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %post
  71. /sbin/ldconfig
  72. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  73. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  74. fi
  75. update-mime-database %{_datadir}/mime > /dev/null || :
  76. %postun
  77. /sbin/ldconfig
  78. if [ $1 -eq 0 ]; then
  79. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  80. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  81. update-mime-database %{_datadir}/mime > /dev/null || :
  82. fi
  83. %posttrans
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas
  85. %files -f %{name}.lang
  86. %defattr(-, root, root)
  87. %doc AUTHORS NEWS README COPYING COPYING.LIB
  88. %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop
  89. %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop
  90. %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop
  91. %{_sysconfdir}/xdg/autostart/gnome-keyring-gpg.desktop
  92. %{_datadir}/p11-kit/modules/gnome-keyring.module
  93. %{_bindir}/*
  94. %dir %{_libdir}/gnome-keyring
  95. %{_libdir}/gnome-keyring/devel/*.so
  96. %{_libdir}/pkcs11/gnome-keyring-pkcs11.so
  97. %{_datadir}/dbus-1/services/*
  98. %{_datadir}/GConf/gsettings/*
  99. %{_datadir}/glib-2.0/schemas/*
  100. %{_mandir}/man1/gnome-keyring-3.1.gz
  101. %{_mandir}/man1/gnome-keyring-daemon.1.gz
  102. %{_mandir}/man1/gnome-keyring.1.gz
  103. %files pam
  104. %defattr(-, root, root)
  105. /%{_lib}/security/*.so
  106. %changelog
  107. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  108. - new upstream release
  109. - remove BuildRequires: libcap-ng-devel
  110. * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  111. - new upstream release
  112. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  113. - new upstream release
  114. * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> 3.10.1-3
  115. - rebuilt libtasn1-3.4 and libgcrypt-1.6
  116. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  117. - rebuild with VineSeed environment
  118. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  119. - new upstream release
  120. - add BuildRequires: p11-kit-devel, libxslt, docbook-style-xsl
  121. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  122. - new upstream release
  123. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  124. - new upstream release
  125. * Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  126. - new upstream release
  127. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  128. - new upstream release
  129. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  130. - new upstream release
  131. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  132. - new upstream release
  133. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  134. - new upstream release
  135. - remove BuildRequires: p11-kit-devel
  136. - add BuildRequires: gcr-devel
  137. - remove devel sub package
  138. - remove compat32 sub packages
  139. * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  140. - new upstream release
  141. * Thu Oct 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  142. - new upstream release
  143. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  144. - new upstream release
  145. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  146. - new upstream release
  147. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  148. - new upstream release
  149. - remove Patch3
  150. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  151. - new upstream release
  152. - change BuildRequires: gtk3-devel instead of gtk2-devel
  153. - add BuildRequires: openssl-devel, p11-kit-devel, libcap-ng-devel
  154. - add Patch3 (gnome-keyring-3.1.4-git20110729.patch)
  155. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  156. - new upstream release
  157. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  158. - new upstream release
  159. - add configure option (--enable-pam)
  160. - remove configure option (--disable-schemas-install)
  161. - add Patch2 (%{name}-2.31.91-configure-vine.patch)
  162. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.3-2
  163. - build with rpm-4.8.1-1 for pkg-config file
  164. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  165. - new upstream release
  166. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  167. - new upstream release
  168. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  169. - new upstream release
  170. - remove BuildRequires: hal-devel
  171. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  172. - new upstream release
  173. - add BuildRequires: GConf2-devel
  174. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  175. - new upstream release
  176. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.3-2
  177. - added compat32 package for x86_64 arch support
  178. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  179. - new upstream release
  180. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  181. - new upstream release
  182. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  183. - new upstream release
  184. * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  185. - new upstream release
  186. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  187. - new upstream release
  188. * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  189. - new upstream release
  190. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  191. - new upstream release
  192. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  193. - new upstream release
  194. - added BuildRequires: libtasn1-devel
  195. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  196. - new upstream release
  197. - added a pam subpackage
  198. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-0vl1
  199. - new upstream release
  200. * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.9-0vl1
  201. - new upstream release
  202. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.8-0vl1
  203. - new upstream release
  204. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.5-0vl1
  205. - new upstream release
  206. * Wed Sep 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl1
  207. - new upstream release
  208. * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1
  209. - new upstream version
  210. * Sun Dec 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1
  211. - new upstream release
  212. * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  213. - initial build for Vine Linux based on fedora's spec file.
  214. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  215. - rebuilt
  216. * Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 0.2.0-1
  217. - update to 0.2.0
  218. * Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 0.1.90-1
  219. - update to 0.1.90
  220. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  221. - rebuilt
  222. * Tue Feb 24 2004 Alexander Larsson <alexl@redhat.com> 0.1.4-1
  223. - update to 0.1.4
  224. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  225. - rebuilt
  226. * Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 0.1.3-1
  227. - update to 0.1.3
  228. * Mon Jan 26 2004 Bill Nottingham <notting@redhat.com>
  229. - tweak summary
  230. * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-2
  231. - devel package only needs glib2-devel, not gtk2-devel
  232. * Fri Jan 23 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-1
  233. - First version