From a59e39b90b6d3b03edf9d3dcde86b5ce20d2a5bc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:21:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.9.0-1mamba;Sat Apr 25 2020] --- README.md | 2 ++ kdsoap.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 kdsoap.spec diff --git a/README.md b/README.md index ac10537..b482369 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kdsoap +A Qt-based client-side and server-side SOAP component. + diff --git a/kdsoap.spec b/kdsoap.spec new file mode 100644 index 0000000..10baad2 --- /dev/null +++ b/kdsoap.spec @@ -0,0 +1,85 @@ +Name: kdsoap +Version: 1.9.0 +Release: 1mamba +Summary: A Qt-based client-side and server-side SOAP component +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 +* Sat Apr 25 2020 Silvan Calarco 1.9.0-1mamba +- package created using the webbuild interface