[libgnome-keyring] Enable introspection (cherry picked from commit 7c34b80a92cd6ab9346fc62ea620182f070e1dab)

Tomas Bzatek tbzatek at fedoraproject.org
Wed Apr 18 11:52:03 UTC 2012


commit ac015af5e89f1bc23c0ac5a35458261c63cb6ee9
Author: Tomas Bzatek <tbzatek at redhat.com>
Date:   Wed Apr 18 13:49:06 2012 +0200

    Enable introspection
    (cherry picked from commit 7c34b80a92cd6ab9346fc62ea620182f070e1dab)

 libgnome-keyring.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/libgnome-keyring.spec b/libgnome-keyring.spec
index c344724..aa9d241 100644
--- a/libgnome-keyring.spec
+++ b/libgnome-keyring.spec
@@ -5,7 +5,7 @@
 Summary: Framework for managing passwords and other secrets
 Name: libgnome-keyring
 Version: 3.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
 #VCS: git:git://git.gnome.org/libgnome-keyring
@@ -17,6 +17,7 @@ BuildRequires: glib2-devel >= %{glib2_version}
 BuildRequires: dbus-devel >= %{dbus_version}
 BuildRequires: libgcrypt-devel >= %{gcrypt_version}
 BuildRequires: intltool
+BuildRequires: gobject-introspection-devel
 Conflicts: gnome-keyring < 2.29.4
 
 
@@ -43,7 +44,7 @@ header files needed to develop applications that use libgnome-keyring.
 
 
 %build
-%configure --disable-gtk-doc
+%configure --disable-gtk-doc --enable-introspection=yes
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
@@ -67,15 +68,20 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
 %files -f libgnome-keyring.lang
 %doc AUTHORS NEWS README COPYING HACKING
 %{_libdir}/lib*.so.*
+%{_libdir}/girepository-1.0
 
 %files devel
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*
 %{_includedir}/*
+%{_datadir}/gir-1.0
 %doc %{_datadir}/gtk-doc/
 
 
 %changelog
+* Wed Apr 18 2012 Tomas Bzatek <tbzatek at redhat.com> - 3.4.1-2
+- Enable introspection
+
 * Mon Apr 16 2012 Richard Hughes <hughsient at gmail.com> - 3.4.1-1
 - Update to 3.4.1
 


More information about the scm-commits mailing list