Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/pim-sieve-editor?expand=0&rev=16
This commit is contained in:
Luca Beltrame 2017-04-15 13:29:09 +00:00 committed by Git OBS Bridge
parent f45f679764
commit 1efcfb4895

View File

@ -16,6 +16,8 @@
# #
%bcond_without lang
Name: pim-sieve-editor Name: pim-sieve-editor
Version: 17.03.90 Version: 17.03.90
Release: 0 Release: 0
@ -65,6 +67,10 @@ This package provides an editor, complete with syntax highlighting and
command completion, to edit Sieve scripts ("server side filtering") command completion, to edit Sieve scripts ("server side filtering")
in KDE PIM applications. in KDE PIM applications.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -74,6 +80,10 @@ in KDE PIM applications.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
%suse_update_desktop_file org.kde.sieveeditor Network Email %suse_update_desktop_file org.kde.sieveeditor Network Email
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -92,4 +102,9 @@ in KDE PIM applications.
%{_kf5_libdir}/libsieveeditor.so.* %{_kf5_libdir}/libsieveeditor.so.*
%{_datadir}/kconf_update/ %{_datadir}/kconf_update/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog