%global framework kactivities-stats Name: kf5-%{framework} Summary: A KDE Frameworks 5 Tier 3 library for accessing the usage data collected by the activities system Version: 5.43.0 Release: 1%{?dist} # KDE e.V. may determine that future GPL versions are accepted License: LGPLv2 or LGPLv3 URL: https://cgit.kde.org/%{framework}.git %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-kactivities-devel >= %{version} BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: pkgconfig BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtbase-devel Requires: kf5-filesystem >= %{version} %description %{summary}. %package devel Summary: Developer files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel %description devel %{summary}. %prep %autosetup -n %{framework}-%{version} %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ -DBUILD_TESTING=ON popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} # Currently includes no tests %check make test -C %{_target_platform} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc MAINTAINER README.developers TODO %license COPYING* %{_kf5_libdir}/libKF5ActivitiesStats.so.* %files devel %{_kf5_libdir}/libKF5ActivitiesStats.so %{_kf5_includedir}/KActivitiesStats/ %{_kf5_includedir}/kactivitiesstats_version.h %{_kf5_libdir}/cmake/KF5ActivitiesStats/ %{_kf5_libdir}/pkgconfig/libKActivitiesStats.pc %{_qt5_archdatadir}/mkspecs/modules/qt_KActivitiesStats.pri %changelog * Wed Feb 07 2018 Rex Dieter - 5.43.0-1 - 5.43.0 * Mon Jan 08 2018 Rex Dieter - 5.42.0-1 - 5.42.0 * Mon Dec 04 2017 Rex Dieter - 5.41.0-1 - 5.41.0 * Fri Nov 10 2017 Rex Dieter - 5.40.0-1 - 5.40.0 * Sun Oct 08 2017 Rex Dieter - 5.39.0-1 - 5.39.0 * Mon Sep 11 2017 Rex Dieter - 5.38.0-1 - 5.38.0 * Fri Aug 25 2017 Rex Dieter - 5.37.0-1 - 5.37.0 * Thu Aug 03 2017 Fedora Release Engineering - 5.36.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 5.36.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 03 2017 Rex Dieter - 5.36.0-1 - 5.36.0 * Sun Jun 04 2017 Rex Dieter - 5.35.0-1 - 5.35.0 * Mon May 15 2017 Fedora Release Engineering - 5.34.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Mon May 15 2017 Rex Dieter - 5.34.0-1 - 5.34.0 * Mon Apr 03 2017 Rex Dieter - 5.33.0-1 - 5.33.0 * Sat Mar 04 2017 Rex Dieter - 5.32.0-1 - 5.32.0 * Mon Feb 06 2017 Rex Dieter - 5.31.0-1 - 5.31.0 * Fri Dec 16 2016 Rex Dieter - 5.29.0-1 - 5.29.0 * Tue Oct 04 2016 Rex Dieter - 5.27.0-1 - 5.27.0 * Wed Sep 07 2016 Daniel Vrátil - 5.26.0-1 - KDE Frameworks 5.26.0 * Mon Aug 08 2016 Daniel Vrátil - 5.25.0-1 - KDE Frameworks 5.25.0 * Wed Jul 06 2016 Daniel Vrátil - 5.24.0-1 - KDE Frameworks 5.24.0 * Tue Jun 07 2016 Daniel Vrátil - 5.23.0-1 - KDE Frameworks 5.23.0 * Tue May 17 2016 Rex Dieter - 5.22.0-1 - 5.22.0 * Sat Apr 16 2016 Rex Dieter - 5.21.0-2 - add %%check section (mostly nothing right now) - fix summary - more %%doc's - Requires: kf5-filesystem - -devel: Requires: qt5-qtbase-devel * Mon Apr 04 2016 Rex Dieter - 5.21.0-1 - kactivities-stats-5.21.0