gnome-keyring-vl.spec 10 KB

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