SHA256
1
0
forked from pool/obconf-qt

- Move translation from lxqt-l10n into package

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/obconf-qt?expand=0&rev=10
This commit is contained in:
Michael Vetter 2019-01-31 11:04:47 +00:00 committed by Git OBS Bridge
parent f7f805d89f
commit 7847b2d37d
2 changed files with 9 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Thu Jan 31 10:36:45 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 0.14.0: - Update to 0.14.0:
* Fixed dysfunctional *.obt Archive generation * Fixed dysfunctional *.obt Archive generation
- Move translation from lxqt-l10n into package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 22 14:32:49 UTC 2018 - mvetter@suse.com Tue May 22 14:32:49 UTC 2018 - mvetter@suse.com

View File

@ -51,6 +51,8 @@ Configuration tool for the OpenBox Window Manager.
This tool is used by LXQt to configure OpenBox, since it is This tool is used by LXQt to configure OpenBox, since it is
used as the default WindowManager in LXQt. used as the default WindowManager in LXQt.
%lang_package
%prep %prep
%setup -q %setup -q
@ -67,9 +69,9 @@ touch %{buildroot}%{_sysconfdir}/alternatives/obconf
ln -s %{_sysconfdir}/alternatives/obconf \ ln -s %{_sysconfdir}/alternatives/obconf \
%{buildroot}%{_bindir}/obconf %{buildroot}%{_bindir}/obconf
%find_lang %{name} --with-qt
%post %post
%desktop_database_post
%icon_theme_cache_post
%{_sbindir}/update-alternatives --install \ %{_sbindir}/update-alternatives --install \
%{_bindir}/obconf \ %{_bindir}/obconf \
obconf \ obconf \
@ -77,8 +79,6 @@ ln -s %{_sysconfdir}/alternatives/obconf \
40 40
%postun %postun
%desktop_database_postun
%icon_theme_cache_postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove obconf \ %{_sbindir}/update-alternatives --remove obconf \
%{_bindir}/%{name} %{_bindir}/%{name}
@ -93,4 +93,8 @@ fi
%{_datadir}/icons/hicolor/*/apps/%{name}.??g %{_datadir}/icons/hicolor/*/apps/%{name}.??g
%ghost %{_sysconfdir}/alternatives/obconf %ghost %{_sysconfdir}/alternatives/obconf
%files lang -f %{name}.lang
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/translations
%changelog %changelog