gnome-keyring-vl.spec 7.7 KB

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