gnome-keyring-vl.spec 9.0 KB

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