From 9d3802731ee004eeea5276ee35e8318ee008ffe91d5b2d6b14987ea3c9f106fb Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:27:54 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/gwenview5?expand=0&rev=61 --- gwenview5.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gwenview5.spec b/gwenview5.spec index 4a437a5..8433df8 100644 --- a/gwenview5.spec +++ b/gwenview5.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: gwenview5 Version: 17.03.90 Release: 0 @@ -61,6 +63,10 @@ Gwenview is a simple image viewer for KDE. It features a folder tree window and a file list window, providing easy navigation of your file hierarchy. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n gwenview-%{version} @@ -70,6 +76,10 @@ hierarchy. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %suse_update_desktop_file -r org.kde.gwenview Graphics RasterGraphics Viewer KDE @@ -96,4 +106,9 @@ hierarchy. %dir %{_datadir}/solid/actions %{_datadir}/solid/actions/gwenview_*.desktop +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog