|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
%global framework kauth
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.92.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
@ -16,7 +15,7 @@ URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
|
|
|
|
@ -43,8 +42,9 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{cmake_kf5} \
|
|
|
|
|
%cmake_kf5 \
|
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir}
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -68,8 +68,9 @@ developing applications that use %{name}.
|
|
|
|
|
%{_kf5_libexecdir}/kauth/
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
|
|
%{_kf5_includedir}/KAuth/
|
|
|
|
|
%{_kf5_includedir}/KAuthCore/
|
|
|
|
|
%{_kf5_includedir}/KAuthWidgets/
|
|
|
|
|
%{_kf5_libdir}/libKF5Auth.so
|
|
|
|
|
%{_kf5_libdir}/libKF5AuthCore.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5Auth/
|
|
|
|
|