diff --git a/pavucontrol-qt.spec b/pavucontrol-qt.spec index 8a985ba..867ffce 100644 --- a/pavucontrol-qt.spec +++ b/pavucontrol-qt.spec @@ -1,5 +1,5 @@ Name: pavucontrol-qt -Version: 0.15.0 +Version: 0.16.0 Release: 1mamba Summary: Qt port of volume control pavucontrol of sound server PulseAudio Group: Graphical Desktop/Applications/Multimedia @@ -39,59 +39,24 @@ Qt port of volume control pavucontrol of sound server PulseAudio. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +find %{buildroot}%{_datadir}/*/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}" -%files +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/pavucontrol-qt %{_datadir}/applications/pavucontrol-qt.desktop -%lang(arn) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_arn.qm -%lang(as) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_as.qm -%lang(ast) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ast.qm -%lang(bn_IN) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_bn_IN.qm -%lang(ca) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ca.qm -%lang(cs) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_cs.qm -%lang(cy) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_cy.qm -%lang(da) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_da.qm -%lang(de) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_de.qm -%lang(el) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_el.qm -%lang(es) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_es.qm -%lang(fi) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_fi.qm -%lang(fr) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_fr.qm -%lang(gl) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_gl.qm -%lang(gu) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_gu.qm -%lang(he) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_he.qm -%lang(hi) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_hi.qm -%lang(hu) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_hu.qm -%lang(id) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_id.qm -%lang(it) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_it.qm -%lang(ja) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ja.qm -%lang(kn) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_kn.qm -%lang(lt) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_lt.qm -%lang(ml) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ml.qm -%lang(mr) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_mr.qm -%lang(nb_NO) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_nb_NO.qm -%lang(nl) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_nl.qm -%lang(or) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_or.qm -%lang(pa) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_pa.qm -%lang(pl) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_pl.qm -%lang(pt) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_pt.qm -%lang(pt_BR) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_pt_BR.qm -%lang(ru) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ru.qm -%lang(sk) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_sk.qm -%lang(sr) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_sr.qm -%lang(sr@latin) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_sr@latin.qm -%lang(sv) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_sv.qm -%lang(ta) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_ta.qm -%lang(te) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_te.qm -%lang(th) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_th.qm -%lang(tr) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_tr.qm -%lang(uk) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_uk.qm -%lang(zh_CN) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_zh_CN.qm -%lang(zh_TW) %{_datadir}/pavucontrol-qt/translations/pavucontrol-qt_zh_TW.qm %doc AUTHORS LICENSE %changelog +* Mon Nov 09 2020 Automatic Build System 0.16.0-1mamba +- automatic version update by autodist + * Fri Oct 02 2020 Silvan Calarco 0.15.0-1mamba - package created using the webbuild interface