Accepting request 68843 from home:dimstar:branches:GNOME:Factory

Update to 0.1.10

OBS-URL: https://build.opensuse.org/request/show/68843
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-igd?expand=0&rev=16
This commit is contained in:
Vincent Untz 2011-05-02 19:15:23 +00:00 committed by Git OBS Bridge
parent 2b3525c36d
commit 0f25c90157
6 changed files with 154 additions and 5 deletions

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">gupnp.org</param>
<param name="path">/sites/all/files/sources/gupnp-igd-0.1.10.tar.gz</param>
</service>
<service name="recompress">
<param name="file">_service:download_url:*.tar.gz</param>
<param name="compression">bz2</param>
</service>
<service name="set_version" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:582db66f57f112b76b17ed50169797c0475fb124a38019c929289839ebe4fbb9
size 306717

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e882e6231e7e178631f653d74981133a636bb5d8bfe13979a3325fbc5e181439
size 295667

View File

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

View File

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