From f0efd22ade51b21680391c7ba49f822b3f8705b7e4bd65332243c54a673ecd7e Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:29:07 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/parley?expand=0&rev=49 --- parley.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/parley.spec b/parley.spec index cbe9845..5456658 100644 --- a/parley.spec +++ b/parley.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: parley Version: 17.03.90 @@ -62,6 +63,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Parley is a vocabulary trainer for KDE. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -71,6 +76,10 @@ Parley is a vocabulary trainer for KDE. %install %kf5_makeinstall -C build + %if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs + %endif chmod a+x %{buildroot}%{_kf5_appsdir}/parley/plugins/*.py %files @@ -85,4 +94,9 @@ Parley is a vocabulary trainer for KDE. %{_kf5_iconsdir}/*/*/*/* %{_kf5_sharedir}/parley/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog