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 version https://git-lfs.github.com/spec/v1
oid sha256:3e045afb9060d93846b7de7502c01ec5bede259a4c2c58466990c82b51969dfa oid sha256:fc36642b1848fe5a81296d496291d350ecfc12b85fd0b268478ab230976d4009
size 673056 size 681174

View File

@ -25,9 +25,9 @@ Release: 0
Summary: An implementation of Universal Plug and Play (UPnP) Summary: An implementation of Universal Plug and Play (UPnP)
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/mrjimenez/pupnp URL: https://github.com/pupnp/pupnp
Source0: https://github.com/pupnp/pupnp/releases/download/release-%{version}/%{name}-%{version}.tar.bz2 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 Source1: https://github.com/pupnp/pupnp/releases/download/release-%version/%name-%version.tar.bz2.sha1
Source42: baselibs.conf Source42: baselibs.conf
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig 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 UPnP-compliant control points, devices, and bridges on several operating
systems. systems.
%package -n %{name}%{pnpver} %package -n %name%pnpver
Summary: An implementation of Universal Plug and Play (UPnP) Summary: An implementation of Universal Plug and Play (UPnP)
Group: System/Libraries Group: System/Libraries
%description -n %{name}%{pnpver} %description -n %name%pnpver
The Portable Universal Plug and Play (UPnP) SDK provides support for building The Portable Universal Plug and Play (UPnP) SDK provides support for building
UPnP-compliant control points, devices, and bridges on several operating UPnP-compliant control points, devices, and bridges on several operating
systems systems
%package -n libixml%{ixmlver} %package -n libixml%ixmlver
Summary: The Portable UPnP SDK's XML library Summary: The Portable UPnP SDK's XML library
Group: System/Libraries 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. A C XML parsing library originally created for the Intel UPnP SDK for Linux.
%package devel %package devel
Summary: The Portable Universal Plug and Play (UPnP) SDK Summary: The Portable Universal Plug and Play (UPnP) SDK
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: libixml-devel = %{version}-%{release} Provides: libixml-devel = %version-%release
Requires: %{name}%{pnpver} = %{version} Requires: %name%pnpver = %version
Requires: libixml%{ixmlver} = %{version} Requires: libixml%ixmlver = %version
%description devel %description devel
The Portable Universal Plug and Play (UPnP) SDK provides support for building The Portable Universal Plug and Play (UPnP) SDK provides support for building
@ -81,27 +81,26 @@ make %{?_smp_mflags}
%install %install
%make_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} %post -p /sbin/ldconfig -n %name%pnpver
%postun -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} %files -n %name%pnpver
%postun -p /sbin/ldconfig -n libixml%{ixmlver}
%files -n %{name}%{pnpver}
%license COPYING %license COPYING
%{_libdir}/libupnp.so.%{pnpver}* %_libdir/libupnp.so.%{pnpver}*
%files -n libixml%{ixmlver} %files -n libixml%ixmlver
%license COPYING %license COPYING
%{_libdir}/libixml.so.%{ixmlver}* %_libdir/libixml.so.%{ixmlver}*
%files -n libupnp-devel %files devel
%doc ChangeLog %doc ChangeLog
%{_libdir}/pkgconfig/libupnp.pc %_libdir/pkgconfig/libupnp.pc
%{_libdir}/libixml.so %_libdir/libixml.so
%{_libdir}/libupnp.so %_libdir/libupnp.so
%{_includedir}/upnp/ %_includedir/upnp/
%changelog %changelog