From aba221255cc1418af02f56e83ece2e207e30f596 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:37:13 +0100 Subject: [PATCH] package created by autospec [release 1.0.0-1mamba;Wed Aug 03 2011] --- README.md | 2 ++ libHUpnp.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 libHUpnp.spec diff --git a/README.md b/README.md index 3bcb6c9..11de514 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libHUpnp +Herqq UPnP (HUPnP) is a software library for building UPnP devices and control points conforming to the UPnP Device Architecture version 1.1. It is designed to be simple to use and robust in operation. + diff --git a/libHUpnp.spec b/libHUpnp.spec new file mode 100644 index 0000000..97a7cb0 --- /dev/null +++ b/libHUpnp.spec @@ -0,0 +1,69 @@ +Name: libHUpnp +Version: 1.0.0 +Release: 1mamba +Summary: A software library for building UPnP devices and control points +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.herqq.org/ +Source: http://downloads.sourceforge.net/project/hupnp/hupnp/herqq-%{version}.zip +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Herqq UPnP (HUPnP) is a software library for building UPnP devices and control points conforming to the UPnP Device Architecture version 1.1. It is designed to be simple to use and robust in operation. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Herqq UPnP (HUPnP) is a software library for building UPnP devices and control points conforming to the UPnP Device Architecture version 1.1. It is designed to be simple to use and robust in operation. +This package contains static libraries and header files need for development. + +%prep +%setup -q -n herqq-%{version} + +%build +qmake-qt4 PREFIX=%{_prefix} USE_QT_INSTALL_LOC=1 +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} + +%ifarch x86_64 +mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} +%endif + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libHUpnp.so.* +%{_libdir}/libQtSolutions_SOAP-*.so.* +%doc hupnp/LICENSE_GPLv3.txt hupnp/LICENSE_LGPLv3.txt + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/HUpnpCore +%{_includedir}/HUpnpCore/* +%{_libdir}/libHUpnp.so +%{_libdir}/libQtSolutions_SOAP-*.so +%doc hupnp/ChangeLog + +%changelog +* Wed Aug 03 2011 Silvan Calarco 1.0.0-1mamba +- package created by autospec