From a32263262a7aa3e59330baef71cae4578310f3d2ac4c84f25dfe201e21ab8fc4 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 4 May 2014 01:34:37 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=19 --- kauth-4.98.0.tar.xz | 3 --- kauth.spec | 13 ++++++++----- 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 kauth-4.98.0.tar.xz diff --git a/kauth-4.98.0.tar.xz b/kauth-4.98.0.tar.xz deleted file mode 100644 index af7d922..0000000 --- a/kauth-4.98.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36c4ce79adcbd193181e15f973166fca16b456bb6d83d5f8bcdbf0e8167bd404 -size 47320 diff --git a/kauth.spec b/kauth.spec index 19119aa..bc33033 100644 --- a/kauth.spec +++ b/kauth.spec @@ -18,20 +18,22 @@ %define lname libKF5Auth5 Name: kauth -Version: 4.98.0 +Version: 4.99.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 0.0.12 +BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{_kf5_version} BuildRequires: kf5-filesystem BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +BuildRequires: libpolkit-qt5-1-devel Summary: Framework which lets applications perform actions as a privileged user License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source0: kauth-%{version}.tar.xz +Patch0: polkit-qt5-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -58,6 +60,7 @@ Development files. %prep %setup -q +%patch0 -p1 %build %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} @@ -79,11 +82,10 @@ Development files. %doc COPYING* README* %{_kf5_libdir}/libKF5Auth.so.* %{_kf5_plugindir}/ +%dir %{_kf5_libdir}/libexec +%{_kf5_libdir}/libexec/kauth/ # Until security review is done! %exclude %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf -%dir %{_kf5_datadir}/kauth -%{_kf5_datadir}/kauth/dbus_policy.stub -%{_kf5_datadir}/kauth/dbus_service.stub %files devel %defattr(-,root,root) @@ -93,5 +95,6 @@ Development files. %{_kf5_includedir}/*/ %{_kf5_includedir}/*.h %{_kf5_mkspecsdir}/qt_KAuth.pri +%{_kf5_datadir}/kauth/ %changelog From 0f913f446558f95e700b859f288f2e434dc3b029b97058d0e1ba3077495f6577 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Mon, 5 May 2014 08:51:29 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=20 --- kauth-4.99.0.tar.xz | 3 +++ kauth.changes | 9 +++++++++ kauth.spec | 13 +++++++------ 3 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 kauth-4.99.0.tar.xz diff --git a/kauth-4.99.0.tar.xz b/kauth-4.99.0.tar.xz new file mode 100644 index 0000000..af5cff8 --- /dev/null +++ b/kauth-4.99.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b59fa538cd183e675e381a73c3062723d0620bb80d29b233f235585fcea1382d +size 2727656 diff --git a/kauth.changes b/kauth.changes index d8ef301..c1e7b43 100644 --- a/kauth.changes +++ b/kauth.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun May 4 01:40:57 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 4.99.0 + * API improvements and cleanups + * Buildsystem fixes + * For more details please see: + http://www.kde.org/announcements/announce-frameworks5-beta2.php + ------------------------------------------------------------------- Sat Mar 29 19:47:21 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/kauth.spec b/kauth.spec index bc33033..2c6fd69 100644 --- a/kauth.spec +++ b/kauth.spec @@ -27,13 +27,11 @@ BuildRequires: kcoreaddons-devel >= %{_kf5_version} BuildRequires: kf5-filesystem BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 -BuildRequires: libpolkit-qt5-1-devel Summary: Framework which lets applications perform actions as a privileged user License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source0: kauth-%{version}.tar.xz -Patch0: polkit-qt5-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,6 +41,7 @@ KAuth is a framework to let applications perform actions as a privileged user. Summary: Framework which lets applications perform actions as a privileged user Group: System/GUI/KDE Obsoletes: libKF5Auth4 +Recommends: %lname-lang = %{version} %description -n %lname KAuth is a framework to let applications perform actions as a privileged user. @@ -58,9 +57,9 @@ Requires: kcoreaddons-devel >= %{_kf5_version} KAuth is a framework to let applications perform actions as a privileged user. Development files. +%lang_package -n %lname %prep %setup -q -%patch0 -p1 %build %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} @@ -68,7 +67,9 @@ Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot}%{_kf5_sharedir} + + %find_lang %{name}5 --with-qt --without-mo # Comment out until security review is done! # echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc @@ -77,13 +78,13 @@ Development files. %postun -n %lname -p /sbin/ldconfig +%files -n %lname-lang -f %{name}5.lang + %files -n %lname %defattr(-,root,root) %doc COPYING* README* %{_kf5_libdir}/libKF5Auth.so.* %{_kf5_plugindir}/ -%dir %{_kf5_libdir}/libexec -%{_kf5_libdir}/libexec/kauth/ # Until security review is done! %exclude %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf