SHA256
1
0
forked from pool/kauth

Accepting request 295535 from KDE:Frameworks5

Update to 5.9.0.

OBS-URL: https://build.opensuse.org/request/show/295535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kauth?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2015-04-13 18:26:56 +00:00 committed by Git OBS Bridge
commit b35572bc82
4 changed files with 26 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b7f57b99fb015bd8c9529cae0e75c5449054c9dad8b8fc3f74ef011a653f9ef
size 80624

3
kauth-5.9.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f6f0397a0fa4a5f8e1f8e42e3262e7150368a806ecfd05c109ecfab3b6c7b02
size 81376

View File

@ -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

View File

@ -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)