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
|
|
|
#
|
2011-05-06 16:17:41 +02:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: gupnp-igd
|
2010-07-22 18:01:54 +02:00
|
|
|
Version: 0.1.7
|
2011-05-06 16:17:41 +02:00
|
|
|
Release: 3
|
2011-05-02 21:15:23 +02:00
|
|
|
# FIXME: Check if parallel build works again (broken since 0.1.10)
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
2009-12-08 11:39:31 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-08 04:37:24 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://www.gupnp.org/
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2011-05-02 21:15:23 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
2009-07-08 04:37:24 +02:00
|
|
|
BuildRequires: libgupnp-devel
|
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
|
|
|
|
gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed
|
|
|
|
to have a very simple API.
|
|
|
|
|
2009-12-08 11:39:31 +01:00
|
|
|
%package -n libgupnp-igd-1_0-3
|
|
|
|
License: LGPLv2.1+
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2009-12-08 11:39:31 +01:00
|
|
|
%description -n libgupnp-igd-1_0-3
|
2009-07-08 04:37:24 +02:00
|
|
|
gupnp-igd is a library to handle UPnP IGD port mapping. It is supposed
|
|
|
|
to have a very simple API.
|
|
|
|
|
2010-01-18 14:29:59 +01:00
|
|
|
%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.
|
|
|
|
|
2009-07-08 04:37:24 +02:00
|
|
|
%package -n libgupnp-igd-devel
|
2009-12-08 11:39:31 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-08 04:37:24 +02:00
|
|
|
Summary: Library to handle UPnP IGD port mapping - Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2009-12-08 11:39:31 +01:00
|
|
|
Requires: libgupnp-igd-1_0-3 = %{version}
|
2009-07-08 04:37:24 +02:00
|
|
|
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
|
2011-05-02 21:15:23 +02:00
|
|
|
%__make
|
2009-07-08 04:37:24 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2009-12-08 11:39:31 +01:00
|
|
|
%post -n libgupnp-igd-1_0-3 -p /sbin/ldconfig
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2009-12-08 11:39:31 +01:00
|
|
|
%postun -n libgupnp-igd-1_0-3 -p /sbin/ldconfig
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2009-12-08 11:39:31 +01:00
|
|
|
%files -n libgupnp-igd-1_0-3
|
2009-07-08 04:37:24 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_libdir}/*.so.*
|
2011-05-02 21:15:23 +02:00
|
|
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
2009-07-08 04:37:24 +02:00
|
|
|
|
2010-01-18 14:29:59 +01:00
|
|
|
%files -n python-gupnp-id
|
|
|
|
%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
|