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