diff --git a/kf5-kauth.spec b/kf5-kauth.spec index 207d602..af33677 100644 --- a/kf5-kauth.spec +++ b/kf5-kauth.spec @@ -2,30 +2,29 @@ Name: kf5-%{framework} Version: 5.42.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user License: LGPLv2+ URL: https://cgit.kde.org/%{framework}.git -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{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} +BuildRequires: kf5-rpm-macros -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-kcoreaddons-devel >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: polkit-qt5-1-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel -Requires: kf5-filesystem >= %{version} - %description KAuth is a framework to let applications perform actions as a privileged user. @@ -49,20 +48,19 @@ pushd %{_target_platform} -DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir} popd - make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%find_lang %{name} --all-name --with-qt +%find_lang_kf5 kauth5_qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -f %{name}.lang +%files -f kauth5_qt.lang %doc README.md %license COPYING* %{_kf5_sysconfdir}/xdg/%{framework}.* @@ -81,6 +79,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Mon Jan 15 2018 Rex Dieter - 5.42.0-3 +- .spec cosmetics, use %%find_lang_kf5, %%majmin + * Mon Jan 08 2018 Rex Dieter - 5.42.0-2 - rebuild