kdsoap/kdsoap.spec

89 lines
2.4 KiB
RPMSpec

Name: kdsoap
Version: 1.9.1
Release: 1mamba
Summary: A Qt-based client-side and server-side SOAP component
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kdab.com/products/kd-soap
## GITSOURCE https://github.com/KDAB/KDSoap.git kdsoap-1.9.0
Source: https://github.com/KDAB/KDSoap.git/kdsoap-%{version}/KDSoap-%{version}.tar.bz2
License: GPL, LGPL, AGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A Qt-based client-side and server-side SOAP component.
%package -n lib%{name}
Group: System/Libraries
Summary: A Qt-based client-side and server-side SOAP component
%description -n lib%{name}
A Qt-based client-side and server-side SOAP component.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n KDSoap-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkdsoap-server.so.*
%{_libdir}/libkdsoap.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/kdwsdl2cpp
%dir %{_includedir}/KDSoapClient
%{_includedir}/KDSoapClient/*
%dir %{_includedir}/KDSoapServer
%{_includedir}/KDSoapServer/*
%dir %{_libdir}/cmake/KDSoap
%{_libdir}/cmake/KDSoap/KDSoap*.cmake
%{_libdir}/libkdsoap-server.so
%{_libdir}/libkdsoap.so
%dir %{_datadir}/doc/KDSoap
%{_datadir}/doc/KDSoap/*
%{_datadir}/mkspecs/features/kdsoap.prf
%doc README.txt
%changelog
* Fri Oct 02 2020 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
- package created using the webbuild interface