File kasync.spec of Package kasync

Name:           kasync
Version:        4.99.0
Release:	    1%{?dist}
Summary:        kasync

Group:          Applications/Desktop
License:        GPL
URL:            https://docs.kolab.org/about/kasync
Source0:        kasync-%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  gcc-c++
BuildRequires:  kf5-kcoreaddons-devel
BuildRequires:  qt5-qtbase-devel

%description
kasync

%package devel
Summary:        Development headers for kasync
Requires:       %{name}

%description devel
Development headers for kasync

%prep
%setup -q


%build
mkdir -p build/
pushd build
%{cmake} ..
make %{?_smp_mflags}
popd

%install
pushd build
%make_install
popd

# Don't know what this is
rm -rf %{buildroot}%{_prefix}/mkspecs/modules/qt_KAsync.pri

%files
%doc
%{_libdir}/libKF5Async.so.*

%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/KF5/
%{_includedir}/KF5/Async
%{_includedir}/KF5/kasync_version.h
%{_libdir}/cmake/KF5Async/
%{_libdir}/libKF5Async.so

%changelog