2009-07-08 04:37:24 +02:00
|
|
|
#
|
2011-05-06 16:17:41 +02:00
|
|
|
# spec file for package gupnp-igd
|
2009-07-08 04:37:24 +02:00
|
|
|
#
|
2012-01-13 14:19:35 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-07-08 04:37:24 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-01-13 14:19:35 +01:00
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
Name: gupnp-igd
|
2012-12-11 17:49:10 +01:00
|
|
|
Version: 0.2.2
|
2011-12-23 16:21:25 +01:00
|
|
|
Release: 0
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
2011-12-23 16:21:25 +01:00
|
|
|
License: LGPL-2.1+
|
2009-07-08 04:37:24 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://www.gupnp.org/
|
2012-12-11 17:49:10 +01:00
|
|
|
Source: http://download.gnome.org/sources/gupnp-igd/0.2/%{name}-%{version}.tar.xz
|
2011-05-02 21:15:23 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
2011-11-08 12:10:59 +01:00
|
|
|
BuildRequires: libgupnp-devel >= 0.18
|
2010-01-18 14:29:59 +01:00
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-gobject2-devel
|
2009-07-08 04:37:24 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%package -n libgupnp-igd-1_0-4
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%description -n libgupnp-igd-1_0-4
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
2011-12-23 16:21:25 +01:00
|
|
|
%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
|
2010-01-18 14:29:59 +01:00
|
|
|
Summary: Library to handle UPnP IGD port mapping - Python Bindings
|
|
|
|
Group: Development/Libraries/Python
|
2012-01-13 14:19:35 +01:00
|
|
|
Requires: libgupnp-igd-1_0-4 = %{version}
|
2011-12-23 16:21:25 +01:00
|
|
|
# Doh, we made a typo in the package name until 12.2 :/
|
|
|
|
Provides: python-gupnp-id = %{version}
|
2012-12-11 17:49:10 +01:00
|
|
|
Obsoletes: python-gupnp-id < %{version}
|
2010-01-18 14:29:59 +01:00
|
|
|
|
2011-12-23 16:21:25 +01:00
|
|
|
%description -n python-gupnp-igd
|
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2010-01-18 14:29:59 +01:00
|
|
|
to have a very simple API.
|
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
%package -n libgupnp-igd-devel
|
|
|
|
Summary: Library to handle UPnP IGD port mapping - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-11-08 12:10:59 +01:00
|
|
|
Requires: libgupnp-igd-1_0-4 = %{version}
|
2011-12-23 16:21:25 +01:00
|
|
|
Requires: typelib-1_0-GUPnPIgd-1_0 = %{version}
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%description -n libgupnp-igd-devel
|
2011-12-23 16:21:25 +01:00
|
|
|
GUPnP-IGD is a library to handle UPnP IGD port mapping. It is supposed
|
2009-07-08 04:37:24 +02:00
|
|
|
to have a very simple API.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2011-11-08 12:10:59 +01:00
|
|
|
%__make %{?_smp_mflags}
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%post -n libgupnp-igd-1_0-4 -p /sbin/ldconfig
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%postun -n libgupnp-igd-1_0-4 -p /sbin/ldconfig
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2011-11-08 12:10:59 +01:00
|
|
|
%files -n libgupnp-igd-1_0-4
|
2009-07-08 04:37:24 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_libdir}/*.so.*
|
2011-12-23 16:21:25 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GUPnPIgd-1_0
|
|
|
|
%defattr(-,root,root)
|
2011-05-02 21:15:23 +02:00
|
|
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2011-12-23 16:21:25 +01:00
|
|
|
%files -n python-gupnp-igd
|
2010-01-18 14:29:59 +01:00
|
|
|
%defattr(-,root,root)
|
2010-07-22 23:43:05 +02:00
|
|
|
%{python_sitearch}/gupnp/
|
2010-01-18 14:29:59 +01:00
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
%files -n libgupnp-igd-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/%{name}-1.0
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2011-05-02 21:16:32 +02:00
|
|
|
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
|
2009-07-08 04:37:24 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
|
|
%changelog
|