From a7a5499cce19c0cd212d84abd7bcc9661baf46e7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 14 Jan 2016 09:53:46 -0600 Subject: [PATCH] cosmetics, update URL, use %license --- .gitignore | 19 ------------------- kf5-kauth.spec | 21 +++++++++++++-------- 2 files changed, 13 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 6db5585..fd4f3f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1 @@ -/kauth-4.100.0.tar.xz -/kauth-5.0.0.tar.xz -/kauth-5.1.0.tar.xz -/kauth-5.2.0.tar.xz -/kauth-5.3.0.tar.xz -/kauth-5.4.0.tar.xz -/kauth-5.5.0.tar.xz -/kauth-5.6.0.tar.xz -/kauth-5.7.0.tar.xz -/kauth-5.8.0.tar.xz -/kauth-5.9.0.tar.xz -/kauth-5.10.0.tar.xz -/kauth-5.11.0.tar.xz -/kauth-5.12.0.tar.xz -/kauth-5.13.0.tar.xz -/kauth-5.14.0.tar.xz -/kauth-5.15.0.tar.xz -/kauth-5.16.0.tar.xz -/kauth-5.17.0.tar.xz /kauth-5.18.0.tar.xz diff --git a/kf5-kauth.spec b/kf5-kauth.spec index 235bdb9..aaf1a50 100644 --- a/kf5-kauth.spec +++ b/kf5-kauth.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user License: LGPLv2+ -URL: http://www.kde.org +URL: http://projects.kde.org/kauth %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,15 +17,13 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -BuildRequires: polkit-qt5-1-devel - -BuildRequires: kf5-rpm-macros >= %{version} 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 -BuildRequires: kf5-kcoreaddons-devel >= %{version} - Requires: kf5-filesystem >= %{version} %description @@ -43,6 +41,7 @@ developing applications that use %{name}. %prep %setup -q -n %{framework}-%{version} + %build mkdir %{_target_platform} pushd %{_target_platform} @@ -50,11 +49,13 @@ pushd %{_target_platform} %{cmake_kf5} .. -DLIBEXEC_INSTALL_DIR=%{_kf5_libexecdir} popd + make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + %find_lang kauth5_qt --with-qt --all-name @@ -62,7 +63,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %postun -p /sbin/ldconfig %files -f kauth5_qt.lang -%doc COPYING.LIB README.md +%doc README.md +%license COPYING.LIB %{_kf5_libdir}/libKF5Auth.so.5* %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf %{_kf5_qtplugindir}/kauth/ @@ -78,6 +80,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Thu Jan 14 2016 Rex Dieter 5.18.0-2 +- cosmetics, update URL, use %%license + * Sun Jan 03 2016 Daniel Vrátil - 5.18.0-1 - KDE Frameworks 5.18.0