gnome-keyring-vl.spec 9.8 KB

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