From 920b0c7ebdc47b52c3f2304f0d6d5032fbe3279c0459703d08a836e0de1df8b3 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Fri, 8 Sep 2017 04:52:15 +0000 Subject: [PATCH] Add missing translatiosn OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/umbrello?expand=0&rev=76 --- umbrello.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/umbrello.spec b/umbrello.spec index c269916..bcf2c82 100644 --- a/umbrello.spec +++ b/umbrello.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: umbrello Version: 17.08.1 @@ -69,6 +70,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Umbrello is a UML modelling application. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -84,6 +89,11 @@ export CFLAGS="%{optflags} -fPIC" %install %kf5_makeinstall -C build + + %if %{with lang} + %find_lang %{name} + %endif + %suse_update_desktop_file org.kde.umbrello5 Development Design %post -p /sbin/ldconfig @@ -103,4 +113,9 @@ export CFLAGS="%{optflags} -fPIC" %{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-uml.png %{_kf5_sharedir}/umbrello5/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog