diff --git a/obconf-qt.spec b/obconf-qt.spec index 50976fd..bdf5a17 100644 --- a/obconf-qt.spec +++ b/obconf-qt.spec @@ -1,6 +1,6 @@ Name: obconf-qt Version: 0.14.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A configuration editor for the OpenBox window manager License: GPLv2+ @@ -27,6 +27,12 @@ Requires: openbox %{summary}. +%package l10n +Summary: Translations for obconf-qt +Requires: obconf-qt +%description l10n +This package provides translations for the obconf-qt package. + %prep %setup -q @@ -46,6 +52,8 @@ desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/%{name}.desktop +%find_lang obconf-qt --with-qt + %files %license COPYING %doc AUTHORS @@ -54,7 +62,15 @@ desktop-file-install \ %{_datadir}/icons/hicolor/*/*/* %{_datadir}/%{name} +%files l10n -f obconf-qt.lang +%license COPYING +%doc AUTHORS README.md +%dir %{_datadir}/obconf-qt/translations + %changelog +* Wed Feb 13 2019 Zamir SUN - 0.14.0-2 +- Add l10n sub package + * Wed Feb 13 2019 Zamir SUN - 0.14.0-1 - Prepare for LXQt 0.14.0