diff --git a/libupnp-1.12.1.tar.bz2 b/libupnp-1.12.1.tar.bz2 index f49e8bc..11ee256 100644 --- a/libupnp-1.12.1.tar.bz2 +++ b/libupnp-1.12.1.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3e045afb9060d93846b7de7502c01ec5bede259a4c2c58466990c82b51969dfa -size 673056 +oid sha256:fc36642b1848fe5a81296d496291d350ecfc12b85fd0b268478ab230976d4009 +size 681174 diff --git a/libupnp.spec b/libupnp.spec index 34abada..aa1ce15 100644 --- a/libupnp.spec +++ b/libupnp.spec @@ -25,9 +25,9 @@ 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,27 +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} +%files -n %name%pnpver %license COPYING -%{_libdir}/libupnp.so.%{pnpver}* +%_libdir/libupnp.so.%{pnpver}* -%files -n libixml%{ixmlver} +%files -n libixml%ixmlver %license COPYING -%{_libdir}/libixml.so.%{ixmlver}* +%_libdir/libixml.so.%{ixmlver}* -%files -n libupnp-devel +%files devel %doc ChangeLog -%{_libdir}/pkgconfig/libupnp.pc -%{_libdir}/libixml.so -%{_libdir}/libupnp.so -%{_includedir}/upnp/ +%_libdir/pkgconfig/libupnp.pc +%_libdir/libixml.so +%_libdir/libupnp.so +%_includedir/upnp/ %changelog