Accepting request 630601 from KDE:Frameworks5
Update to 5.49.0 OBS-URL: https://build.opensuse.org/request/show/630601 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdesu?expand=0&rev=56
This commit is contained in:
commit
6ca6d37eb4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65133975fa107f4d4f1dd5012748bc9a3b262d5fef27f14f19dbad6e001c6a92
|
||||
size 44808
|
3
kdesu-5.49.0.tar.xz
Normal file
3
kdesu-5.49.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b398a310d4f84e049f8f41cbe65a2baa9b6a72a7d75eb985ce73611c8a5f9bbf
|
||||
size 44804
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 19 09:18:59 UTC 2018 - christophe@krop.fr
|
||||
|
||||
- Update to 5.49.0
|
||||
* New feature release
|
||||
* For more details please see:
|
||||
* https://www.kde.org/announcements/kde-frameworks-5.49.0.php
|
||||
- Changes since 5.48.0:
|
||||
* None
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 16 04:37:38 UTC 2018 - lbeltrame@kde.org
|
||||
|
||||
|
61
kdesu.spec
61
kdesu.spec
@ -16,16 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
%define lname libKF5Su5
|
||||
%define _tar_path 5.48
|
||||
%define _tar_path 5.49
|
||||
# Full KF5 version (e.g. 5.33.0)
|
||||
%{!?_kf5_version: %global _kf5_version %{version}}
|
||||
# Last major and minor KF5 version (e.g. 5.33)
|
||||
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
||||
%bcond_without lang
|
||||
Name: kdesu
|
||||
Version: 5.48.0
|
||||
Version: 5.49.0
|
||||
Release: 0
|
||||
Summary: User interface for running shell commands with root privileges
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/GUI/KDE
|
||||
URL: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
|
||||
Patch0: fpie.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||
BuildRequires: fdupes
|
||||
@ -34,38 +44,28 @@ BuildRequires: kf5-filesystem
|
||||
BuildRequires: ki18n-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kpty-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kservice-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(Qt5Core) >= 5.6.0
|
||||
BuildRequires: pkgconfig(x11)
|
||||
Summary: User interface for running shell commands with root privileges
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/GUI/KDE
|
||||
Url: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
|
||||
Patch0: fpie.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libkdesu provides functionality for building GUI front ends for
|
||||
(password asking) console mode programs. For example, kdesu and
|
||||
kdessh use it to interface with su and ssh respectively.
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: User interface for running shell commands with root privileges
|
||||
Group: System/GUI/KDE
|
||||
%if %{suse_version} >= 1330
|
||||
Requires(pre): group(nogroup)
|
||||
%endif
|
||||
Requires(pre): permissions
|
||||
Obsoletes: libKF5Su4
|
||||
%if 0%{?suse_version} >= 1330
|
||||
Requires(pre): group(nogroup)
|
||||
%endif
|
||||
%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
|
||||
(password asking) console mode programs. For example, kdesu and
|
||||
kdessh use it to interface with su and ssh respectively.
|
||||
@ -73,7 +73,7 @@ kdessh use it to interface with su and ssh respectively.
|
||||
%package devel
|
||||
Summary: User interface for running shell commands with root privileges
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: %lname = %{version}
|
||||
Requires: %{lname} = %{version}
|
||||
Requires: extra-cmake-modules
|
||||
Requires: kpty-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kservice-devel >= %{_kf5_bugfix_version}
|
||||
@ -84,7 +84,8 @@ libkdesu provides functionality for building GUI front ends for
|
||||
kdessh use it to interface with su and ssh respectively.
|
||||
Development files.
|
||||
|
||||
%lang_package -n %lname
|
||||
%lang_package -n %{lname}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
@ -101,28 +102,26 @@ Development files.
|
||||
%find_lang kdesud5 %{name}.lang
|
||||
%endif
|
||||
|
||||
%post -n %lname
|
||||
%post -n %{lname}
|
||||
/sbin/ldconfig
|
||||
%set_permissions %{_kf5_libexecdir}/kdesud
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%verifyscript -n %lname
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
%verifyscript -n %{lname}
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING* README*
|
||||
%files -n %{lname}
|
||||
%license COPYING*
|
||||
%doc README*
|
||||
%{_kf5_libdir}/libKF5Su.so.*
|
||||
%{_kf5_libexecdir}/kdesu_stub
|
||||
%verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_libdir}/libKF5Su.so
|
||||
%{_kf5_libdir}/cmake/KF5Su/
|
||||
%{_kf5_includedir}/*.h
|
||||
|
Loading…
Reference in New Issue
Block a user