|
|
@ -18,6 +18,8 @@ URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source1: kglobalaccel.service
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
|
@ -71,6 +73,9 @@ developing applications that use %{name}.
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -p -D %{SOURCE1} %{buildroot}%{_userunitdir}/kglobalaccel.service
|
|
|
|
|
|
|
|
echo 'SystemdService=kglobalaccel.service' >> %{buildroot}%{_datadir}/dbus-1/services/org.kde.kglobalaccel.service
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang_kf5 kglobalaccel5_qt
|
|
|
|
%find_lang_kf5 kglobalaccel5_qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -81,6 +86,7 @@ developing applications that use %{name}.
|
|
|
|
%{_kf5_bindir}/kglobalaccel5
|
|
|
|
%{_kf5_bindir}/kglobalaccel5
|
|
|
|
%{_kf5_datadir}/kservices5/kglobalaccel5.desktop
|
|
|
|
%{_kf5_datadir}/kservices5/kglobalaccel5.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.kde.kglobalaccel.service
|
|
|
|
%{_datadir}/dbus-1/services/org.kde.kglobalaccel.service
|
|
|
|
|
|
|
|
%{_userunitdir}/kglobalaccel.service
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
|
|