From a0f7cc303d87c1ea06c0304f1bd2f69edd2a5ac044dc564a65e343d884e55705 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:34 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kolourpaint?expand=0&rev=51 --- kolourpaint.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kolourpaint.spec b/kolourpaint.spec index 8914ca1..61a98fb 100644 --- a/kolourpaint.spec +++ b/kolourpaint.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kolourpaint Version: 17.03.90 @@ -43,6 +44,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Paint program for KDE +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -52,6 +57,10 @@ Paint program for KDE %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %suse_update_desktop_file org.kde.kolourpaint RasterGraphics %fdupes -s %{buildroot}%{_datadir} @@ -73,4 +82,9 @@ Paint program for KDE %{_kf5_iconsdir}/hicolor/*/apps/kolourpaint.* %{_kf5_libdir}/libkolourpaint_lgpl.so* +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog