update %%files, .spec cosmetics

epel8^2
Rex Dieter 3 years ago
parent fd97863fa8
commit 211891a881

@ -1,13 +1,12 @@
%undefine __cmake_in_source_build
%global framework kauth %global framework kauth
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.92.0 Version: 5.92.0
Release: 1%{?dist} 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+ License: 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
BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{majmin} BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
@ -43,8 +42,9 @@ developing applications that use %{name}.
%build %build
%{cmake_kf5} \ %cmake_kf5 \
-DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir} -DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir}
%cmake_build %cmake_build
@ -68,8 +68,9 @@ developing applications that use %{name}.
%{_kf5_libexecdir}/kauth/ %{_kf5_libexecdir}/kauth/
%files devel %files devel
%{_kf5_includedir}/KAuth/ %{_kf5_includedir}/KAuth/
%{_kf5_includedir}/KAuthCore/
%{_kf5_includedir}/KAuthWidgets/
%{_kf5_libdir}/libKF5Auth.so %{_kf5_libdir}/libKF5Auth.so
%{_kf5_libdir}/libKF5AuthCore.so %{_kf5_libdir}/libKF5AuthCore.so
%{_kf5_libdir}/cmake/KF5Auth/ %{_kf5_libdir}/cmake/KF5Auth/

Loading…
Cancel
Save