SHA256
1
0
forked from pool/libupnp

Replace by original tarball; feed through spec formatter

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=32
This commit is contained in:
Jan Engelhardt 2020-04-23 12:28:32 +00:00 committed by Git OBS Bridge
parent 4e1808664f
commit 09d74b8e94
2 changed files with 26 additions and 27 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e045afb9060d93846b7de7502c01ec5bede259a4c2c58466990c82b51969dfa
size 673056
oid sha256:fc36642b1848fe5a81296d496291d350ecfc12b85fd0b268478ab230976d4009
size 681174

View File

@ -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