Tomas Bzatek be31c80
%define glib2_version 2.16.0
Tomas Bzatek be31c80
%define dbus_version 1.0
Tomas Bzatek be31c80
%define gcrypt_version 1.2.2
Tomas Bzatek be31c80
Tomas Bzatek be31c80
Summary: Framework for managing passwords and other secrets
Tomas Bzatek be31c80
Name: libgnome-keyring
fee73b0
Version: 2.32.0
c8ede95
Release: 2%{?dist}
Tomas Bzatek be31c80
License: GPLv2+ and LGPLv2+
Tomas Bzatek be31c80
Group: System Environment/Libraries
1bafe44
#VCS: git:git://git.gnome.org/libgnome-keyring
fee73b0
Source: http://download.gnome.org/sources/libgnome-keyring/2.32/libgnome-keyring-%{version}.tar.bz2
Tomas Bzatek be31c80
URL: http://live.gnome.org/GnomeKeyring
Tomas Bzatek be31c80
c8ede95
# gkr_operation_block_and_unref(): assertion failed: (op->pending != pending)
c8ede95
# https://bugzilla.gnome.org/show_bug.cgi?id=644407
c8ede95
Patch0: libgnome-keyring-2.91.93-operation-assert.patch
c8ede95
Tomas Bzatek be31c80
BuildRequires: glib2-devel >= %{glib2_version}
Tomas Bzatek be31c80
BuildRequires: dbus-devel >= %{dbus_version}
Tomas Bzatek be31c80
BuildRequires: libgcrypt-devel >= %{gcrypt_version}
Tomas Bzatek be31c80
BuildRequires: intltool
Tomas Bzatek be31c80
Conflicts: gnome-keyring < 2.29.4
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%description
Tomas Bzatek be31c80
gnome-keyring is a program that keep password and other secrets for
Tomas Bzatek be31c80
users. The library libgnome-keyring is used by applications to integrate
Tomas Bzatek be31c80
with the gnome-keyring system.
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%package devel
Tomas Bzatek be31c80
Summary: Development files for libgnome-keyring
Tomas Bzatek be31c80
License: LGPLv2+
Tomas Bzatek be31c80
Group: Development/Libraries
Tomas Bzatek be31c80
Requires: %name = %{version}-%{release}
Tomas Bzatek be31c80
Requires: glib2-devel
Tomas Bzatek be31c80
Conflicts: gnome-keyring-devel < 2.29.4
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%description devel
Tomas Bzatek be31c80
The libgnome-keyring-devel package contains the libraries and
Tomas Bzatek be31c80
header files needed to develop applications that use libgnome-keyring.
Tomas Bzatek be31c80
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%prep
Tomas Bzatek be31c80
%setup -q -n libgnome-keyring-%{version}
c8ede95
%patch0 -p1 -b .op-assert
Tomas Bzatek 6049b31
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%build
Tomas Bzatek be31c80
%configure --disable-gtk-doc
Tomas Bzatek be31c80
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Tomas Bzatek be31c80
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Tomas Bzatek be31c80
Tomas Bzatek be31c80
# avoid unneeded direct dependencies
Tomas Bzatek be31c80
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
Tomas Bzatek be31c80
Tomas Bzatek be31c80
make %{?_smp_mflags}
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%install
Tomas Bzatek be31c80
make install DESTDIR=$RPM_BUILD_ROOT
Tomas Bzatek be31c80
rm $RPM_BUILD_ROOT%{_libdir}/*.la
Tomas Bzatek be31c80
Tomas Bzatek 4f94091
%find_lang libgnome-keyring
Tomas Bzatek be31c80
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%post -p /sbin/ldconfig
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%postun -p /sbin/ldconfig
Tomas Bzatek be31c80
Tomas Bzatek be31c80
Tomas Bzatek 4f94091
%files -f libgnome-keyring.lang
Tomas Bzatek be31c80
%defattr(-, root, root, -)
Tomas Bzatek be31c80
%doc AUTHORS NEWS README COPYING HACKING
Tomas Bzatek be31c80
%{_libdir}/lib*.so.*
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%files devel
Tomas Bzatek be31c80
%defattr(-, root, root, -)
Tomas Bzatek be31c80
%{_libdir}/lib*.so
Tomas Bzatek be31c80
%{_libdir}/pkgconfig/*
Tomas Bzatek be31c80
%{_includedir}/*
beef484
%doc %{_datadir}/gtk-doc/
Tomas Bzatek be31c80
Tomas Bzatek be31c80
Tomas Bzatek be31c80
%changelog
c8ede95
* Fri Mar 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.32.0-2
c8ede95
- Fix an invalid assert checking pending calls (#660407, #665761)
c8ede95
fee73b0
* Mon Sep 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1
fee73b0
- Update to 2.32.0
fee73b0
85dbb3f
* Mon Sep 13 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.31.92-1
85dbb3f
- Update to 2.31.92
4fcb344
beef484
* Tue Aug 31 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.91-1
beef484
- Update to 2.31.91
beef484
Tomas Bzatek 5f1db49
* Tue Apr 27 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.30.1-1
Tomas Bzatek 5f1db49
- Update to 2.30.1
Tomas Bzatek 5f1db49
Tomas Bzatek 459cdc0
* Mon Apr 19 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.30.0-2
Tomas Bzatek 459cdc0
- Workaround for problem with endless loop during blocking operations (#573202)
Tomas Bzatek 459cdc0
1bafe44
* Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.0-1
1bafe44
- Update to 2.30.0
1bafe44
Tomas Bzatek 7df14d2
* Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1
Tomas Bzatek 7df14d2
- Update to a new git snapshot
Tomas Bzatek 7df14d2
Tomas Bzatek 4f94091
* Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1
Tomas Bzatek 4f94091
- Update to 2.29.92 git snapshot
Tomas Bzatek 4f94091
Tomas Bzatek f12814d
* Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4
Tomas Bzatek f12814d
- When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH
Tomas Bzatek f12814d
Tomas Bzatek f5818fc
* Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3
Tomas Bzatek f5818fc
- Fix assertion when password is not found
Tomas Bzatek f5818fc
Tomas Bzatek 6049b31
* Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2
Tomas Bzatek 6049b31
- Fix assertion calling deprecated acl function
Tomas Bzatek 6049b31
- Clear the client's session when the service disconnects
Tomas Bzatek 6049b31
- Implement setting of Type property in gnome_keyring_item_set_info()
Tomas Bzatek 6049b31
Tomas Bzatek be31c80
* Thu Jan  7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1
Tomas Bzatek be31c80
- Initial packaging