From 12364fdca3dc472739941aede9ae9ec635dd512b5cd38fbcc9b32dad96f3e98a Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 5 Apr 2015 11:48:03 +0000 Subject: [PATCH 1/3] 5.9.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=59 --- kauth-5.8.0.tar.xz | 3 --- kauth-5.9.0.tar.xz | 3 +++ kauth.changes | 7 +++++++ kauth.spec | 10 +++++++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 kauth-5.8.0.tar.xz create mode 100644 kauth-5.9.0.tar.xz diff --git a/kauth-5.8.0.tar.xz b/kauth-5.8.0.tar.xz deleted file mode 100644 index 589eef9..0000000 --- a/kauth-5.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b7f57b99fb015bd8c9529cae0e75c5449054c9dad8b8fc3f74ef011a653f9ef -size 80624 diff --git a/kauth-5.9.0.tar.xz b/kauth-5.9.0.tar.xz new file mode 100644 index 0000000..ba94530 --- /dev/null +++ b/kauth-5.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f6f0397a0fa4a5f8e1f8e42e3262e7150368a806ecfd05c109ecfab3b6c7b02 +size 81376 diff --git a/kauth.changes b/kauth.changes index a3cf7e9..ff704c3 100644 --- a/kauth.changes +++ b/kauth.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 14:40:55 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.9.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.9.0.php + ------------------------------------------------------------------- Sat Mar 7 16:58:55 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/kauth.spec b/kauth.spec index 9b5b4c2..1089387 100644 --- a/kauth.spec +++ b/kauth.spec @@ -17,13 +17,13 @@ %define lname libKF5Auth5 -%define _tar_path 5.8 +%define _tar_path 5.9 Name: kauth Version: %{_tar_path}.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{version} BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kf5-filesystem @@ -74,7 +74,11 @@ Development files. %kf5_makeinstall -C build %fdupes %{buildroot}%{_kf5_sharedir} - %find_lang %{name}5 --with-qt --without-mo +if [ -e po ]; then +%find_lang %{name}5 --with-qt --without-mo +else +touch %{name}5.lang +fi %if 0%{?suse_version} <= 1310 # we need this for older oS releases; only Factory/13.2 has the whitelist From 4681712a14069a0be2bf6eff47be9c566e6b3d67ddf6a80561e3ef0441735c32 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:28:32 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=60 --- kauth.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/kauth.spec b/kauth.spec index 1089387..3e5a2ee 100644 --- a/kauth.spec +++ b/kauth.spec @@ -16,19 +16,22 @@ # +%bcond_without lang %define lname libKF5Auth5 %define _tar_path 5.9 Name: kauth -Version: %{_tar_path}.0 +Version: 5.9.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes -BuildRequires: kcoreaddons-devel >= %{kf5_version} +BuildRequires: kcoreaddons-devel >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: libpolkit-qt5-1-devel +%if %{with lang} BuildRequires: libqt5-linguist-devel >= 5.2.0 +%endif BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 Summary: Framework which lets applications perform actions as a privileged user @@ -46,7 +49,9 @@ 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 +%if %{with lang} Recommends: %lname-lang = %{version} +%endif %description -n %lname KAuth is a framework to let applications perform actions as a privileged user. @@ -56,7 +61,7 @@ Summary: Framework which lets applications perform actions as a privilege Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: kcoreaddons-devel >= %{kf5_version} +Requires: kcoreaddons-devel >= %{_tar_path} %description devel KAuth is a framework to let applications perform actions as a privileged user. @@ -72,13 +77,11 @@ Development files. %install %kf5_makeinstall -C build - %fdupes %{buildroot}%{_kf5_sharedir} + %fdupes -s %{buildroot} -if [ -e po ]; then +%if %{with lang} %find_lang %{name}5 --with-qt --without-mo -else -touch %{name}5.lang -fi +%endif %if 0%{?suse_version} <= 1310 # we need this for older oS releases; only Factory/13.2 has the whitelist @@ -89,7 +92,9 @@ echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-r %postun -n %lname -p /sbin/ldconfig +%if %{with lang} %files -n %lname-lang -f %{name}5.lang +%endif %files -n %lname %defattr(-,root,root) From 7a6524f50444ebf48473b67cb592da84f4ca2c1188cbeedbaddfb6a3310dc8b7 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:48:38 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=61 --- kauth.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kauth.spec b/kauth.spec index 3e5a2ee..b590d1a 100644 --- a/kauth.spec +++ b/kauth.spec @@ -77,7 +77,7 @@ Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot} %if %{with lang} %find_lang %{name}5 --with-qt --without-mo