From 36b390e3383a483fc8c3b4d6072b406634ef02c9f7c4494b13192efba91c1ded Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:27:46 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/artikulate?expand=0&rev=53 --- artikulate.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/artikulate.spec b/artikulate.spec index a8b8ffb..5d787e2 100644 --- a/artikulate.spec +++ b/artikulate.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: artikulate Version: 17.03.90 @@ -57,6 +58,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Improve your pronunciation by listening to native speakers. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -66,6 +71,10 @@ Improve your pronunciation by listening to native speakers. %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.%{name} X-KDE-Edu-Teaching @@ -91,4 +100,9 @@ Improve your pronunciation by listening to native speakers. %{_kf5_plugindir}/artikulate/ %{_kf5_iconsdir}/hicolor/*/actions/language-artikulate.* +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog