diff --git a/_service b/_service new file mode 100644 index 0000000..1ea7b29 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + http + gupnp.org + /sites/all/files/sources/gupnp-igd-0.1.10.tar.gz + + + _service:download_url:*.tar.gz + bz2 + + + diff --git a/_service:recompress:download_url:gupnp-igd-0.1.10.tar.bz2 b/_service:recompress:download_url:gupnp-igd-0.1.10.tar.bz2 new file mode 100644 index 0000000..bcdf4e4 --- /dev/null +++ b/_service:recompress:download_url:gupnp-igd-0.1.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:582db66f57f112b76b17ed50169797c0475fb124a38019c929289839ebe4fbb9 +size 306717 diff --git a/_service:set_version:gupnp-igd.spec b/_service:set_version:gupnp-igd.spec new file mode 100644 index 0000000..699d2ff --- /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.10 +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) +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir +%{_includedir}/%{name}-1.0 +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%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.changes b/gupnp-igd.changes index 977d50a..0c20bf5 100644 --- a/gupnp-igd.changes +++ b/gupnp-igd.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +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. +- BuildRequire gobject-introspection-devel +- Use source services: download_url, recompress and set_version. +- Disable parallel build for now. It's broken. + +------------------------------------------------------------------- +Sat Sep 11 20:27:55 UTC 2010 - dimstar@opensuse.org + +- Add gupnp-igd-make382.patch: Fix build with make 3.82 +- Add autoreconf call in build section. +- Add gtk-doc BuildRequires. + ------------------------------------------------------------------- Mon Jun 21 12:48:54 CEST 2010 - dimstar@opensuse.org diff --git a/gupnp-igd.spec b/gupnp-igd.spec index 5eb1e68..c6f151d 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -19,12 +19,15 @@ Name: gupnp-igd Version: 0.1.7 -Release: 1 +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 +BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc BuildRequires: libgupnp-devel BuildRequires: python-devel BuildRequires: python-gobject2-devel @@ -69,7 +72,7 @@ to have a very simple API. %build %configure --disable-static -%__make %{?jobs:-j%jobs} +%__make %install %makeinstall @@ -86,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) @@ -93,6 +97,7 @@ rm -rf %{buildroot} %files -n libgupnp-igd-devel %defattr(-,root,root) +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir %{_includedir}/%{name}-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc