Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 9174277328371f23ff77c6bd182181fb > files > 2

kdsoap-ws-discovery-client-0.2-0.git20200506.5.mga9.src.rpm

%define major		0
%define libname		%mklibname kdsoapwsdiscoveryclient %{major}
%define devname		%mklibname kdsoapwsdiscoveryclient -d

%define date		20200506
%define commit		4a74b97467affa57b7dac6f6ccd0b01de126d7a9

Name:		kdsoap-ws-discovery-client
Version:	0.2
Release:	%mkrel -c git%{date} 5
Summary:	Qt based WS-Discovery client library based on KDSoap
Group:		System/Libraries
License:	GPLv3+
Url:		https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client
Source0:	https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/archive/%{commit}/%{name}-%{commit}.tar.gz

BuildRequires:	kf5-macros
BuildRequires:	cmake(KDSoap)
BuildRequires:	cmake(Qt5Core)
BuildRequires:	cmake(Qt5Network)
BuildRequires:	cmake(Qt5Test)
BuildRequires:	cmake(Qt5Xml)
BuildRequires:	cmake(Qt5Widgets)
BuildRequires:	doxygen
BuildRequires:	qttools5
BuildRequires:	qttools5-assistant

%description
Library for finding WS-Discovery devices in the network using Qt5
and KDSoap.

#------------------------------------------------------------------------------

%package -n %{libname}
Summary:	Qt based WS-Discovery client library based on KDSoap
Group:		System/Libraries

%description -n %{libname}
Library for finding WS-Discovery devices in the network using Qt5
and KDSoap.

#------------------------------------------------------------------------------

%package -n %{devname}
Summary:	Development files for the WS-Discovery client library based on KDSoap
Group:		Development/KDE and Qt
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{devname}
Development files for the Qt based WS-Discovery client library based
on KDSoap.

#------------------------------------------------------------------------------

%prep
%autosetup -p1 -n %{name}-%{commit}

%build
%cmake -DBUILD_QCH=ON
%cmake_build

%install
%cmake_install

%files -n %{libname}
%doc README.md
%license LICENSES/GPL-3.0-or-later.txt LICENSES/CC0-1.0.txt
%{_libdir}/libKDSoapWSDiscoveryClient.so.%{major}{,.*}

%files -n %{devname}
%doc %{_docdir}/KDSoapWSDiscoveryClient/
%doc %{_qt5_docdir}/KDSoapWSDiscoveryClient.qch
%doc %{_qt5_docdir}/KDSoapWSDiscoveryClient.tags
%{_includedir}/KDSoapWSDiscoveryClient/
%{_libdir}/*.so
%{_libdir}/cmake/KDSoapWSDiscoveryClient/


%changelog
* Mon Apr 04 2022 umeabot <umeabot> 0.2-0.git20200506.5.mga9
+ Revision: 1843742
- Mageia 9 Mass Rebuild

* Sun Aug 08 2021 luigiwalser <luigiwalser> 0.2-0.git20200506.4.mga9
+ Revision: 1740544
- rebuild for kdsoap

* Thu Dec 17 2020 umeabot <umeabot> 0.2-0.git20200506.3.mga8
+ Revision: 1658689
- Rebuild for new Qt5

* Thu Oct 22 2020 daviddavid <daviddavid> 0.2-0.git20200506.2.mga8
+ Revision: 1638199
- rebuild for new kdsoap 1.9.1

* Thu Sep 17 2020 daviddavid <daviddavid> 0.2-0.git20200506.1.mga8
+ Revision: 1628203
- initial package kdsoap-ws-discovery-client