From 0d2542a9f78f8a4e09eff056e7d3b30a59ded7c1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:59:59 +0100 Subject: [PATCH] update to 0.16.0 [release 0.16.0-1mamba;Sun Nov 08 2020] --- liblxqt.spec | 57 +++++++++++----------------------------------------- 1 file changed, 12 insertions(+), 45 deletions(-) diff --git a/liblxqt.spec b/liblxqt.spec index ecf5cd8..e370422 100644 --- a/liblxqt.spec +++ b/liblxqt.spec @@ -1,5 +1,5 @@ Name: liblxqt -Version: 0.15.1 +Version: 0.16.0 Release: 1mamba Summary: The core library of LXQt providing essential functionality needed by nearly all of its components Group: System/Libraries @@ -21,6 +21,7 @@ BuildRequires: libqt5-devel BuildRequires: libqtxdg-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: libpolkit-qt5-1-devel BuildRequires: cmake Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -58,6 +59,12 @@ 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 + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -80,55 +87,15 @@ This package contains utility applications for %{name}. %{_datadir}/cmake/lxqt/lxqt-*.cmake %doc README.md -%files tools +%files tools -f %{name}.lang %defattr(-,root,root) %{_bindir}/lxqt-backlight_backend %{_datadir}/polkit-1/actions/org.lxqt.backlight.pkexec.policy %{_datadir}/lxqt/power.conf -%lang(ar) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ar.qm -%lang(arn) %{_datadir}/lxqt/translations/liblxqt/liblxqt_arn.qm -%lang(ast) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ast.qm -%lang(bg) %{_datadir}/lxqt/translations/liblxqt/liblxqt_bg.qm -%lang(ca) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ca.qm -%lang(cs) %{_datadir}/lxqt/translations/liblxqt/liblxqt_cs.qm -%lang(cy) %{_datadir}/lxqt/translations/liblxqt/liblxqt_cy.qm -%lang(da) %{_datadir}/lxqt/translations/liblxqt/liblxqt_da.qm -%lang(de) %{_datadir}/lxqt/translations/liblxqt/liblxqt_de.qm -%lang(el) %{_datadir}/lxqt/translations/liblxqt/liblxqt_el.qm -%lang(en_GB) %{_datadir}/lxqt/translations/liblxqt/liblxqt_en_GB.qm -%lang(eo) %{_datadir}/lxqt/translations/liblxqt/liblxqt_eo.qm -%lang(es) %{_datadir}/lxqt/translations/liblxqt/liblxqt_es.qm -%lang(es_VE) %{_datadir}/lxqt/translations/liblxqt/liblxqt_es_VE.qm -%lang(eu) %{_datadir}/lxqt/translations/liblxqt/liblxqt_eu.qm -%lang(fi) %{_datadir}/lxqt/translations/liblxqt/liblxqt_fi.qm -%lang(fr) %{_datadir}/lxqt/translations/liblxqt/liblxqt_fr.qm -%lang(gl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_gl.qm -%lang(he) %{_datadir}/lxqt/translations/liblxqt/liblxqt_he.qm -%lang(hu) %{_datadir}/lxqt/translations/liblxqt/liblxqt_hu.qm -%lang(ia) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ia.qm -%lang(id) %{_datadir}/lxqt/translations/liblxqt/liblxqt_id.qm -%lang(it) %{_datadir}/lxqt/translations/liblxqt/liblxqt_it.qm -%lang(ja) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ja.qm -%lang(ko) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ko.qm -%lang(lt) %{_datadir}/lxqt/translations/liblxqt/liblxqt_lt.qm -%lang(lv) %{_datadir}/lxqt/translations/liblxqt/liblxqt_lv.qm -%lang(nb_NO) %{_datadir}/lxqt/translations/liblxqt/liblxqt_nb_NO.qm -%lang(nl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_nl.qm -%lang(pl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pl.qm -%lang(pt) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pt.qm -%lang(pt_BR) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pt_BR.qm -%lang(ro_RO) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ro_RO.qm -%lang(ru) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ru.qm -%lang(sk_SK) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sk_SK.qm -%lang(sl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sl.qm -%lang(sr@latin) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sr@latin.qm -%lang(sr_RS) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sr_RS.qm -%lang(th_TH) %{_datadir}/lxqt/translations/liblxqt/liblxqt_th_TH.qm -%lang(tr) %{_datadir}/lxqt/translations/liblxqt/liblxqt_tr.qm -%lang(uk) %{_datadir}/lxqt/translations/liblxqt/liblxqt_uk.qm -%lang(zh_CN) %{_datadir}/lxqt/translations/liblxqt/liblxqt_zh_CN.qm -%lang(zh_TW) %{_datadir}/lxqt/translations/liblxqt/liblxqt_zh_TW.qm %changelog +* Sun Nov 08 2020 Silvan Calarco 0.16.0-1mamba +- update to 0.16.0 + * Fri Oct 02 2020 Silvan Calarco 0.15.1-1mamba - package created using the webbuild interface