gnome-keyring-vl.spec 9.8 KB

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