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
|
|
|
#
|
2020-04-23 14:14:19 +02:00
|
|
|
# Copyright (c) 2020 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-04-23 14:14:19 +02:00
|
|
|
%define pnpver 16
|
2020-01-01 00:53:40 +01:00
|
|
|
%define ixmlver 11
|
2012-02-25 09:35:59 +01:00
|
|
|
Name: libupnp
|
2020-04-23 14:14:19 +02:00
|
|
|
Version: 1.12.1
|
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++
|
2018-11-16 20:55:30 +01:00
|
|
|
URL: https://github.com/mrjimenez/pupnp
|
2020-01-01 00:53:40 +01:00
|
|
|
Source0: https://github.com/pupnp/pupnp/releases/download/release-%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://github.com/pupnp/pupnp/releases/download/release-%{version}/%{name}-%{version}.tar.bz2.sha1
|
2015-02-20 13:29:51 +01:00
|
|
|
Source42: baselibs.conf
|
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
|
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.
|
|
|
|
|
2018-11-29 10:08:24 +01: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
|
|
|
|
2018-11-29 10:08:24 +01: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
|
|
|
|
|
2018-11-29 10:08:24 +01: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
|
|
|
|
|
|
|
|
%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++
|
2018-11-30 09:03:13 +01:00
|
|
|
Provides: libixml-devel = %{version}-%{release}
|
2018-11-29 10:08:24 +01:00
|
|
|
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
|
2012-07-19 18:59:57 +02:00
|
|
|
%setup -q
|
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
|
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-11-29 10:08:24 +01: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}
|
|
|
|
|
|
|
|
%files -n %{name}%{pnpver}
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libupnp.so.%{pnpver}*
|
2011-10-09 08:59:25 +02:00
|
|
|
|
2018-11-29 10:08:24 +01:00
|
|
|
%files -n libixml%{ixmlver}
|
2018-11-16 20:55:30 +01:00
|
|
|
%license COPYING
|
2018-11-29 10:08:24 +01:00
|
|
|
%{_libdir}/libixml.so.%{ixmlver}*
|
2011-10-09 08:59:25 +02:00
|
|
|
|
|
|
|
%files -n libupnp-devel
|
2020-04-23 14:14:19 +02:00
|
|
|
%doc ChangeLog
|
2011-10-09 08:59:25 +02:00
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
%{_libdir}/libupnp.so
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
|
|
|
|
%changelog
|