package created by autospec [release 1.0.0-1mamba;Wed Aug 03 2011]

This commit is contained in:
Silvan Calarco 2024-01-06 03:37:13 +01:00
parent 8f4de63ec2
commit aba221255c
2 changed files with 71 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libHUpnp # 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.

69
libHUpnp.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created by autospec