[packages/lxqt-sudo] - up to 2.3.0
mrozowik
mrozowik at pld-linux.org
Thu Dec 11 12:01:56 CET 2025
commit 04584ce94855b20ee2e84099bfabf3a571458ca0
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Thu Dec 11 11:01:43 2025 +0000
- up to 2.3.0
lxqt-sudo.spec | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/lxqt-sudo.spec b/lxqt-sudo.spec
index e73027c..51d802d 100644
--- a/lxqt-sudo.spec
+++ b/lxqt-sudo.spec
@@ -1,39 +1,37 @@
#
# Conditional build:
#
-%define qtver 5.3.1
+%define qtver 6.6.0
-Summary: lxqt-sudo
+Summary: GUI frontend for sudo/su
+Summary(pl.UTF-8): Interfejs graficzny dla sudo/su
Name: lxqt-sudo
-Version: 0.11.0
+Version: 2.3.0
Release: 1
License: GPLv2 and LGPL-2.1+
Group: X11/Applications
-Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 3e071c753f9f1fd63566799234cb426b
+Source0: https://github.com/lxqt/lxqt-sudo/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 3e6001b5f4556abc57281e44a7663a45
URL: http://www.lxqt.org/
-BuildRequires: cmake >= 2.8.3
-BuildRequires: liblxqt-devel >= 0.11.0
-BuildRequires: libqtxdg-devel >= 2.0.0
-BuildRequires: xdg-utils >= 1.1.0
+BuildRequires: Qt6Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 3.18.0
+BuildRequires: liblxqt-devel >= 2.3.0
BuildRequires: xz-devel
-Requires: lxqt-common
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-lxqt-sudo
+GUI frontend for sudo/su.
+
+%description -l pl.UTF-8
+Interfejs graficzny dla sudo/su.
%prep
%setup -q
%build
-install -d build
-cd build
-%cmake \
- -DPULL_TRANSLATIONS:BOOL=OFF \
- ../
+%cmake -B build
-%{__make}
+%{__make} -C build
%install
rm -rf $RPM_BUILD_ROOT
@@ -41,17 +39,19 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-#%find_lang %{name} --with-qm
+%find_lang %{name} --with-qm
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/lxdoas
%attr(755,root,root) %{_bindir}/lxqt-sudo
%attr(755,root,root) %{_bindir}/lxsu
%attr(755,root,root) %{_bindir}/lxsudo
-#%dir %{_datadir}/lxqt/translations/%{name}
+%dir %{_datadir}/lxqt/translations/%{name}
%{_mandir}/man1/lxqt-sudo.1*
%{_mandir}/man1/lxsu.1*
%{_mandir}/man1/lxsudo.1*
+%{_mandir}/man1/lxdoas.1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxqt-sudo.git/commitdiff/04584ce94855b20ee2e84099bfabf3a571458ca0
More information about the pld-cvs-commit
mailing list