gnome-keyring-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. %define gtk3_version 3.4.1
  2. Summary: A framework for managing user passwords and other secrets
  3. Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク
  4. Name: gnome-keyring
  5. Version: 3.4.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.4/%{name}-%{version}.tar.xz
  10. URL: http://www.gnome.org
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: gtk3 >= %{gtk3_version}
  13. Requires(post,pre,preun): GConf2
  14. BuildRequires: gtk3-devel >= %{gtk3_version}
  15. BuildRequires: GConf2-devel >= 1.0
  16. BuildRequires: dbus-devel >= 1.0
  17. BuildRequires: gettext
  18. BuildRequires: libcap-ng-devel
  19. BuildRequires: libgcrypt-devel
  20. BuildRequires: libtasn1-devel
  21. BuildRequires: openssl-devel
  22. BuildRequires: gcr-devel
  23. BuildRequires: pam-devel
  24. BuildRequires: autoconf, automake, libtool
  25. BuildRequires: intltool
  26. BuildRequires: perl(XML::Parser)
  27. Patch2: %{name}-2.31.91-configure-vine.patch
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. gnome-keyring manages passwords and other types of secrets
  32. for the user, storing them encrypted with a main password.
  33. Applications can use the gnome-keyring library to integrate
  34. with the keyring.
  35. %package pam
  36. Summary: A pam module for unlocking keyrings at login time
  37. License: LGPLv2+
  38. Group: System Environment/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. # for /lib/security
  41. Requires: pam
  42. %description pam
  43. The gnome-keyring-pam package contains a pam module that can
  44. automatically unlock the "login" keyring when the user logs in
  45. and start the keyring daemon.
  46. %prep
  47. %setup -q -n gnome-keyring-%{version}
  48. %patch2 -p1 -b .vine
  49. %build
  50. %configure \
  51. --with-gtk=3.0 \
  52. --disable-gtk-doc \
  53. --disable-update-mime \
  54. --enable-pam \
  55. --with-pam-dir=/%{_lib}/security \
  56. --with-root-certs=%{_datadir}/ssl/certs
  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. %{_sysconfdir}/pkcs11/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. %files pam
  101. %defattr(-, root, root)
  102. /%{_lib}/security/*.so
  103. %changelog
  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