kdsoap/kdsoap.spec

149 lines
4.3 KiB
RPMSpec

Name: kdsoap
Version: 2.2.0
Release: 2mamba
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/development-resources/qt-tools/kd-soap/
Source: https://github.com/KDAB/KDSoap.git/kdsoap-%{version}/KDSoap-%{version}.tar.bz2
License: GPL, LGPL, AGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%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}.
%package -n lib%{name}-qt6
Group: System/Libraries
Summary: A Qt-based client-side and server-side SOAP component
%description -n lib%{name}-qt6
A Qt-based client-side and server-side SOAP component.
This package contains shared libraries for %{name}.
%package -n lib%{name}-qt6-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-qt6-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
cd ..
%cmake -d build-qt6 \
-DKDSoap_QT6=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt6
%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.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/kdwsdl2cpp
%dir %{_includedir}/KDSoapClient
%{_includedir}/KDSoapClient/*
%dir %{_includedir}/KDSoapServer
%{_includedir}/KDSoapServer/*
%{_libdir}/libkdsoap-server.so
%{_libdir}/libkdsoap.so
%{_kde5_mkspecsdir}/qt_KDSoap*.pri
%dir %{_datadir}/doc/KDSoap
%{_datadir}/doc/KDSoap/*
%{_datadir}/mkspecs/features/kdsoap.prf
%dir %{_libdir}/cmake/KDSoap
%{_libdir}/cmake/KDSoap/KDSoap*.cmake
#%doc README.txt
%files -n lib%{name}-qt6
%defattr(-,root,root)
%{_libdir}/libkdsoap-qt6.so.*
%{_libdir}/libkdsoap-server-qt6.so.*
%doc LICENSE.txt
%files -n lib%{name}-qt6-devel
%defattr(-,root,root)
%{_bindir}/kdwsdl2cpp-qt6
%dir %{_includedir}/KDSoapClient-Qt6
%{_includedir}/KDSoapClient-Qt6/*
%dir %{_includedir}/KDSoapServer-Qt6
%{_includedir}/KDSoapServer-Qt6/*
%{_libdir}/libkdsoap-qt6.so
%{_libdir}/libkdsoap-server-qt6.so
%{_qt6_archdatadir}/mkspecs/modules/qt_KDSoap*.pri
%dir %{_libdir}/cmake/KDSoap-qt6
%{_libdir}/cmake/KDSoap-qt6/KDSoap*.cmake
%dir %{_docdir}/KDSoap-qt6
%dir %{_docdir}/KDSoap-qt6/LICENSES
%{_docdir}/KDSoap-qt6/LICENSES/*
%{_docdir}/KDSoap-qt6/README.md
%changelog
* Wed Mar 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
- added -qt6 subpackages
* Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 2.2.0-1mamba
- automatic version update by autodist
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Thu Jul 01 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Wed Dec 23 2020 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* 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