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