2011-10-09 08:59:25 +02:00
|
|
|
#
|
2012-02-25 09:35:59 +01:00
|
|
|
# spec file for package libupnp
|
2011-10-09 08:59:25 +02:00
|
|
|
#
|
2018-04-13 11:27:56 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-10-09 08:59:25 +02:00
|
|
|
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
|
|
|
|
#
|
|
|
|
# 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-02-25 09:35:59 +01:00
|
|
|
%define lname libupnp6
|
|
|
|
|
|
|
|
Name: libupnp
|
2018-04-13 11:27:56 +02:00
|
|
|
Version: 1.6.25
|
2011-10-09 08:59:25 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Portable Universal Plug and Play (UPnP) SDK
|
|
|
|
License: BSD-3-Clause
|
2017-03-02 13:42:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-04-13 11:29:44 +02:00
|
|
|
Url: http://sourceforge.net/projects/pupnp/
|
2011-10-09 08:59:25 +02:00
|
|
|
Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
|
2015-02-20 13:29:51 +01:00
|
|
|
Source1: http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%20%version/libupnp-%version.tar.bz2.sha1
|
|
|
|
Source42: baselibs.conf
|
2018-04-13 11:27:56 +02:00
|
|
|
Patch0: libupnp-configure.patch
|
2012-07-19 18:59:57 +02:00
|
|
|
BuildRequires: libtool
|
2012-01-30 14:10:30 +01:00
|
|
|
BuildRequires: pkgconfig
|
2011-10-09 08:59:25 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems.
|
|
|
|
|
2018-04-13 11:27:56 +02:00
|
|
|
%package -n %{lname}
|
2012-02-25 09:35:59 +01:00
|
|
|
Summary: Portable Universal Plug and Play (UPnP) SDK
|
2017-02-25 13:35:24 +01:00
|
|
|
# Replace individual packages from Packman to make migration to Tumbleweed easier.
|
2017-03-02 13:42:35 +01:00
|
|
|
Group: System/Libraries
|
2017-02-25 13:35:24 +01:00
|
|
|
Provides: libixml2 = %{version}-%{release}
|
|
|
|
Obsoletes: libixml2 < %{version}
|
|
|
|
Provides: libthreadutil6 = %{version}-%{release}
|
|
|
|
Obsoletes: libthreadutil6 < %{version}
|
2012-02-25 09:35:59 +01:00
|
|
|
|
2018-04-13 11:27:56 +02:00
|
|
|
%description -n %{lname}
|
2012-02-25 09:35:59 +01:00
|
|
|
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems
|
|
|
|
|
2011-10-09 08:59:25 +02:00
|
|
|
%package -n libupnp-devel
|
|
|
|
Summary: Portable Universal Plug and Play (UPnP) SDK
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-25 09:36:21 +01:00
|
|
|
Requires: %{lname} = %{version}
|
2011-10-09 08:59:25 +02:00
|
|
|
|
|
|
|
%description -n libupnp-devel
|
|
|
|
The portable Universal Plug and Play (UPnP) SDK provides support for building
|
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems.
|
|
|
|
|
|
|
|
%prep
|
2012-07-19 18:59:57 +02:00
|
|
|
%setup -q
|
2018-04-13 11:27:56 +02:00
|
|
|
%patch0 -p1
|
2017-02-25 13:35:24 +01:00
|
|
|
|
2011-10-09 08:59:25 +02:00
|
|
|
%build
|
2012-07-19 18:59:57 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure --disable-samples --enable-ipv6 --disable-static
|
2011-10-09 08:59:25 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2018-04-13 11:27:56 +02:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2018-04-13 11:27:56 +02:00
|
|
|
%post -p /sbin/ldconfig -n %{lname}
|
|
|
|
%postun -p /sbin/ldconfig -n %{lname}
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2018-04-13 11:27:56 +02:00
|
|
|
%files -n %{lname}
|
2018-04-13 11:29:44 +02:00
|
|
|
%doc ChangeLog NEWS TODO README.md
|
|
|
|
%license LICENSE
|
2011-10-09 08:59:25 +02:00
|
|
|
%{_libdir}/libixml.so.*
|
|
|
|
%{_libdir}/libthreadutil.so.*
|
|
|
|
%{_libdir}/libupnp.so.*
|
|
|
|
|
|
|
|
%files -n libupnp-devel
|
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
%{_libdir}/libthreadutil.so
|
|
|
|
%{_libdir}/libupnp.so
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
|
|
|
|
%changelog
|