From 8be967ace423b61a57c8143e147b48346846a5ebb60383bfa2c970593c08e4d9 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/keditbookmarks?expand=0&rev=16 --- keditbookmarks.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/keditbookmarks.spec b/keditbookmarks.spec index 2322cd3..2a96c5f 100644 --- a/keditbookmarks.spec +++ b/keditbookmarks.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: keditbookmarks Version: 17.03.90 Release: 0 @@ -46,6 +48,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is an editor to edit your KDE-wide bookmark set. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -55,6 +61,10 @@ This is an editor to edit your KDE-wide bookmark set. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -72,4 +82,9 @@ This is an editor to edit your KDE-wide bookmark set. %{_kf5_htmldir}/en/keditbookmarks/ %{_mandir}/man1/kbookmarkmerger.1%{ext_man} +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog