SHA256
1
0
forked from pool/libupnp

Accepting request 652542 from home:plater

Split off libixml10 and renamed libupnp6 to it's correct name libupnp13. Major version 6 was last seen long ago.

OBS-URL: https://build.opensuse.org/request/show/652542
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=26
This commit is contained in:
Adam Majer 2018-11-29 09:08:24 +00:00 committed by Git OBS Bridge
parent 7c5acbff1a
commit 16ae21d74b
3 changed files with 40 additions and 17 deletions

View File

@ -1 +1,2 @@
libupnp6
libupnp13
libixml10

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 28 10:53:06 UTC 2018 - davejplater@gmail.com
- Split off libixml10 and renamed libupnp6 to it's correct name
libupnp13. Major version 6 was last seen long ago.
- libthreadutil was merged with libupnp in version 1.8.1
-------------------------------------------------------------------
Thu Nov 15 19:13:44 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -13,11 +13,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define lname libupnp6
%define pnpver 13
%define ixmlver 10
Name: libupnp
Version: 1.8.4
Release: 0
@ -37,25 +38,32 @@ The portable Universal Plug and Play (UPnP) SDK provides support for building
UPnP-compliant control points, devices, and bridges on several operating
systems.
%package -n %{lname}
%package -n %{name}%{pnpver}
Summary: Portable Universal Plug and Play (UPnP) SDK
Group: System/Libraries
Provides: libixml2 = %{version}-%{release}
Obsoletes: libixml2 < %{version}
Provides: libthreadutil6 = %{version}-%{release}
Obsoletes: libthreadutil6 < %{version}
%description -n %{lname}
%description -n %{name}%{pnpver}
The portable Universal Plug and Play (UPnP) SDK provides support for building
UPnP-compliant control points, devices, and bridges on several operating
systems
%package -n libupnp-devel
%package -n libixml%{ixmlver}
Summary: Portable Universal Plug and Play (UPnP) SDK
Group: System/Libraries
%description -n libixml%{ixmlver}
The portable Universal Plug and Play (UPnP) SDK provides support for building
UPnP-compliant control points, devices, and bridges on several operating
systems
%package devel
Summary: Portable Universal Plug and Play (UPnP) SDK
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Provides: libixml-devel = %{version}
Requires: %{name}%{pnpver} = %{version}
Requires: libixml%{ixmlver} = %{version}
%description -n libupnp-devel
%description devel
The portable Universal Plug and Play (UPnP) SDK provides support for building
UPnP-compliant control points, devices, and bridges on several operating
systems.
@ -80,14 +88,21 @@ make %{?_smp_mflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -p /sbin/ldconfig -n %{lname}
%postun -p /sbin/ldconfig -n %{lname}
%post -p /sbin/ldconfig -n %{name}%{pnpver}
%postun -p /sbin/ldconfig -n %{name}%{pnpver}
%files -n %{lname}
%post -p /sbin/ldconfig -n libixml%{ixmlver}
%postun -p /sbin/ldconfig -n libixml%{ixmlver}
%files -n %{name}%{pnpver}
%doc ChangeLog
%license COPYING
%{_libdir}/libixml.so.*
%{_libdir}/libupnp.so.*
%{_libdir}/libupnp.so.%{pnpver}*
%files -n libixml%{ixmlver}
%doc ChangeLog
%license COPYING
%{_libdir}/libixml.so.%{ixmlver}*
%files -n libupnp-devel
%{_libdir}/pkgconfig/libupnp.pc