forked from pool/gupnp-igd
8e438834cb
Copy from GNOME:Factory/gupnp-igd based on submit request 47905 from user vuntz OBS-URL: https://build.opensuse.org/request/show/47905 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gupnp-igd?expand=0&rev=9
110 lines
3.2 KiB
RPMSpec
110 lines
3.2 KiB
RPMSpec
#
|
|
# 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.7
|
|
Release: 2
|
|
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
|
|
# PATCH-FIX-UPSTREAM gupnp-igd-make382.patch dimstar@opensuse.org -- Fix build with make 3.82. Requires autoreconf and gtk-doc BuildRequires.
|
|
Patch0: gupnp-igd-make382.patch
|
|
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
|
|
%patch0 -p1
|
|
|
|
%build
|
|
# Autoreconf is needed for patch0 -- Fix build with make 3.82
|
|
autoreconf
|
|
%configure --disable-static
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%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.*
|
|
|
|
%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
|
|
%dir %{_datadir}/gtk-doc
|
|
%dir %{_datadir}/gtk-doc/html
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
%changelog
|