[packages/lxqt-globalkeys] - up to 2.3.0

mrozowik mrozowik at pld-linux.org
Thu Dec 11 12:05:24 CET 2025


commit 8580d769f770ceabb02a48a10cd390c1cff35237
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Thu Dec 11 11:05:15 2025 +0000

    - up to 2.3.0

 lxqt-globalkeys.spec | 59 ++++++++++++++++++++++++++++------------------------
 1 file changed, 32 insertions(+), 27 deletions(-)
---
diff --git a/lxqt-globalkeys.spec b/lxqt-globalkeys.spec
index 6a6c605..714533b 100644
--- a/lxqt-globalkeys.spec
+++ b/lxqt-globalkeys.spec
@@ -1,34 +1,42 @@
 #
 # Conditional build:
 #
-%define		qtver		5.3.1
+%define		qtver		6.6.0
 
-Summary:	lxqt-globalkeys
+Summary:	Global keys utility for LXQt desktop suite
+Summary(pl.UTF-8):	Narzędzie do konfigurowania globalnych skrótów kalawiaturiwych dla LXQt
 Name:		lxqt-globalkeys
-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:	827836c3d33195efd7ddb580887c0769
+Source0:	https://github.com/lxqt/lxqt-globalkeys/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	77784d88a5c65433e890d41b23a3bef9
 URL:		http://www.lxqt.org/
-BuildRequires:	cmake >= 2.8.3
-BuildRequires:	liblxqt-devel >= 0.11.0
-BuildRequires:	libqtxdg-devel >= 2.0.0
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6DBus-devel >= %{qtver}
+BuildRequires:	Qt6Widgets-devel >= %{qtver}
+BuildRequires:	cmake >= 3.18.0
+BuildRequires:	liblxqt-devel >= 2.3.0
+BuildRequires:	qt6-linguist >= %{qtver}
 BuildRequires:	xz-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-lxqt-globalkeys
+Global keys utility for LXQt desktop suite.
+
+%description -l pl.UTF-8
+Narzędzie do konfigurowania globalnych skrótów kalawiaturiwych dla
+środowiska graficznego LXQt.
 
 %package devel
 Summary:	lxqt-globalkeys - header files and development documentation
 Summary(pl.UTF-8):	Pliki nagłówkowe i dokumentacja do lxqt-globalkeys
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	Qt5Core-devel >= %{qtver}
-Requires:	Qt5Gui-devel >= %{qtver}
-Requires:	Qt5Xml-devel >= %{qtver}
+Requires:	Qt6Core-devel >= %{qtver}
+Requires:	Qt6DBus-devel >= %{qtver}
+Requires:	Qt6Widgets-devel >= %{qtver}
 
 %description devel
 This package contains header files and development documentation for
@@ -42,13 +50,9 @@ pisaniu własnych programów wykorzystujących lxqt-globalkeys.
 %setup -q
 
 %build
-install -d build
-cd build
-%cmake \
-	-DPULL_TRANSLATIONS=OFF \
-	../
+%cmake -B build
 
-%{__make}
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -56,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-#%find_lang %{name} --all-name --with-qm
+%find_lang %{name} --all-name --with-qm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,18 +68,19 @@ rm -rf $RPM_BUILD_ROOT
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/lxqt-config-globalkeyshortcuts
-
 %attr(755,root,root) %{_bindir}/lxqt-globalkeysd
+/etc/xdg/autostart/lxqt-globalkeyshortcuts.desktop
+%{_datadir}/lxqt/globalkeyshortcuts.conf
 %{_desktopdir}/lxqt-config-globalkeyshortcuts.desktop
-
-#%dir %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts
-%attr(755,root,root) %ghost %{_libdir}/liblxqt-globalkeys-ui.so.0
-%attr(755,root,root) %{_libdir}/liblxqt-globalkeys-ui.so.0.11.*
-%attr(755,root,root) %ghost %{_libdir}/liblxqt-globalkeys.so.0
-%attr(755,root,root) %{_libdir}/liblxqt-globalkeys.so.0.11.*
+# reqiored for the lang files
+%dir %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts
+%ghost %{_libdir}/liblxqt-globalkeys-ui.so.2
+%{_libdir}/liblxqt-globalkeys-ui.so.*.*.*
+%ghost %{_libdir}/liblxqt-globalkeys.so.2
+%{_libdir}/liblxqt-globalkeys.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxqt-globalkeys.git/commitdiff/8580d769f770ceabb02a48a10cd390c1cff35237



More information about the pld-cvs-commit mailing list