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