From d0aeddc7217261d8abab86dd8afcdd23226d460b2a4ab374ab7c3b222c892042 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:29:08 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/picmi?expand=0&rev=50 --- picmi.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/picmi.spec b/picmi.spec index a49ba95..4a437c7 100644 --- a/picmi.spec +++ b/picmi.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: picmi Version: 17.03.90 @@ -51,6 +52,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A nonogram logic game for KDE +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -60,11 +65,15 @@ A nonogram logic game for KDE %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.picmi Game LogicGame %files %defattr(-,root,root) -%doc COPYING +%doc COPYING* %{_kf5_bindir}/picmi %{_kf5_htmldir}/en/picmi/ %{_kf5_applicationsdir}/org.kde.picmi.desktop @@ -75,4 +84,9 @@ A nonogram logic game for KDE %{_kf5_kxmlguidir}/picmi/ %{_kf5_appstreamdir}/ +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog