From 62d5daf2de3ee1ad00da8f40f699508f4680436eef86f29a4f91548fbd8cff34 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:16 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kfind?expand=0&rev=18 --- kfind.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/kfind.spec b/kfind.spec index ba73e6b..80c323f 100644 --- a/kfind.spec +++ b/kfind.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: kfind Version: 17.03.90 Release: 0 @@ -39,6 +41,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KFind allows you to search for directories and files. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -48,6 +54,10 @@ KFind allows you to search for directories and files. %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.kfind System Filesystem core @@ -74,4 +84,9 @@ KFind allows you to search for directories and files. %doc %{_kf5_htmldir}/en/kfind/ %doc %{_kf5_mandir}/man1/kfind.* +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog