diff --git a/obconf-qt.changes b/obconf-qt.changes index 74411ed..6715265 100644 --- a/obconf-qt.changes +++ b/obconf-qt.changes @@ -3,6 +3,7 @@ Thu Jan 31 10:36:45 UTC 2019 - Michael Vetter - Update to 0.14.0: * Fixed dysfunctional *.obt Archive generation +- Move translation from lxqt-l10n into package ------------------------------------------------------------------- Tue May 22 14:32:49 UTC 2018 - mvetter@suse.com diff --git a/obconf-qt.spec b/obconf-qt.spec index 96ddec6..c0575e6 100644 --- a/obconf-qt.spec +++ b/obconf-qt.spec @@ -51,6 +51,8 @@ Configuration tool for the OpenBox Window Manager. This tool is used by LXQt to configure OpenBox, since it is used as the default WindowManager in LXQt. +%lang_package + %prep %setup -q @@ -67,9 +69,9 @@ touch %{buildroot}%{_sysconfdir}/alternatives/obconf ln -s %{_sysconfdir}/alternatives/obconf \ %{buildroot}%{_bindir}/obconf +%find_lang %{name} --with-qt + %post -%desktop_database_post -%icon_theme_cache_post %{_sbindir}/update-alternatives --install \ %{_bindir}/obconf \ obconf \ @@ -77,8 +79,6 @@ ln -s %{_sysconfdir}/alternatives/obconf \ 40 %postun -%desktop_database_postun -%icon_theme_cache_postun if [ $1 -eq 0 ]; then %{_sbindir}/update-alternatives --remove obconf \ %{_bindir}/%{name} @@ -93,4 +93,8 @@ fi %{_datadir}/icons/hicolor/*/apps/%{name}.??g %ghost %{_sysconfdir}/alternatives/obconf +%files lang -f %{name}.lang +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/translations + %changelog