0.2.3, Enable gobject-introspection

This commit is contained in:
Peter Robinson 2014-02-07 12:00:40 +00:00
parent 4c18340de8
commit b6bf3f09b1
3 changed files with 13 additions and 9 deletions

4
.gitignore vendored
View File

@ -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

View File

@ -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 <pbrobinson@fedoraproject.org> 0.2.3-1
- Update to 0.2.3
- Enable gobject-introspection
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
f881323304185c02634034e3bda714ba gupnp-igd-0.2.2.tar.xz
c0a7b0c4a79e3f6cac45664d764519a4 gupnp-igd-0.2.3.tar.xz