From b6bf3f09b13e17abe9fbde0e2b64aa271c64f0e0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 7 Feb 2014 12:00:40 +0000 Subject: [PATCH] 0.2.3, Enable gobject-introspection --- .gitignore | 4 +--- gupnp-igd.spec | 16 +++++++++++----- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3b5c627..6b901c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -gupnp-igd-0.1.7.tar.gz -/gupnp-igd-0.2.1.tar.gz -/gupnp-igd-0.2.2.tar.xz +/gupnp-igd-0.*.tar.xz diff --git a/gupnp-igd.spec b/gupnp-igd.spec index 008e986..0bb822b 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -1,8 +1,8 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: gupnp-igd -Version: 0.2.2 -Release: 2%{?dist} +Version: 0.2.3 +Release: 1%{?dist} Summary: Library to handle UPnP IGD port mapping Group: System Environment/Libraries @@ -11,10 +11,10 @@ URL: http://live.gnome.org/GUPnP Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.xz BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel BuildRequires: gupnp-devel BuildRequires: pygtk2-devel - %description %{name} is a library to handle UPnP IGD port mapping. @@ -47,10 +47,10 @@ developing applications that use %{name}. %build -%configure --disable-static +%configure --disable-static --enable-python --enable-introspection=yes # quite rpmlint error about unused-direct-shlib-dependency sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -make %{?_smp_mflags} +LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags} %install @@ -67,6 +67,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %files %doc README COPYING %{_libdir}/*.so.* +%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib %files python @@ -80,9 +81,14 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}-1.0*.pc %{_datadir}/gtk-doc/html/%{name}/ +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir %changelog +* Fri Feb 7 2014 Peter Robinson 0.2.3-1 +- Update to 0.2.3 +- Enable gobject-introspection + * Sat Aug 03 2013 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 291e5b3..d10064c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f881323304185c02634034e3bda714ba gupnp-igd-0.2.2.tar.xz +c0a7b0c4a79e3f6cac45664d764519a4 gupnp-igd-0.2.3.tar.xz