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..b590d1a 100644 --- a/kauth.spec +++ b/kauth.spec @@ -16,19 +16,22 @@ # +%bcond_without lang %define lname libKF5Auth5 -%define _tar_path 5.8 +%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 >= 1.8.0 +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,9 +77,11 @@ Development files. %install %kf5_makeinstall -C build - %fdupes %{buildroot}%{_kf5_sharedir} + %fdupes %{buildroot} - %find_lang %{name}5 --with-qt --without-mo +%if %{with lang} +%find_lang %{name}5 --with-qt --without-mo +%endif %if 0%{?suse_version} <= 1310 # we need this for older oS releases; only Factory/13.2 has the whitelist @@ -85,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)