Accepting request 100718 from GNOME:Factory

Pushing small bits of G:F

OBS-URL: https://build.opensuse.org/request/show/100718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gupnp-igd?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2012-01-20 21:07:09 +00:00 committed by Git OBS Bridge
commit aedcc8bc53
4 changed files with 68 additions and 30 deletions

View File

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

3
gupnp-igd-0.2.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Dec 23 10:40:40 UTC 2011 - vuntz@opensuse.org
- Split typelib file into typelib-1_0-GUPnPIgd-1_0 subpackage.
- Add typelib-1_0-GUPnPIgd-1_0 Requires to libgupnp-igd-devel
subpackage.
- Rename python-gupnp-id subpackage to python-gupnp-igd: there was
a typo in the package name. Add appropriate Provides/Obsoletes.
- Remove libgupnp-devel Requires from libgupnp-igd-devel
subpackage: it will automatically be added the pkgconfig() way.
-------------------------------------------------------------------
Tue Nov 8 10:10:50 UTC 2011 - dimstar@opensuse.org
- Update to version 0.2.1:
+ Restore the "main-context" property so that outsider can use
the GUPnPIgdThread's GMainContext for timers, etc
- Changes from version 0.2.0:
+ Use the thread current GMainContext instead of passing it as a
parameter
+ Make the GUPnPIgdThread object work with the new GUPnP 0.18
- Re-enabled parallel build.
- Rename libgupnp-igd-1_0-3 to libgupnp-igd-1_0-4, following
upstreams soname change.
-------------------------------------------------------------------
Thu Jun 16 18:28:48 CEST 2011 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gupnp-igd
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -16,55 +16,65 @@
#
Name: gupnp-igd
Version: 0.1.11
Release: 8
# FIXME: Check if parallel build works again (broken since 0.1.10)
Version: 0.2.1
Release: 0
# FIXME: on version bump, change versioned Obsoletes in python subpackage: <= to < (was 0.2.1)
Summary: Library to handle UPnP IGD port mapping
License: LGPLv2.1+
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://www.gupnp.org/
Source: %{name}-%{version}.tar.bz2
Source: http://gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: libgupnp-devel
BuildRequires: libgupnp-devel >= 0.18
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
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+
%package -n libgupnp-igd-1_0-4
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
%description -n libgupnp-igd-1_0-4
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+
%package -n typelib-1_0-GUPnPIgd-1_0
Summary: Library to handle UPnP IGD port mapping -- Introspection bindings
Group: Development/Libraries/C and C++
%description -n typelib-1_0-GUPnPIgd-1_0
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
to have a very simple API.
This package provides the GObject Introspection bindings for GUPnP-IGD.
%package -n python-gupnp-igd
Summary: Library to handle UPnP IGD port mapping - Python Bindings
Group: Development/Libraries/Python
Requires: libgupnp-igd-1_0-3 = %{version}
Requires: libgupnp-igd-1_0-4 = %{version}
# Doh, we made a typo in the package name until 12.2 :/
Provides: python-gupnp-id = %{version}
# FIXME: change <= to < once we have a new version (than 0.2.1)
Obsoletes: python-gupnp-id <= %{version}
%description -n python-gupnp-id
gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed
%description -n python-gupnp-igd
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
Requires: libgupnp-igd-1_0-4 = %{version}
Requires: typelib-1_0-GUPnPIgd-1_0 = %{version}
%description -n libgupnp-igd-devel
gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
to have a very simple API.
%prep
@ -72,7 +82,7 @@ to have a very simple API.
%build
%configure --disable-static
%__make
%__make %{?_smp_mflags}
%install
%makeinstall
@ -81,17 +91,20 @@ find %{buildroot} -type f -name "*.la" -delete -print
%clean
rm -rf %{buildroot}
%post -n libgupnp-igd-1_0-3 -p /sbin/ldconfig
%post -n libgupnp-igd-1_0-4 -p /sbin/ldconfig
%postun -n libgupnp-igd-1_0-3 -p /sbin/ldconfig
%postun -n libgupnp-igd-1_0-4 -p /sbin/ldconfig
%files -n libgupnp-igd-1_0-3
%files -n libgupnp-igd-1_0-4
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.so.*
%files -n typelib-1_0-GUPnPIgd-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
%files -n python-gupnp-id
%files -n python-gupnp-igd
%defattr(-,root,root)
%{python_sitearch}/gupnp/