diff --git a/baselibs.conf b/baselibs.conf index 9547e26..f6dd998 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,2 @@ -libupnp15 +libupnp16 libixml11 diff --git a/libupnp-1.10.1.tar.bz2 b/libupnp-1.10.1.tar.bz2 deleted file mode 100644 index 92463ee..0000000 --- a/libupnp-1.10.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b97dad43f5fbb1dad34384389ab038823862348e9e5f6d649d845d512165ed92 -size 679847 diff --git a/libupnp-1.10.1.tar.bz2.sha1 b/libupnp-1.10.1.tar.bz2.sha1 deleted file mode 100644 index 2d82c3c..0000000 --- a/libupnp-1.10.1.tar.bz2.sha1 +++ /dev/null @@ -1 +0,0 @@ -0b4e9f38674b948adc2ca78165fb8d942fa46f38 libupnp-1.10.1.tar.bz2 diff --git a/libupnp-1.12.1.tar.bz2 b/libupnp-1.12.1.tar.bz2 new file mode 100644 index 0000000..11ee256 --- /dev/null +++ b/libupnp-1.12.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc36642b1848fe5a81296d496291d350ecfc12b85fd0b268478ab230976d4009 +size 681174 diff --git a/libupnp-1.12.1.tar.bz2.sha1 b/libupnp-1.12.1.tar.bz2.sha1 new file mode 100644 index 0000000..f5e5853 --- /dev/null +++ b/libupnp-1.12.1.tar.bz2.sha1 @@ -0,0 +1 @@ +08fd7ec2d77ff4e7bc4632bf30695c7af63820ee libupnp-1.12.1.tar.bz2 diff --git a/libupnp.changes b/libupnp.changes index 2ed8905..adfc8cc 100644 --- a/libupnp.changes +++ b/libupnp.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Apr 21 17:37:33 UTC 2020 - Michal Vyskocil + +- Update to version 1.12.1: + * #129: Remove and replace the list.h file + * Reduce spurious HTTP 416 errors due to ill-defined bytes header + * #138: Use stdbool.h instead of BOOL typedef and defines + * #140: Remove IN, OUT and INOUT defines + * #129: Remove and replace the list.h file + * and many more, see ChangeLog +- Bump libpnpn defines to 16 following upstream changes (also in + baselibs.conf). +- ChangeLog installed with devel package, not libXY ones + + ------------------------------------------------------------------- Mon Dec 30 14:37:16 UTC 2019 - Dominique Leuenberger diff --git a/libupnp.spec b/libupnp.spec index 7ee0f14..aa1ce15 100644 --- a/libupnp.spec +++ b/libupnp.spec @@ -1,7 +1,7 @@ # # spec file for package libupnp # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2011, Sascha Peilicke # # All modifications and additions to the file contributed by third parties @@ -17,17 +17,17 @@ # -%define pnpver 15 +%define pnpver 16 %define ixmlver 11 Name: libupnp -Version: 1.10.1 +Version: 1.12.1 Release: 0 Summary: An implementation of Universal Plug and Play (UPnP) License: BSD-3-Clause Group: Development/Libraries/C and C++ -URL: https://github.com/mrjimenez/pupnp -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 +URL: https://github.com/pupnp/pupnp +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 Source42: baselibs.conf BuildRequires: libtool BuildRequires: pkgconfig @@ -37,28 +37,28 @@ 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 %{name}%{pnpver} +%package -n %name%pnpver Summary: An implementation of Universal Plug and Play (UPnP) Group: System/Libraries -%description -n %{name}%{pnpver} +%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 libixml%{ixmlver} +%package -n libixml%ixmlver Summary: The Portable UPnP SDK's XML library Group: System/Libraries -%description -n libixml%{ixmlver} +%description -n libixml%ixmlver A C XML parsing library originally created for the Intel UPnP SDK for Linux. %package devel Summary: The Portable Universal Plug and Play (UPnP) SDK Group: Development/Libraries/C and C++ -Provides: libixml-devel = %{version}-%{release} -Requires: %{name}%{pnpver} = %{version} -Requires: libixml%{ixmlver} = %{version} +Provides: libixml-devel = %version-%release +Requires: %name%pnpver = %version +Requires: libixml%ixmlver = %version %description devel The Portable Universal Plug and Play (UPnP) SDK provides support for building @@ -81,28 +81,26 @@ make %{?_smp_mflags} %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find %buildroot -type f -name "*.la" -delete -print -%post -p /sbin/ldconfig -n %{name}%{pnpver} -%postun -p /sbin/ldconfig -n %{name}%{pnpver} +%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 -%post -p /sbin/ldconfig -n libixml%{ixmlver} -%postun -p /sbin/ldconfig -n libixml%{ixmlver} - -%files -n %{name}%{pnpver} -%doc ChangeLog +%files -n %name%pnpver %license COPYING -%{_libdir}/libupnp.so.%{pnpver}* +%_libdir/libupnp.so.%{pnpver}* -%files -n libixml%{ixmlver} -%doc ChangeLog +%files -n libixml%ixmlver %license COPYING -%{_libdir}/libixml.so.%{ixmlver}* +%_libdir/libixml.so.%{ixmlver}* -%files -n libupnp-devel -%{_libdir}/pkgconfig/libupnp.pc -%{_libdir}/libixml.so -%{_libdir}/libupnp.so -%{_includedir}/upnp/ +%files devel +%doc ChangeLog +%_libdir/pkgconfig/libupnp.pc +%_libdir/libixml.so +%_libdir/libupnp.so +%_includedir/upnp/ %changelog