|
|
@ -1,14 +1,11 @@
|
|
|
|
Version: 1.6.21
|
|
|
|
Version: 1.6.25
|
|
|
|
Summary: Universal Plug and Play (UPnP) SDK
|
|
|
|
Summary: Universal Plug and Play (UPnP) SDK
|
|
|
|
Name: libupnp
|
|
|
|
Name: libupnp
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: https://sourceforge.net/projects/pupnp
|
|
|
|
URL: http://www.libupnp.org/
|
|
|
|
Source: https://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
|
|
|
|
Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define docdeveldir %{_docdir}/%{name}-devel-%{version}
|
|
|
|
|
|
|
|
%define docdir %{_docdir}/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The Universal Plug and Play (UPnP) SDK for Linux provides
|
|
|
|
The Universal Plug and Play (UPnP) SDK for Linux provides
|
|
|
@ -16,9 +13,8 @@ support for building UPnP-compliant control points, devices,
|
|
|
|
and bridges on Linux.
|
|
|
|
and bridges on Linux.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Summary: Include files needed for development with libupnp
|
|
|
|
Summary: Include files needed for development with libupnp
|
|
|
|
Requires: libupnp = %{version}-%{release}
|
|
|
|
Requires: libupnp%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The libupnp-devel package contains the files necessary for development with
|
|
|
|
The libupnp-devel package contains the files necessary for development with
|
|
|
@ -29,28 +25,28 @@ the UPnP SDK libraries.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-static=no --enable-ipv6
|
|
|
|
%configure --enable-static=no --enable-ipv6
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
# remove rpath from libtool
|
|
|
|
|
|
|
|
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
|
|
|
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%make_install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libthreadutil.la,libupnp.la}
|
|
|
|
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libthreadutil.la,libupnp.la}
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%license LICENSE
|
|
|
|
%doc LICENSE THANKS
|
|
|
|
%doc THANKS
|
|
|
|
%{_libdir}/libixml.so.2*
|
|
|
|
%{_libdir}/libixml.so.2*
|
|
|
|
%{_libdir}/libthreadutil.so.6*
|
|
|
|
%{_libdir}/libthreadutil.so.6*
|
|
|
|
%{_libdir}/libupnp.so.6*
|
|
|
|
%{_libdir}/libupnp.so.6*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
|
|
|
|
#doc _devel_docs/*
|
|
|
|
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
%{_includedir}/upnp/
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
%{_libdir}/libixml.so
|
|
|
|
%{_libdir}/libthreadutil.so
|
|
|
|
%{_libdir}/libthreadutil.so
|
|
|
@ -58,6 +54,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
%{_libdir}/pkgconfig/libupnp.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.6.25-1
|
|
|
|
|
|
|
|
- Update to 1.6.25
|
|
|
|
|
|
|
|
- Spec file clean-up
|
|
|
|
|
|
|
|
- Avoid rpath
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.21-4
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.21-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|