|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
Version: 1.6.25
|
|
|
|
|
Version: 1.8.3
|
|
|
|
|
Summary: Universal Plug and Play (UPnP) SDK
|
|
|
|
|
Name: libupnp
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
@ -24,7 +24,12 @@ the UPnP SDK libraries.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-static=no --enable-ipv6
|
|
|
|
|
%configure \
|
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
|
--disable-largefile \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-static=no \
|
|
|
|
|
--enable-ipv6
|
|
|
|
|
|
|
|
|
|
# remove rpath from libtool
|
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
@ -35,25 +40,27 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libthreadutil.la,libupnp.la}
|
|
|
|
|
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libupnp.la}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc THANKS
|
|
|
|
|
%{_libdir}/libixml.so.2*
|
|
|
|
|
%{_libdir}/libthreadutil.so.6*
|
|
|
|
|
%{_libdir}/libupnp.so.6*
|
|
|
|
|
%{_libdir}/libixml.so.10*
|
|
|
|
|
%{_libdir}/libupnp.so.10*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
|
%{_libdir}/libthreadutil.so
|
|
|
|
|
%{_libdir}/libupnp.so
|
|
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.8.3-1
|
|
|
|
|
- Update to 1.8.3
|
|
|
|
|
- Drop libthreadutil
|
|
|
|
|
|
|
|
|
|
* Fri Apr 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.6.25-1
|
|
|
|
|
- Update to 1.6.25
|
|
|
|
|
- Spec file clean-up
|
|
|
|
|