Accepting request 295499 from KDE:Frameworks5

Update to 5.9.0.

OBS-URL: https://build.opensuse.org/request/show/295499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdesu?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2015-04-13 18:23:19 +00:00 committed by Git OBS Bridge
commit e76d13dc45
4 changed files with 33 additions and 13 deletions

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Apr 4 14:40:34 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
-------------------------------------------------------------------
Mon Mar 16 11:50:36 UTC 2015 - hrvoje.senjan@gmail.com
- Add explicit ki18n-devel BuildRequires
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 7 16:58:36 UTC 2015 - hrvoje.senjan@gmail.com Sat Mar 7 16:58:36 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -16,19 +16,21 @@
# #
%bcond_without lang
%define lname libKF5Su5 %define lname libKF5Su5
%define _tar_path 5.8 %define _tar_path 5.9
Name: kdesu Name: kdesu
Version: %{_tar_path}.0 Version: 5.9.0
Release: 0 Release: 0
%define kf5_version %{version} %define kf5_version %{version}
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0 BuildRequires: extra-cmake-modules >= %{_tar_path}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kcoreaddons-devel >= %{_tar_path}
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: kpty-devel >= %{kf5_version} BuildRequires: ki18n-devel >= %{_tar_path}
BuildRequires: kservice-devel >= %{kf5_version} BuildRequires: kpty-devel >= %{_tar_path}
BuildRequires: kservice-devel >= %{_tar_path}
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
Summary: User interface for running shell commands with root privileges Summary: User interface for running shell commands with root privileges
@ -51,7 +53,9 @@ Summary: User interface for running shell commands with root privileges
Group: System/GUI/KDE Group: System/GUI/KDE
PreReq: permissions PreReq: permissions
Obsoletes: libKF5Su4 Obsoletes: libKF5Su4
%if %{with lang}
Recommends: %lname-lang = %{version} Recommends: %lname-lang = %{version}
%endif
%description -n %lname %description -n %lname
libkdesu provides functionality for building GUI front ends for libkdesu provides functionality for building GUI front ends for
@ -63,8 +67,8 @@ Summary: User interface for running shell commands with root privileges
Group: Development/Libraries/KDE Group: Development/Libraries/KDE
Requires: %lname = %{version} Requires: %lname = %{version}
Requires: extra-cmake-modules Requires: extra-cmake-modules
Requires: kpty-devel >= %{kf5_version} Requires: kpty-devel >= %{_tar_path}
Requires: kservice-devel >= %{kf5_version} Requires: kservice-devel >= %{_tar_path}
%description devel %description devel
libkdesu provides functionality for building GUI front ends for libkdesu provides functionality for building GUI front ends for
@ -83,14 +87,16 @@ Development files.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%fdupes -s %{buildroot} %fdupes %{buildroot}
%if 0%{?suse_version} <= 1310 %if 0%{?suse_version} <= 1310
# we need this for older oS releases; only Factory/13.2 has the whitelist # we need this for older oS releases; only Factory/13.2 has the whitelist
echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc
%endif %endif
%find_lang kdesud5 %{name}.lang %if %{with lang}
%find_lang kdesud5 %{name}.lang
%endif
%post -n %lname %post -n %lname
/sbin/ldconfig /sbin/ldconfig
@ -101,7 +107,9 @@ echo "setBadness('permissions-file-setuid-bit', 0)" > $RPM_SOURCE_DIR/%name-rpml
%verifyscript -n %lname %verifyscript -n %lname
%verify_permissions -e %{_kf5_libexecdir}/kdesud %verify_permissions -e %{_kf5_libexecdir}/kdesud
%if %{with lang}
%files -n %lname-lang -f %{name}.lang %files -n %lname-lang -f %{name}.lang
%endif
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)