From 8d4823d1cc19ccdca59e0a54afb7ef5b7088b1142e38c373649ab0ee0f74aedb Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:29:06 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/minuet?expand=0&rev=42 --- minuet.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/minuet.spec b/minuet.spec index 7c47046..c3c22a1 100644 --- a/minuet.spec +++ b/minuet.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + %define kf5_version 5.26.0 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} @@ -68,7 +70,9 @@ Requires: minuet = %{version} %description devel Development headers and libraries for Minuet. +%if %{with lang} %lang_package +%endif %prep %setup -q @@ -79,6 +83,10 @@ Development headers and libraries for Minuet. %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.minuet Music %files @@ -100,4 +108,9 @@ Development headers and libraries for Minuet. %{_includedir}/minuet/ %{_kf5_libdir}/libminuetinterfaces.so +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog