From a6117ef8d5e0328641b9d20e8fdcc97fc55bc885 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 13 Nov 2024 22:54:46 +0100 Subject: [PATCH] use %find_lang macro [release 2.1.0-2mamba;Sat Nov 09 2024] --- liblxqt.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/liblxqt.spec b/liblxqt.spec index 404c93b..044a9ba 100644 --- a/liblxqt.spec +++ b/liblxqt.spec @@ -1,6 +1,6 @@ Name: liblxqt -Version: 2.0.0 -Release: 1mamba +Version: 2.1.0 +Release: 2mamba Summary: The core library of LXQt providing essential functionality needed by nearly all of its components Group: System/Libraries Vendor: openmamba @@ -11,6 +11,11 @@ Source: https://github.com/lxqt/liblxqt.git/%{version}/liblxqt-%{version} License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libQt6Core +BuildRequires: libQt6DBus +BuildRequires: libQt6Gui +BuildRequires: libQt6Widgets +BuildRequires: libQt6Xml BuildRequires: libX11-devel BuildRequires: libXScrnSaver-devel BuildRequires: libgcc @@ -59,17 +64,11 @@ This package contains utility applications for %{name}. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -find %{buildroot}/usr/share/*/translations/ -name *.qm | \ -while read line; do - bn=`echo ${line}|cut -d_ -f2-3` - echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang -done +%find_lang %{name} --with-qt %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig %files %defattr(-,root,root) @@ -94,6 +93,12 @@ done %{_datadir}/lxqt/power.conf %changelog +* Sat Nov 09 2024 Silvan Calarco 2.1.0-2mamba +- use %find_lang macro + +* Fri Nov 08 2024 Automatic Build System 2.1.0-1mamba +- automatic version update by autodist + * Wed Apr 24 2024 Automatic Build System 2.0.0-1mamba - automatic version update by autodist