Name: kdav2 Version: 0.2.1 Release: 1%{?dist} Summary: kdav2 Group: Applications/Desktop License: GPL URL: https://docs.kolab.org/about/kdav2 Source0: kdav2-%{version}.zip #Source0: kdav2-%{version}.tar.gz BuildRequires: boost-devel BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules BuildRequires: kf5-kcoreaddons-devel BuildRequires: python BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtxmlpatterns-devel %description kdav2 %package devel Summary: Development headers for kdav2 Requires: %{name} %description devel Development headers for kdav2 %prep %setup -q -n %{name}-master %build mkdir -p build/ pushd build %{cmake} .. make %{?_smp_mflags} popd %install pushd build %make_install popd rm -rf %{buildroot}%{_prefix}/mkspecs/ rm -rf %{buildroot}%{_datadir} %files %doc %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/KPim/kdav2/ %{_includedir}/KPim/KDAV2/ %{_includedir}/KPim/kpimkdav2_version.h %{_libdir}/cmake/KPimKDAV2/ %{_libdir}/*.so %{_sysconfdir}/xdg/kdav2.categories %{_qt5_archdatadir}/mkspecs/modules/qt_kdav2.pri %changelog * Fri Aug 17 2018 Rajeesh KV - 0.2.0-1 - kdav2 0.2.0