[805] | 1 | %define gtk2_version 2.20.0 |
---|
[521] | 2 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 3 | |
---|
| 4 | Summary: A framework for managing user passwords and other secrets |
---|
| 5 | Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク |
---|
| 6 | Name: gnome-keyring |
---|
[1251] | 7 | Version: 2.30.3 |
---|
[1858] | 8 | Release: 2%{?_dist_release} |
---|
[521] | 9 | License: GPL/LGPL |
---|
| 10 | Group: System Environment/Libraries |
---|
| 11 | Source: gnome-keyring-%{version}.tar.bz2 |
---|
| 12 | URL: http://www.gnome.org |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | Requires: gtk2 >= %{gtk2_version} |
---|
| 15 | Requires(post,pre,preun): GConf2 |
---|
| 16 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
[623] | 17 | BuildRequires: GConf2-devel >= 1.0 |
---|
[521] | 18 | BuildRequires: dbus-devel >= 1.0 |
---|
| 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: libgcrypt-devel |
---|
| 21 | BuildRequires: libtasn1-devel |
---|
| 22 | BuildRequires: pam-devel |
---|
| 23 | BuildRequires: autoconf, automake, libtool |
---|
| 24 | BuildRequires: intltool |
---|
| 25 | BuildRequires: perl(XML::Parser) |
---|
| 26 | |
---|
| 27 | # http://bugzilla.gnome.org/show_bug.cgi?id=484612 |
---|
| 28 | Patch0: gnome-keyring-2.20-selinux-pam.patch |
---|
| 29 | |
---|
| 30 | # autounlock does not currently work, see |
---|
| 31 | # https://bugzilla.redhat.com/show_bug.cgi?id=250147 |
---|
| 32 | Patch1: no-autounlock.patch |
---|
| 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 devel |
---|
| 41 | Summary: The files needed for gnome-keyring application development. |
---|
| 42 | Group: Development/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | Requires: glib2-devel |
---|
| 45 | |
---|
| 46 | %description devel |
---|
| 47 | The gnome-keyring-devel package contains the libraries and |
---|
| 48 | include files that you can use to develop applications that |
---|
| 49 | use gnome-keyring. |
---|
| 50 | |
---|
| 51 | %package pam |
---|
| 52 | Summary: A pam module for unlocking keyrings at login time |
---|
| 53 | License: LGPLv2+ |
---|
| 54 | Group: System Environment/Libraries |
---|
| 55 | Requires: %{name} = %{version}-%{release} |
---|
| 56 | # for /lib/security |
---|
| 57 | Requires: pam |
---|
| 58 | |
---|
| 59 | %description pam |
---|
| 60 | The gnome-keyring-pam package contains a pam module that can |
---|
| 61 | automatically unlock the "login" keyring when the user logs in |
---|
| 62 | and start the keyring daemon. |
---|
| 63 | |
---|
| 64 | # compat32 |
---|
| 65 | %package -n compat32-%{name} |
---|
| 66 | Summary: A framework for managing user passwords and other secrets |
---|
| 67 | Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク |
---|
| 68 | Group: System Environment/Libraries |
---|
| 69 | Requires: %{name} = %{version}-%{release} |
---|
| 70 | |
---|
| 71 | %description -n compat32-%{name} |
---|
| 72 | gnome-keyring manages passwords and other types of secrets |
---|
| 73 | for the user, storing them encrypted with a main password. |
---|
| 74 | Applications can use the gnome-keyring library to integrate |
---|
| 75 | with the keyring. |
---|
| 76 | |
---|
| 77 | %package -n compat32-%{name}-devel |
---|
| 78 | Summary: The files needed for gnome-keyring application development. |
---|
| 79 | Group: Development/Libraries |
---|
| 80 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 81 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 82 | Requires: compat32-glib2-devel |
---|
| 83 | |
---|
| 84 | %description -n compat32-%{name}-devel |
---|
| 85 | The gnome-keyring-devel package contains the libraries and |
---|
| 86 | include files that you can use to develop applications that |
---|
| 87 | use gnome-keyring. |
---|
| 88 | |
---|
| 89 | %package -n compat32-%{name}-pam |
---|
| 90 | Summary: A pam module for unlocking keyrings at login time |
---|
| 91 | License: LGPLv2+ |
---|
| 92 | Group: System Environment/Libraries |
---|
| 93 | Requires: %{name}-pam = %{version}-%{release} |
---|
| 94 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 95 | # for /lib/security |
---|
| 96 | Requires: compat32-pam |
---|
| 97 | |
---|
| 98 | %description -n compat32-%{name}-pam |
---|
| 99 | The gnome-keyring-pam package contains a pam module that can |
---|
| 100 | automatically unlock the "login" keyring when the user logs in |
---|
| 101 | and start the keyring daemon. |
---|
| 102 | |
---|
| 103 | %prep |
---|
| 104 | %setup -q -n gnome-keyring-%{version} |
---|
| 105 | |
---|
| 106 | #patch0 -p1 -b .selinux_pam |
---|
| 107 | #patch1 -p1 -b .no-autounlock |
---|
| 108 | |
---|
| 109 | %build |
---|
| 110 | %configure --disable-gtk-doc --with-pam-dir=/%{_lib}/security --disable-schemas-install |
---|
| 111 | make %{?_smp_mflags} |
---|
| 112 | |
---|
| 113 | %install |
---|
| 114 | rm -rf $RPM_BUILD_ROOT |
---|
| 115 | make install install-pam DESTDIR=$RPM_BUILD_ROOT |
---|
| 116 | |
---|
| 117 | rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring.so |
---|
| 118 | |
---|
| 119 | %find_lang %{name} |
---|
| 120 | |
---|
| 121 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 122 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*.la |
---|
| 123 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*/*.la |
---|
| 124 | rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la |
---|
| 125 | |
---|
| 126 | %clean |
---|
| 127 | rm -rf $RPM_BUILD_ROOT |
---|
| 128 | |
---|
| 129 | %post |
---|
| 130 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 131 | gconftool-2 --makefile-install-rule \ |
---|
| 132 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas \ |
---|
| 133 | > /dev/null || : |
---|
| 134 | /sbin/ldconfig |
---|
| 135 | |
---|
| 136 | %pre |
---|
| 137 | if [ "$1" -gt 1 ]; then |
---|
| 138 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 139 | gconftool-2 --makefile-install-rule \ |
---|
| 140 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas \ |
---|
| 141 | > /dev/null || : |
---|
| 142 | fi |
---|
| 143 | |
---|
| 144 | %preun |
---|
| 145 | if [ "$1" -eq 0 ]; then |
---|
| 146 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 147 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 148 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas \ |
---|
| 149 | > /dev/null || : |
---|
| 150 | fi |
---|
| 151 | |
---|
| 152 | %postun -p /sbin/ldconfig |
---|
| 153 | |
---|
| 154 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 155 | |
---|
| 156 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 157 | |
---|
| 158 | %files -f %{name}.lang |
---|
| 159 | %defattr(-, root, root) |
---|
| 160 | %doc AUTHORS NEWS README COPYING COPYING.LIB |
---|
| 161 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
[805] | 162 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
---|
| 163 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop |
---|
| 164 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop |
---|
[521] | 165 | %{_bindir}/* |
---|
| 166 | %{_libdir}/lib*.so.* |
---|
| 167 | %dir %{_libdir}/gnome-keyring |
---|
| 168 | %{_libdir}/gnome-keyring/*.so |
---|
| 169 | %{_libdir}/gnome-keyring/devel/*.so |
---|
| 170 | %{_libdir}/gnome-keyring/standalone/*.so |
---|
| 171 | %{_libexecdir}/* |
---|
| 172 | %{_datadir}/dbus-1/services/* |
---|
[805] | 173 | %{_datadir}/gnome-keyring |
---|
[521] | 174 | %dir %{_datadir}/gcr |
---|
| 175 | %{_datadir}/gcr/ui/*.ui |
---|
| 176 | |
---|
| 177 | %files devel |
---|
| 178 | %defattr(-, root, root) |
---|
| 179 | %{_libdir}/lib*.so |
---|
| 180 | %{_libdir}/pkgconfig/* |
---|
| 181 | %{_includedir}/* |
---|
[805] | 182 | ## %{_datadir}/gtk-doc/html/gnome-keyring |
---|
[521] | 183 | %{_datadir}/gtk-doc/html/gp11 |
---|
| 184 | %{_datadir}/gtk-doc/html/gcr |
---|
| 185 | |
---|
| 186 | %files pam |
---|
| 187 | %defattr(-, root, root) |
---|
| 188 | /%{_lib}/security/*.so |
---|
| 189 | |
---|
| 190 | # compat32 |
---|
| 191 | %if %{build_compat32} |
---|
| 192 | %files -n compat32-%{name} |
---|
| 193 | %defattr(-, root, root) |
---|
| 194 | %{_libdir}/lib*.so.* |
---|
| 195 | %dir %{_libdir}/gnome-keyring |
---|
| 196 | %{_libdir}/gnome-keyring/*.so |
---|
| 197 | %{_libdir}/gnome-keyring/devel/*.so |
---|
| 198 | %{_libdir}/gnome-keyring/standalone/*.so |
---|
| 199 | |
---|
| 200 | %files -n compat32-%{name}-devel |
---|
| 201 | %defattr(-, root, root) |
---|
| 202 | %{_libdir}/lib*.so |
---|
| 203 | %{_libdir}/pkgconfig/* |
---|
| 204 | |
---|
| 205 | %files -n compat32-%{name}-pam |
---|
| 206 | %defattr(-, root, root) |
---|
| 207 | /%{_lib}/security/*.so |
---|
| 208 | %endif |
---|
| 209 | |
---|
| 210 | %changelog |
---|
[1858] | 211 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.3-2 |
---|
| 212 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 213 | |
---|
[1251] | 214 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1 |
---|
| 215 | - new upstream release |
---|
| 216 | |
---|
[926] | 217 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 218 | - new upstream release |
---|
| 219 | |
---|
[805] | 220 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 221 | - new upstream release |
---|
| 222 | - remove BuildRequires: hal-devel |
---|
| 223 | |
---|
[623] | 224 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 225 | - new upstream release |
---|
| 226 | - add BuildRequires: GConf2-devel |
---|
| 227 | |
---|
[521] | 228 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
| 229 | - new upstream release |
---|
| 230 | |
---|
| 231 | * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.3-2 |
---|
| 232 | - added compat32 package for x86_64 arch support |
---|
| 233 | |
---|
| 234 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1 |
---|
| 235 | - new upstream release |
---|
| 236 | |
---|
| 237 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 238 | - new upstream release |
---|
| 239 | |
---|
| 240 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 241 | - new upstream release |
---|
| 242 | |
---|
| 243 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
| 244 | - new upstream release |
---|
| 245 | |
---|
| 246 | * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 247 | - new upstream release |
---|
| 248 | |
---|
| 249 | * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
| 250 | - new upstream release |
---|
| 251 | |
---|
| 252 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 253 | - new upstream release |
---|
| 254 | |
---|
| 255 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
| 256 | - new upstream release |
---|
| 257 | - added BuildRequires: libtasn1-devel |
---|
| 258 | |
---|
| 259 | * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1 |
---|
| 260 | - new upstream release |
---|
| 261 | - added a pam subpackage |
---|
| 262 | |
---|
| 263 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-0vl1 |
---|
| 264 | - new upstream release |
---|
| 265 | |
---|
| 266 | * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.9-0vl1 |
---|
| 267 | - new upstream release |
---|
| 268 | |
---|
| 269 | * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.8-0vl1 |
---|
| 270 | - new upstream release |
---|
| 271 | |
---|
| 272 | * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.5-0vl1 |
---|
| 273 | - new upstream release |
---|
| 274 | |
---|
| 275 | * Wed Sep 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl1 |
---|
| 276 | - new upstream release |
---|
| 277 | |
---|
| 278 | * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1 |
---|
| 279 | - new upstream version |
---|
| 280 | |
---|
| 281 | * Sun Dec 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1 |
---|
| 282 | - new upstream release |
---|
| 283 | |
---|
| 284 | * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
---|
| 285 | - initial build for Vine Linux based on fedora's spec file. |
---|
| 286 | |
---|
| 287 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 288 | - rebuilt |
---|
| 289 | |
---|
| 290 | * Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 0.2.0-1 |
---|
| 291 | - update to 0.2.0 |
---|
| 292 | |
---|
| 293 | * Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 0.1.90-1 |
---|
| 294 | - update to 0.1.90 |
---|
| 295 | |
---|
| 296 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 297 | - rebuilt |
---|
| 298 | |
---|
| 299 | * Tue Feb 24 2004 Alexander Larsson <alexl@redhat.com> 0.1.4-1 |
---|
| 300 | - update to 0.1.4 |
---|
| 301 | |
---|
| 302 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 303 | - rebuilt |
---|
| 304 | |
---|
| 305 | * Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 0.1.3-1 |
---|
| 306 | - update to 0.1.3 |
---|
| 307 | |
---|
| 308 | * Mon Jan 26 2004 Bill Nottingham <notting@redhat.com> |
---|
| 309 | - tweak summary |
---|
| 310 | |
---|
| 311 | * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-2 |
---|
| 312 | - devel package only needs glib2-devel, not gtk2-devel |
---|
| 313 | |
---|
| 314 | * Fri Jan 23 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-1 |
---|
| 315 | - First version |
---|