|
|
@ -2,30 +2,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.42.0
|
|
|
|
Version: 5.42.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?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://cgit.kde.org/%{framework}.git
|
|
|
|
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)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
%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: polkit-qt5-1-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
KAuth is a framework to let applications perform actions as a privileged user.
|
|
|
|
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}
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name --with-qt
|
|
|
|
%find_lang_kf5 kauth5_qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f kauth5_qt.lang
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%license COPYING*
|
|
|
|
%license COPYING*
|
|
|
|
%{_kf5_sysconfdir}/xdg/%{framework}.*
|
|
|
|
%{_kf5_sysconfdir}/xdg/%{framework}.*
|
|
|
@ -81,6 +79,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-3
|
|
|
|
|
|
|
|
- .spec cosmetics, use %%find_lang_kf5, %%majmin
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-2
|
|
|
|
* Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-2
|
|
|
|
- rebuild
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
|
|