Accepting request 69767 from GNOME:Factory
New upstream release OBS-URL: https://build.opensuse.org/request/show/69767 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gupnp-igd?expand=0&rev=11
This commit is contained in:
commit
e1af5011d6
12
_service
Normal file
12
_service
Normal 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.11.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>
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bb12eed910d5ede08c4e83a611a019567619bf3f18f03b65cca9b970863376cd
|
||||||
|
size 307003
|
108
_service:set_version:gupnp-igd.spec
Normal file
108
_service:set_version:gupnp-igd.spec
Normal 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.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
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e882e6231e7e178631f653d74981133a636bb5d8bfe13979a3325fbc5e181439
|
|
||||||
size 295667
|
|
@ -1,23 +0,0 @@
|
|||||||
From 0ba5417df63c60dbc46c24380a8872f716a9cb95 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
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
|
|
||||||
|
|
@ -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
|
Sat Sep 11 20:27:55 UTC 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
Name: gupnp-igd
|
Name: gupnp-igd
|
||||||
Version: 0.1.7
|
Version: 0.1.7
|
||||||
Release: 2
|
Release: 2
|
||||||
|
# FIXME: Check if parallel build works again (broken since 0.1.10)
|
||||||
Summary: Library to handle UPnP IGD port mapping
|
Summary: Library to handle UPnP IGD port mapping
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.gupnp.org/
|
Url: http://www.gupnp.org/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
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.
|
BuildRequires: gobject-introspection-devel
|
||||||
Patch0: gupnp-igd-make382.patch
|
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: libgupnp-devel
|
BuildRequires: libgupnp-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@ -69,13 +69,10 @@ to have a very simple API.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Autoreconf is needed for patch0 -- Fix build with make 3.82
|
|
||||||
autoreconf
|
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
%__make %{?jobs:-j%jobs}
|
%__make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
@ -92,6 +89,7 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
||||||
|
|
||||||
%files -n python-gupnp-id
|
%files -n python-gupnp-id
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -102,6 +100,7 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/%{name}-1.0
|
%{_includedir}/%{name}-1.0
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%{_datadir}/gtk-doc/html/%{name}
|
%{_datadir}/gtk-doc/html/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user