Skip to content

Commit

Permalink
qt6-kdsoap.dsc, qt6-kdsoap.spec - OBS project for Qt6-KDSoap prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Jun 29, 2021
1 parent 01a3aee commit 782c816
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
10 changes: 10 additions & 0 deletions qt6-kdsoap.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Format: 1.0
Source: kdsoap
Version: 2.0.0-1
Binary: kdsoap
Maintainer: Allen Winter <[email protected]>
Architecture: any
Build-Depends: debhelper (>=9), cdbs, cmake, qtbase6-dev

Files:
00000000000000000000000000000000 00000 qt6-kdsoap-2.0.0.tar.gz
122 changes: 122 additions & 0 deletions qt6-kdsoap.spec
Original file line number Diff line number Diff line change
@@ -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) <[email protected]>

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) <[email protected]>

%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 <[email protected]> 2.0.0
2.0.0
* Tue Dec 22 2020 Allen Winter <[email protected]> 1.10.0
1.10.0
* Wed Sep 30 2020 Allen Winter <[email protected]> 1.9.1
1.9.1
* Mon Feb 17 2020 Allen Winter <[email protected]> 1.9.0
1.9.0
* Fri May 17 2019 Allen Winter <[email protected]> 1.8.0-1
1.8.0
* Thu Mar 01 2018 Allen Winter <[email protected]> 1.7.0
1.7.0
* Mon May 01 2017 Allen Winter <[email protected]> 1.6.0
1.6.0
* Tue Jun 07 2016 Allen Winter <[email protected]> 1.5.1
1.5.1 bug fix
* Mon Feb 29 2016 Allen Winter <[email protected]> 1.4.99
1.5.0 RC1
* Thu Jun 25 2015 Allen Winter <[email protected]> 1.4.0
1.4.0 with the autogen buildsystem
* Sun Aug 24 2014 Allen Winter <[email protected]> 1.4.0
1.4.0 Final
* Tue Aug 12 2014 Allen Winter <[email protected]> 1.3.98
1.4.0 RC1
* Thu Aug 07 2014 Allen Winter <[email protected]> 1.3.1
1.3.1 final
* Mon Aug 04 2014 Allen Winter <[email protected]> 1.3.0
1.3.0 final

0 comments on commit 782c816

Please sign in to comment.