diff --git a/_service b/_service new file mode 100644 index 0000000..e743699 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + http + gupnp.org + /sites/all/files/sources/gupnp-igd-0.1.11.tar.gz + + + _service:download_url:*.tar.gz + bz2 + + + diff --git a/_service:recompress:download_url:gupnp-igd-0.1.11.tar.bz2 b/_service:recompress:download_url:gupnp-igd-0.1.11.tar.bz2 new file mode 100644 index 0000000..18e0d6d --- /dev/null +++ b/_service:recompress:download_url:gupnp-igd-0.1.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb12eed910d5ede08c4e83a611a019567619bf3f18f03b65cca9b970863376cd +size 307003 diff --git a/_service:set_version:gupnp-igd.spec b/_service:set_version:gupnp-igd.spec new file mode 100644 index 0000000..141ba62 --- /dev/null +++ b/_service:set_version:gupnp-igd.spec @@ -0,0 +1,108 @@ +# +# spec file for package gupnp-igd (Version 0.1.7) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: gupnp-igd +Version: 0.1.11 +Release: 0 +# FIXME: Check if parallel build works again (broken since 0.1.10) +Summary: Library to handle UPnP IGD port mapping +License: LGPLv2.1+ +Group: Development/Libraries/C and C++ +Url: http://www.gupnp.org/ +Source: %{name}-%{version}.tar.bz2 +BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc +BuildRequires: libgupnp-devel +BuildRequires: python-devel +BuildRequires: python-gobject2-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed +to have a very simple API. + +%package -n libgupnp-igd-1_0-3 +License: LGPLv2.1+ +Summary: Library to handle UPnP IGD port mapping +Group: Development/Libraries/C and C++ + +%description -n libgupnp-igd-1_0-3 +gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed +to have a very simple API. + +%package -n python-gupnp-id +License: LGPLv2.1+ +Summary: Library to handle UPnP IGD port mapping - Python Bindings +Group: Development/Libraries/Python +Requires: libgupnp-igd-1_0-3 = %{version} + +%description -n python-gupnp-id +gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed +to have a very simple API. + +%package -n libgupnp-igd-devel +License: LGPLv2.1+ +Summary: Library to handle UPnP IGD port mapping - Development Files +Group: Development/Libraries/C and C++ +Requires: libgupnp-igd-1_0-3 = %{version} +Requires: libgupnp-devel + +%description -n libgupnp-igd-devel +gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed +to have a very simple API. + +%prep +%setup -q + +%build +%configure --disable-static +%__make + +%install +%makeinstall +find %{buildroot} -type f -name "*.la" -delete -print + +%clean +rm -rf %{buildroot} + +%post -n libgupnp-igd-1_0-3 -p /sbin/ldconfig + +%postun -n libgupnp-igd-1_0-3 -p /sbin/ldconfig + +%files -n libgupnp-igd-1_0-3 +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README +%{_libdir}/*.so.* +%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib + +%files -n python-gupnp-id +%defattr(-,root,root) +%{python_sitearch}/gupnp/ + +%files -n libgupnp-igd-devel +%defattr(-,root,root) +%{_includedir}/%{name}-1.0 +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/%{name} + +%changelog diff --git a/gupnp-igd-0.1.7.tar.bz2 b/gupnp-igd-0.1.7.tar.bz2 deleted file mode 100644 index 1cde241..0000000 --- a/gupnp-igd-0.1.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e882e6231e7e178631f653d74981133a636bb5d8bfe13979a3325fbc5e181439 -size 295667 diff --git a/gupnp-igd-make382.patch b/gupnp-igd-make382.patch deleted file mode 100644 index b1ce6db..0000000 --- a/gupnp-igd-make382.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 0ba5417df63c60dbc46c24380a8872f716a9cb95 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Sat, 11 Sep 2010 22:25:48 +0200 -Subject: [PATCH] Fix build with make 3.82. Make is not bash. - ---- - python/Makefile.am | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/python/Makefile.am b/python/Makefile.am -index ee31665..0931b82 100644 ---- a/python/Makefile.am -+++ b/python/Makefile.am -@@ -1,5 +1,5 @@ - PYDEFS=`pkg-config --variable=defsdir pygobject-2.0` --[ -z "$PYDEFS" && PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`] -+PYDEFS ?= `pkg-config --variable=defsdir pygtk-2.0` - - AM_CPPFLAGS = \ - -I. \ --- -1.7.1 - diff --git a/gupnp-igd.changes b/gupnp-igd.changes index 2005c2a..cd3bea2 100644 --- a/gupnp-igd.changes +++ b/gupnp-igd.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu May 5 09:07:28 CEST 2011 - vuntz@opensuse.org + +- Update to version 0.1.11: + + Disable introspection correctly on --disable-introspection + +------------------------------------------------------------------- +Fri Apr 29 14:49:09 UTC 2011 - dimstar@opensuse.org + +- Update to version 0.1.10: + + Port to gobject-introspection 0.10 +- Changes from version 0.1.9: + + Set thread default main context +- Changes from version 0.1.8: + - Add GObject Introspection support + - Return a valid GError if the other side returns an invalid IP + - Make newer GNU Make and newer GCC happy +- Drop gupnp-igd-make382.patch and related autoreconf call: fixed + upstream. +- Add gobject-introspection-devel BuildRequires for introspection + support. +- Disable parallel build for now: it's broken. +- Use source services: download_url, recompress and set_version. + ------------------------------------------------------------------- Sat Sep 11 20:27:55 UTC 2010 - dimstar@opensuse.org diff --git a/gupnp-igd.spec b/gupnp-igd.spec index 1d7c842..46b810a 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -20,13 +20,13 @@ Name: gupnp-igd Version: 0.1.7 Release: 2 +# FIXME: Check if parallel build works again (broken since 0.1.10) Summary: Library to handle UPnP IGD port mapping License: LGPLv2.1+ Group: Development/Libraries/C and C++ Url: http://www.gupnp.org/ Source: %{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM gupnp-igd-make382.patch dimstar@opensuse.org -- Fix build with make 3.82. Requires autoreconf and gtk-doc BuildRequires. -Patch0: gupnp-igd-make382.patch +BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: libgupnp-devel BuildRequires: python-devel @@ -69,13 +69,10 @@ to have a very simple API. %prep %setup -q -%patch0 -p1 %build -# Autoreconf is needed for patch0 -- Fix build with make 3.82 -autoreconf %configure --disable-static -%__make %{?jobs:-j%jobs} +%__make %install %makeinstall @@ -92,6 +89,7 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_libdir}/*.so.* +%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib %files -n python-gupnp-id %defattr(-,root,root) @@ -102,6 +100,7 @@ rm -rf %{buildroot} %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/%{name}