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
|
|
|
#
|
2017-03-02 13:42:35 +01:00
|
|
|
# Copyright (c) 2017 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
|
2017-02-25 13:35:24 +01:00
|
|
|
Version: 1.6.21
|
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++
|
2012-01-30 14:10:30 +01: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
|
2011-10-09 08:59:25 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-07-19 18:59:57 +02:00
|
|
|
BuildRequires: libtool
|
2012-01-30 14:10:30 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-07-19 18:59:57 +02:00
|
|
|
Patch: libupnp-configure.patch
|
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.
|
|
|
|
|
2012-02-25 09:35:59 +01:00
|
|
|
%package -n %lname
|
|
|
|
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
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
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
|
2017-02-25 13:35:24 +01:00
|
|
|
%patch -p1
|
|
|
|
|
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
|
|
|
|
%makeinstall
|
2017-03-02 13:42:35 +01:00
|
|
|
find %{buildroot} -type f -name '*.la' -delete
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2012-02-25 09:35:59 +01:00
|
|
|
%post -p /sbin/ldconfig -n %lname
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2012-02-25 09:35:59 +01:00
|
|
|
%postun -p /sbin/ldconfig -n %lname
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2012-02-25 09:35:59 +01:00
|
|
|
%files -n %lname
|
2011-10-09 08:59:25 +02:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-25 13:35:24 +01:00
|
|
|
%doc ChangeLog NEWS README TODO LICENSE
|
2011-10-09 08:59:25 +02:00
|
|
|
%{_libdir}/libixml.so.*
|
|
|
|
%{_libdir}/libthreadutil.so.*
|
|
|
|
%{_libdir}/libupnp.so.*
|
|
|
|
|
|
|
|
%files -n libupnp-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
%{_libdir}/libthreadutil.so
|
|
|
|
%{_libdir}/libupnp.so
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
|
|
|
|
%changelog
|