|
|
@ -1,13 +1,12 @@
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
|
|
|
%global framework kidletime
|
|
|
|
%global framework kidletime
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.91.0
|
|
|
|
Version: 5.91.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 integration module for idle time detection
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 integration module for idle time detection
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
|
|
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
@ -16,7 +15,7 @@ URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
# filter plugin provides
|
|
|
|
# filter plugin provides
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
|
|
@ -52,7 +51,8 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{cmake_kf5}
|
|
|
|
%cmake_kf5
|
|
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -72,7 +72,6 @@ developing applications that use %{name}.
|
|
|
|
%{_kf5_plugindir}/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin1.so
|
|
|
|
%{_kf5_plugindir}/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin1.so
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_includedir}/kidletime_version.h
|
|
|
|
|
|
|
|
%{_kf5_includedir}/KIdleTime/
|
|
|
|
%{_kf5_includedir}/KIdleTime/
|
|
|
|
%{_kf5_libdir}/libKF5IdleTime.so
|
|
|
|
%{_kf5_libdir}/libKF5IdleTime.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5IdleTime/
|
|
|
|
%{_kf5_libdir}/cmake/KF5IdleTime/
|
|
|
|