Accepting request 1168922 from home:sfalken:branches:X11:LXQt

- Update to 2.0.0:
  * Ported to Qt6
  * Allow bidirectional communication with launched process
  * Avoid flushing empty line
  * Flush everything coming from child and optimize splitting of
    output
- Specfile cleanup, and macro refactoring/updating

OBS-URL: https://build.opensuse.org/request/show/1168922
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-sudo?expand=0&rev=38
This commit is contained in:
Axel Braun 2024-05-16 14:40:51 +00:00 committed by Git OBS Bridge
parent f9adc4e5ff
commit 33a07be5aa
6 changed files with 45 additions and 34 deletions

View File

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

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHhUoVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+OJ8P/1SYbvrC3IE2JDwsM18PTKXj8EMY
HK/vOJDulXEpeHoTd+Xc7/vYiTr6plzB9+MHgCa69N4msd+sPcVu5UGeOpAK39F0
/0TMDzCeDTz3RB0z1roWnq9WtDE5EXFWBmvWY3QkWjUYVZoyAT5DpMbG8EzCoHQ5
p+fSLhIDQL2l5ikqNYomFv7ElqnwCK/Ic2Znt7pr8iYj4eqbs4/tAglienOSvHfb
f8C0jYMhSwo8KrA/G/Rtabu/8xZIkXO+Ja6/Gf6c5ZZ3behbUe27Fes0Wda+Hnra
rPXjssRo1KmHHJZHHw5+4M0dQqdArCe+P5hjBAgXJmp56E5hniI2qmzsEBuA33Rp
11Fb97Luz6pctBP3PLKbFaafvk5vKpivpx1bt12HSVu95NLGNiyv8HkqVrlQMog+
QrsPUv1NQO5cpwnNtswP8wGwnzryrDtXkf4x1PoqVegYzxAakh1PunhFr8wdEH9L
Kk9YhzYMRWpsHPMmop8TzoKcy3zFhME8RuyGH+kTfwm4osKNACT04zCQnKJcxuUV
AtCDDChH23iRZa5vcAS0mgIp0yGCwF7GyIMSnn6OcW7GPiy1HmKH3gQ1CJQVUkM7
LXXTaYIoWCLW4QwxgpK0lohADPSmiRgoDpETP2CFfF+qzsU0UJ5ISWTCZYXvp/NG
Z8kG+30vyYaquQ2y
=JWkM
-----END PGP SIGNATURE-----

3
lxqt-sudo-2.0.0.tar.xz Normal file
View File

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

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfsfIVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+NdkQALIRtN1aWY/XUAcr7VPeKXWbSbwB
pLF3c/c8Kl25M8g010sl3ZBr6oM1KhnuDEvWzTWbI3+pZPPf616NjXYwm1EviLW7
jN/kmsELqDhQKFf2Tq6C0gqd7SzTOLW0RO4chDdQSrLJT9BIcNKjERe5eT/iGCb2
BQMf/4jbAGR2mzUpbP/+RKT0asjcAmy9gBYIuXa/Cr6/nYeZhjVT62h0Pg5eaBAv
GEqCuDQuCRMgKDXjpfhdNWZbov5wEG+6KUR5igjCnPrE2GUe1dAQjSFEvZWLjqT/
X5qPj40tbZ7KWQpZYdbBjIIxKSRIGITA5yjPvfENhPz/LwSlJUbkJTedpb+vTNFC
NqwRkANScRKyPUSsBZkz87UYPVUcQI+zdv+5apiBAResmXqKwEHjPoI55iM26L5r
nm0sF42bzKo1fXr7Ls9P2bb8obZTtLu8ugnOuHLU2mRmuHFNXvMiOrQ3K1yUWBJc
cA2V5uHUX69bLABRS5toDk7facVYHPoilKk9ZvQfLVkBTmgaqBE5zoPjmH/V6GaM
NgFUrBIpxRhx+iWqz6FKxqsSsd2d1j26rQGxr56tSTtezZ6CmodYja6unUl82bRU
5JrkNG7Bh7kEoz1SfmHQnsUXv2QqsthAT2OrUgKLjOLMDDmQuJtlVj5O1LAPUTcy
luiKzil0D9nfR7V8
=7QhZ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Apr 18 18:41:24 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.0.0:
* Ported to Qt6
* Allow bidirectional communication with launched process
* Avoid flushing empty line
* Flush everything coming from child and optimize splitting of
output
- Specfile cleanup, and macro refactoring/updating
-------------------------------------------------------------------
Mon Nov 6 02:43:21 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package lxqt-sudo
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,25 +17,24 @@
Name: lxqt-sudo
Version: 1.4.0
Version: 2.0.0
Release: 0
Summary: GUI frontend for sudo
License: LGPL-2.1-only
Group: System/X11/Utilities
URL: http://lxqt.org
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.1.0
BuildRequires: cmake >= 3.5.0
BuildRequires: gcc-c++
BuildRequires: lxqt-build-tools-devel >= 0.13.0
BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(KF6WindowSystem) >= 6.0.0
BuildRequires: cmake(Qt6LinguistTools) >= 6.6
BuildRequires: cmake(lxqt) >= 2.0.0
BuildRequires: cmake(lxqt2-build-tools) >= 2.0.0
BuildRequires: pkgconfig(Qt6Widgets) >= 6.6
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(lxqt) >= %{version}
Requires: sudo
Recommends: %{name}-lang
%description
A graphical frontend for plain sudo (for requesting optional password in GUI
@ -47,13 +46,14 @@ and (after submit) the password is provided to sudo.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
%cmake -DPULL_TRANSLATIONS=No
%cmake_qt6
%{qt6_build}
%install
%cmake_install
%{qt6_install}
%find_lang %{name} --with-qt
@ -64,8 +64,8 @@ and (after submit) the password is provided to sudo.
%{_bindir}/lxsu*
%{_bindir}/lxdoas
%{_mandir}/man?/%{name}.*
%{_mandir}/man?/lxsu*.*
%{_mandir}/man?/lxdoas*
%{_mandir}/man?/lxsu*.?%{?ext_man}
%{_mandir}/man?/lxdoas.?%{?ext_man}
%files lang -f %{name}.lang
%dir %{_datadir}/lxqt