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