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