kf5-kactivities-stats/kf5-kactivities-stats.spec
liweigang be52d3195d adapt to the new CMake macros to fix build failure
Signed-off-by: liweigang <liweiganga@uniontech.com>
(cherry picked from commit 446bcb44a27e9beeab06416089bc3e8b559bab0d)
2025-01-02 11:42:31 +08:00

88 lines
2.1 KiB
RPMSpec

%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.113.0
Release: 3
License: LGPLv2 or LGPLv3
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{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
%description
%{summary}.
%package devel
Summary: Developer files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: qt5-qtbase-devel
%description devel
%{summary}.
%prep
%autosetup -n %{framework}-%{version} -p1
%build
%cmake_kf5
%cmake_build
%install
%cmake_install
# no tests
%check
%ctest ||:
%ldconfig_scriptlets
%files
%doc MAINTAINER README.developers TODO
%license LICENSES/*.txt
%{_kf5_datadir}/qlogging-categories5/%{framework}.*
%{_kf5_libdir}/libKF5ActivitiesStats.so.*
%files devel
%{_kf5_libdir}/libKF5ActivitiesStats.so
%{_kf5_includedir}/KActivitiesStats/
%{_kf5_libdir}/cmake/KF5ActivitiesStats/
%{_kf5_libdir}/pkgconfig/libKActivitiesStats.pc
%{_qt5_archdatadir}/mkspecs/modules/qt_KActivitiesStats.pri
%changelog
* Thu Jan 02 2025 liweigang <oxyan70@gmail.com> - 5.113.0-3
- adapt to the new CMake macros to fix build failure
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- adapt to the new CMake macros to fix build failure
* Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
- Update package to version 5.113.0
* Thu Aug 03 2023 haomimi <haomimi@uniontech.com> - 5.108.0-1
- update verison to 5.108.0
* Fri Feb 17 2023 peijiankang <peijiankang@kylinos.cn> - 5.100.0-1
- update verison to 5.100.0
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 5.97.0-1
- Init package