From 8ebfa9b1cd94fb3e3ecb8ed491c4adbb2509f460394c8b982943ee7061fb0e45 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:27:50 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/dolphin-plugins?expand=0&rev=48 --- dolphin-plugins.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dolphin-plugins.spec b/dolphin-plugins.spec index ab2f06e..b31b746 100644 --- a/dolphin-plugins.spec +++ b/dolphin-plugins.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: dolphin-plugins Version: 17.03.90 @@ -47,6 +48,10 @@ Dolphin file manager specific version control plugins that: - Show the version state of a file by an emblem + color - Provide a context menu with version control specific actions +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -59,13 +64,16 @@ RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) -%doc COPYING +%doc COPYING* %{_kf5_plugindir}/fileviewbazaarplugin.so %{_kf5_plugindir}/fileviewdropboxplugin.so %{_kf5_plugindir}/fileviewgitplugin.so @@ -81,4 +89,9 @@ RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %{_kf5_configkcfgdir}/fileviewhgpluginsettings.kcfg %{_kf5_servicesdir}/fileviewhgplugin.desktop +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog