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 Name: kdsoap
Version: 2.2.0 Version: 2.2.0
Release: 1mamba Release: 2mamba
Summary: A Qt-based client-side and server-side SOAP component Summary: A Qt-based client-side and server-side SOAP component
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kdab.com/development-resources/qt-tools/kd-soap/ 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 Source: https://github.com/KDAB/KDSoap.git/kdsoap-%{version}/KDSoap-%{version}.tar.bz2
License: GPL, LGPL, AGPL License: GPL, LGPL, AGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -15,6 +14,7 @@ BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
@ -37,6 +37,21 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. 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 %debug_package
@ -47,9 +62,16 @@ This package contains libraries and header files for developing applications tha
%cmake -d build %cmake -d build
%make %make
cd ..
%cmake -d build-qt6 \
-DKDSoap_QT6=ON
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%makeinstall -C build-qt6
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -61,6 +83,7 @@ This package contains libraries and header files for developing applications tha
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libkdsoap-server.so.* %{_libdir}/libkdsoap-server.so.*
%{_libdir}/libkdsoap.so.* %{_libdir}/libkdsoap.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -69,18 +92,43 @@ This package contains libraries and header files for developing applications tha
%{_includedir}/KDSoapClient/* %{_includedir}/KDSoapClient/*
%dir %{_includedir}/KDSoapServer %dir %{_includedir}/KDSoapServer
%{_includedir}/KDSoapServer/* %{_includedir}/KDSoapServer/*
%dir %{_libdir}/cmake/KDSoap
%{_libdir}/cmake/KDSoap/KDSoap*.cmake
%{_libdir}/libkdsoap-server.so %{_libdir}/libkdsoap-server.so
%{_libdir}/libkdsoap.so %{_libdir}/libkdsoap.so
%{_kde5_mkspecsdir}/qt_KDSoapClient.pri %{_kde5_mkspecsdir}/qt_KDSoap*.pri
%{_kde5_mkspecsdir}/qt_KDSoapServer.pri
%dir %{_datadir}/doc/KDSoap %dir %{_datadir}/doc/KDSoap
%{_datadir}/doc/KDSoap/* %{_datadir}/doc/KDSoap/*
%{_datadir}/mkspecs/features/kdsoap.prf %{_datadir}/mkspecs/features/kdsoap.prf
%dir %{_libdir}/cmake/KDSoap
%{_libdir}/cmake/KDSoap/KDSoap*.cmake
#%doc README.txt #%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 %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 * Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 2.2.0-1mamba
- automatic version update by autodist - automatic version update by autodist