gnome-keyring-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. %define gtk3_version 3.10.0
  2. Summary: A framework for managing user passwords and other secrets
  3. Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク
  4. Name: gnome-keyring
  5. Version: 3.10.1
  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.10/%{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: libcap-ng-devel
  17. BuildRequires: libgcrypt-devel
  18. BuildRequires: libtasn1-devel
  19. BuildRequires: openssl-devel
  20. BuildRequires: gcr-devel
  21. BuildRequires: pam-devel
  22. BuildRequires: p11-kit-devel
  23. BuildRequires: libxslt
  24. BuildRequires: docbook-style-xsl
  25. BuildRequires: autoconf, automake, libtool
  26. BuildRequires: intltool
  27. BuildRequires: perl(XML::Parser)
  28. Patch2: %{name}-2.31.91-configure-vine.patch
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. %description
  32. gnome-keyring manages passwords and other types of secrets
  33. for the user, storing them encrypted with a main password.
  34. Applications can use the gnome-keyring library to integrate
  35. with the keyring.
  36. %package pam
  37. Summary: A pam module for unlocking keyrings at login time
  38. License: LGPLv2+
  39. Group: System Environment/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. # for /lib/security
  42. Requires: pam
  43. %description pam
  44. The gnome-keyring-pam package contains a pam module that can
  45. automatically unlock the "login" keyring when the user logs in
  46. and start the keyring daemon.
  47. %prep
  48. %setup -q -n gnome-keyring-%{version}
  49. %patch2 -p1 -b .vine
  50. %build
  51. %configure \
  52. --with-gtk=3.0 \
  53. --disable-gtk-doc \
  54. --disable-update-mime \
  55. --enable-pam \
  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-daemon.1.gz
  101. %files pam
  102. %defattr(-, root, root)
  103. /%{_lib}/security/*.so
  104. %changelog
  105. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  106. - new upstream release
  107. - add BuildRequires: p11-kit-devel, libxslt, docbook-style-xsl
  108. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  109. - new upstream release
  110. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  111. - new upstream release
  112. * Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  113. - new upstream release
  114. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  115. - new upstream release
  116. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  117. - new upstream release
  118. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  119. - new upstream release
  120. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  121. - new upstream release
  122. - remove BuildRequires: p11-kit-devel
  123. - add BuildRequires: gcr-devel
  124. - remove devel sub package
  125. - remove compat32 sub packages
  126. * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  127. - new upstream release
  128. * Thu Oct 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  129. - new upstream release
  130. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  131. - new upstream release
  132. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  133. - new upstream release
  134. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  135. - new upstream release
  136. - remove Patch3
  137. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  138. - new upstream release
  139. - change BuildRequires: gtk3-devel instead of gtk2-devel
  140. - add BuildRequires: openssl-devel, p11-kit-devel, libcap-ng-devel
  141. - add Patch3 (gnome-keyring-3.1.4-git20110729.patch)
  142. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  143. - new upstream release
  144. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  145. - new upstream release
  146. - add configure option (--enable-pam)
  147. - remove configure option (--disable-schemas-install)
  148. - add Patch2 (%{name}-2.31.91-configure-vine.patch)
  149. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.3-2
  150. - build with rpm-4.8.1-1 for pkg-config file
  151. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  152. - new upstream release
  153. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  154. - new upstream release
  155. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  156. - new upstream release
  157. - remove BuildRequires: hal-devel
  158. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  159. - new upstream release
  160. - add BuildRequires: GConf2-devel
  161. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  162. - new upstream release
  163. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.3-2
  164. - added compat32 package for x86_64 arch support
  165. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  166. - new upstream release
  167. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  168. - new upstream release
  169. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  170. - new upstream release
  171. * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  172. - new upstream release
  173. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  174. - new upstream release
  175. * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  176. - new upstream release
  177. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  178. - new upstream release
  179. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  180. - new upstream release
  181. - added BuildRequires: libtasn1-devel
  182. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  183. - new upstream release
  184. - added a pam subpackage
  185. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-0vl1
  186. - new upstream release
  187. * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.9-0vl1
  188. - new upstream release
  189. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.8-0vl1
  190. - new upstream release
  191. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.5-0vl1
  192. - new upstream release
  193. * Wed Sep 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl1
  194. - new upstream release
  195. * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1
  196. - new upstream version
  197. * Sun Dec 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1
  198. - new upstream release
  199. * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  200. - initial build for Vine Linux based on fedora's spec file.
  201. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  202. - rebuilt
  203. * Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 0.2.0-1
  204. - update to 0.2.0
  205. * Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 0.1.90-1
  206. - update to 0.1.90
  207. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  208. - rebuilt
  209. * Tue Feb 24 2004 Alexander Larsson <alexl@redhat.com> 0.1.4-1
  210. - update to 0.1.4
  211. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  212. - rebuilt
  213. * Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 0.1.3-1
  214. - update to 0.1.3
  215. * Mon Jan 26 2004 Bill Nottingham <notting@redhat.com>
  216. - tweak summary
  217. * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-2
  218. - devel package only needs glib2-devel, not gtk2-devel
  219. * Fri Jan 23 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-1
  220. - First version