2011-10-09 06:59:25 +00:00
|
|
|
#
|
2012-02-25 08:35:59 +00:00
|
|
|
# spec file for package libupnp
|
2011-10-09 06:59:25 +00:00
|
|
|
#
|
2020-04-23 12:14:19 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2011-10-09 06:59:25 +00: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.
|
|
|
|
|
2018-11-30 08:03:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-10-09 06:59:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-08-16 17:54:43 +00:00
|
|
|
%define pnpver 17
|
2019-12-31 23:53:40 +00:00
|
|
|
%define ixmlver 11
|
2012-02-25 08:35:59 +00:00
|
|
|
Name: libupnp
|
2020-08-16 17:54:43 +00:00
|
|
|
Version: 1.14.0
|
2011-10-09 06:59:25 +00:00
|
|
|
Release: 0
|
2018-11-30 08:03:13 +00:00
|
|
|
Summary: An implementation of Universal Plug and Play (UPnP)
|
2011-10-09 06:59:25 +00:00
|
|
|
License: BSD-3-Clause
|
2017-03-02 12:42:35 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-04-23 12:28:32 +00:00
|
|
|
URL: https://github.com/pupnp/pupnp
|
2020-06-09 19:12:07 +00:00
|
|
|
Source: https://github.com/pupnp/pupnp/releases/download/release-%version/%name-%version.tar.bz2
|
|
|
|
Source2: https://github.com/pupnp/pupnp/releases/download/release-%version/%name-%version.tar.bz2.sha1
|
|
|
|
Source3: baselibs.conf
|
2012-07-19 16:59:57 +00:00
|
|
|
BuildRequires: libtool
|
2020-06-09 19:12:07 +00:00
|
|
|
BuildRequires: pkg-config
|
2011-10-09 06:59:25 +00:00
|
|
|
|
|
|
|
%description
|
2018-11-30 08:03:13 +00:00
|
|
|
The Portable Universal Plug and Play (UPnP) SDK provides support for building
|
2011-10-09 06:59:25 +00:00
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems.
|
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%package -n %name%pnpver
|
2018-11-30 08:03:13 +00:00
|
|
|
Summary: An implementation of Universal Plug and Play (UPnP)
|
2017-03-02 12:42:35 +00:00
|
|
|
Group: System/Libraries
|
2012-02-25 08:35:59 +00:00
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%description -n %name%pnpver
|
2018-11-30 08:03:13 +00:00
|
|
|
The Portable Universal Plug and Play (UPnP) SDK provides support for building
|
2012-02-25 08:35:59 +00:00
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems
|
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%package -n libixml%ixmlver
|
2018-11-30 08:03:13 +00:00
|
|
|
Summary: The Portable UPnP SDK's XML library
|
2018-11-29 09:08:24 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%description -n libixml%ixmlver
|
2018-11-30 08:03:13 +00:00
|
|
|
A C XML parsing library originally created for the Intel UPnP SDK for Linux.
|
2018-11-29 09:08:24 +00:00
|
|
|
|
|
|
|
%package devel
|
2018-11-30 08:03:13 +00:00
|
|
|
Summary: The Portable Universal Plug and Play (UPnP) SDK
|
2011-10-09 06:59:25 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-04-23 12:28:32 +00:00
|
|
|
Provides: libixml-devel = %version-%release
|
|
|
|
Requires: %name%pnpver = %version
|
|
|
|
Requires: libixml%ixmlver = %version
|
2011-10-09 06:59:25 +00:00
|
|
|
|
2018-11-29 09:08:24 +00:00
|
|
|
%description devel
|
2018-11-30 08:03:13 +00:00
|
|
|
The Portable Universal Plug and Play (UPnP) SDK provides support for building
|
2011-10-09 06:59:25 +00:00
|
|
|
UPnP-compliant control points, devices, and bridges on several operating
|
|
|
|
systems.
|
|
|
|
|
|
|
|
%prep
|
2020-06-09 19:12:07 +00:00
|
|
|
%autosetup -p1
|
2017-02-25 12:35:24 +00:00
|
|
|
|
2011-10-09 06:59:25 +00:00
|
|
|
%build
|
2018-11-16 19:55:30 +00:00
|
|
|
# the openssl simply does not compile
|
|
|
|
%configure \
|
|
|
|
--disable-samples \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--disable-static \
|
|
|
|
--enable-reuseaddr \
|
|
|
|
--disable-open_ssl \
|
|
|
|
--enable-unspecified_server
|
2011-10-09 06:59:25 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2018-04-13 09:27:56 +00:00
|
|
|
%make_install
|
2020-04-23 12:28:32 +00:00
|
|
|
find %buildroot -type f -name "*.la" -delete -print
|
2011-10-09 06:59:25 +00:00
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%post -p /sbin/ldconfig -n %name%pnpver
|
|
|
|
%postun -p /sbin/ldconfig -n %name%pnpver
|
|
|
|
%post -p /sbin/ldconfig -n libixml%ixmlver
|
|
|
|
%postun -p /sbin/ldconfig -n libixml%ixmlver
|
2018-11-29 09:08:24 +00:00
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%files -n %name%pnpver
|
2018-11-29 09:08:24 +00:00
|
|
|
%license COPYING
|
2020-04-23 12:28:32 +00:00
|
|
|
%_libdir/libupnp.so.%{pnpver}*
|
2011-10-09 06:59:25 +00:00
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%files -n libixml%ixmlver
|
2018-11-16 19:55:30 +00:00
|
|
|
%license COPYING
|
2020-04-23 12:28:32 +00:00
|
|
|
%_libdir/libixml.so.%{ixmlver}*
|
2011-10-09 06:59:25 +00:00
|
|
|
|
2020-04-23 12:28:32 +00:00
|
|
|
%files devel
|
2020-04-23 12:14:19 +00:00
|
|
|
%doc ChangeLog
|
2020-04-23 12:28:32 +00:00
|
|
|
%_libdir/pkgconfig/libupnp.pc
|
|
|
|
%_libdir/libixml.so
|
|
|
|
%_libdir/libupnp.so
|
|
|
|
%_includedir/upnp/
|
2011-10-09 06:59:25 +00:00
|
|
|
|
|
|
|
%changelog
|