diff --git a/qt6-kdsoap.dsc b/qt6-kdsoap.dsc new file mode 100644 index 00000000..5b3b4286 --- /dev/null +++ b/qt6-kdsoap.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: kdsoap +Version: 2.0.0-1 +Binary: kdsoap +Maintainer: Allen Winter +Architecture: any +Build-Depends: debhelper (>=9), cdbs, cmake, qtbase6-dev + +Files: + 00000000000000000000000000000000 00000 qt6-kdsoap-2.0.0.tar.gz diff --git a/qt6-kdsoap.spec b/qt6-kdsoap.spec new file mode 100644 index 00000000..9f8e48b4 --- /dev/null +++ b/qt6-kdsoap.spec @@ -0,0 +1,122 @@ +Name: qt6-kdsoap +Version: 2.0.0 +Release: 1 +Summary: A Qt6-based client-side and server-side SOAP component +Source0: %{name}-%{version}.tar.gz +Source1: %{name}-%{version}.tar.gz.asc +Url: https://github.com/KDAB/KDSoap +Group: System/Libraries +License: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Vendor: Klaralvdalens Datakonsult AB (KDAB) +Packager: Klaralvdalens Datakonsult AB (KDAB) + +BuildRequires: cmake +%if %{defined suse_version} +BuildRequires: libqt6-qtbase-devel +%endif + +%if %{defined fedora} +BuildRequires: gcc-c++ qt6-qtbase-devel desktop-file-utils +%endif + +%if %{defined rhel} +BuildRequires: gcc-c++ qt6-qtbase-devel desktop-file-utils +%endif + +%description +KDSoap can be used to create client applications for web services +and also provides the means to create web services without the need +for any further component such as a dedicated web server. + +Authors: +-------- + Klaralvdalens Datakonsult AB (KDAB) + +%define debug_package %{nil} +%global __debug_install_post %{nil} + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +This package contains header files and associated tools and libraries to +develop programs which need to access web services using the SOAP protocol. + +%prep +%autosetup + +%build +touch .license.accepted +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=True -DCMAKE_BUILD_TYPE=Release +%__make %{?_smp_mflags} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%install +%make_install + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_prefix}/share/doc/KDSoap +%{_libdir}/libkdsoap.so.* +%{_libdir}/libkdsoap-server.so.* + +%files devel +%defattr(-,root,root) +%{_bindir}/kdwsdl2cpp +%{_includedir}/KDSoapClient +%{_includedir}/KDSoapServer +%dir %{_libdir}/cmake/KDSoap +%{_libdir}/cmake/KDSoap/* +%{_libdir}/libkdsoap.so +%{_libdir}/libkdsoap-server.so +%if 0%{?sle_version} >= 150200 && 0%{?is_opensuse} +%{_libdir}/qt6/mkspecs/modules/* +%endif +%{_prefix}/share/mkspecs/ +%if 0%{?suse_version} > 1500 +%{_libdir}/qt6/mkspecs/modules/* +%endif +%if 0%{?fedora} > 28 +%{_libdir}/qt6/mkspecs/modules/* +%endif +%if %{defined rhel} +%{_libdir}/qt6/mkspecs/modules/* +%endif + +%changelog +* Tue Jun 29 2021 Allen Winter 2.0.0 + 2.0.0 +* Tue Dec 22 2020 Allen Winter 1.10.0 + 1.10.0 +* Wed Sep 30 2020 Allen Winter 1.9.1 + 1.9.1 +* Mon Feb 17 2020 Allen Winter 1.9.0 + 1.9.0 +* Fri May 17 2019 Allen Winter 1.8.0-1 + 1.8.0 +* Thu Mar 01 2018 Allen Winter 1.7.0 + 1.7.0 +* Mon May 01 2017 Allen Winter 1.6.0 + 1.6.0 +* Tue Jun 07 2016 Allen Winter 1.5.1 + 1.5.1 bug fix +* Mon Feb 29 2016 Allen Winter 1.4.99 + 1.5.0 RC1 +* Thu Jun 25 2015 Allen Winter 1.4.0 + 1.4.0 with the autogen buildsystem +* Sun Aug 24 2014 Allen Winter 1.4.0 + 1.4.0 Final +* Tue Aug 12 2014 Allen Winter 1.3.98 + 1.4.0 RC1 +* Thu Aug 07 2014 Allen Winter 1.3.1 + 1.3.1 final +* Mon Aug 04 2014 Allen Winter 1.3.0 + 1.3.0 final