diff --git a/lximage-qt.spec b/lximage-qt.spec index 042fc99..3f2929e 100644 --- a/lximage-qt.spec +++ b/lximage-qt.spec @@ -1,6 +1,6 @@ Name: lximage-qt Version: 0.14.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The image viewer and screenshot tool for LXQt License: GPLv2+ URL: http://lxqt.org/ @@ -25,6 +25,12 @@ Requires: hicolor-icon-theme %description The Qt port of LXImage, a simple and fast image viewer. +%package l10n +Summary: Translations for lximage-qt +Requires: lximage-qt +%description l10n +This package provides translations for the lximage-qt package. + %prep %setup -q @@ -44,6 +50,8 @@ for desktop in %{buildroot}/%{_datadir}/applications/*.desktop; do desktop-file-edit --remove-category=LXQt --remove-only-show-in=LXQt --add-only-show-in=X-LXQt ${desktop} done +%find_lang lximage-qt --with-qt + %files %license COPYING %doc AUTHORS README.md @@ -52,7 +60,15 @@ done %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/%{name} +%files l10n -f lximage-qt.lang +%license COPYING +%doc AUTHORS README.md +%dir %{_datadir}/lximage-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