You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
4.7 KiB
173 lines
4.7 KiB
%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.44.0
|
|
Release: 2%{?dist}
|
|
|
|
# KDE e.V. may determine that future GPL versions are accepted
|
|
License: LGPLv2 or LGPLv3
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
%global majmin %(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/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
## upstream patches
|
|
Patch1: 0001-Do-not-assume-SQLite-works-and-do-not-terminate-on-e.patch
|
|
|
|
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
|
|
|
|
%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} -p1
|
|
|
|
|
|
%build
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} .. \
|
|
-DBUILD_TESTING=ON
|
|
popd
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
# Currently includes no tests
|
|
%check
|
|
make test -C %{_target_platform}
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%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
|
|
* Mon Mar 26 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-2
|
|
- pull in upstream fix for sqlite wal mode crashes (fail gracefully instead)
|
|
- use %%make_build %%ldconfig_scriptlets
|
|
|
|
* Sat Mar 03 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.44.0-1
|
|
- 5.44.0
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.43.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Wed Feb 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.43.0-1
|
|
- 5.43.0
|
|
|
|
* Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-1
|
|
- 5.42.0
|
|
|
|
* Mon Dec 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.41.0-1
|
|
- 5.41.0
|
|
|
|
* Fri Nov 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.40.0-1
|
|
- 5.40.0
|
|
|
|
* Sun Oct 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.39.0-1
|
|
- 5.39.0
|
|
|
|
* Mon Sep 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.38.0-1
|
|
- 5.38.0
|
|
|
|
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
|
|
- 5.37.0
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.36.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Jul 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.36.0-1
|
|
- 5.36.0
|
|
|
|
* Sun Jun 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.35.0-1
|
|
- 5.35.0
|
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.34.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
* Mon May 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.34.0-1
|
|
- 5.34.0
|
|
|
|
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
|
|
- 5.33.0
|
|
|
|
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
|
|
- 5.32.0
|
|
|
|
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
|
|
- 5.31.0
|
|
|
|
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
|
|
- 5.29.0
|
|
|
|
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
|
|
- 5.27.0
|
|
|
|
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
|
|
- KDE Frameworks 5.26.0
|
|
|
|
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
|
|
- KDE Frameworks 5.25.0
|
|
|
|
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
|
|
- KDE Frameworks 5.24.0
|
|
|
|
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
|
|
- KDE Frameworks 5.23.0
|
|
|
|
* Tue May 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
|
|
- 5.22.0
|
|
|
|
* Sat Apr 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 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 <rdieter@fedoraproject.org> - 5.21.0-1
|
|
- kactivities-stats-5.21.0
|
|
|