added -qt6 subpackages [release 2.2.0-2mamba;Wed Mar 06 2024]

This commit is contained in:
Silvan Calarco 2024-03-06 23:28:52 +01:00
parent 35f8ef3369
commit b0c170c924

View File

@ -1,13 +1,12 @@
Name: kdsoap
Version: 2.2.0
Release: 1mamba
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/
## 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
@ -15,6 +14,7 @@ BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
@ -37,6 +37,21 @@ 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
@ -47,9 +62,16 @@ This package contains libraries and header files for developing applications tha
%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}"
@ -61,6 +83,7 @@ This package contains libraries and header files for developing applications tha
%defattr(-,root,root)
%{_libdir}/libkdsoap-server.so.*
%{_libdir}/libkdsoap.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -69,18 +92,43 @@ This package contains libraries and header files for developing applications tha
%{_includedir}/KDSoapClient/*
%dir %{_includedir}/KDSoapServer
%{_includedir}/KDSoapServer/*
%dir %{_libdir}/cmake/KDSoap
%{_libdir}/cmake/KDSoap/KDSoap*.cmake
%{_libdir}/libkdsoap-server.so
%{_libdir}/libkdsoap.so
%{_kde5_mkspecsdir}/qt_KDSoapClient.pri
%{_kde5_mkspecsdir}/qt_KDSoapServer.pri
%{_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