From 3d8c49d51c04c715d69c0075b5270f3a1719f97805d93b5bc6a3e834c30b670c Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:41 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ksystemlog?expand=0&rev=57 --- ksystemlog.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ksystemlog.spec b/ksystemlog.spec index e987bc6..8cd8999 100644 --- a/ksystemlog.spec +++ b/ksystemlog.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: ksystemlog Version: 17.03.90 @@ -47,6 +48,10 @@ how to find information about their Linux system and how the log files are in their computer. But it is also designed for advanced users, who want to quickly see problems occurring on their server. +%if %{with lang} +%lang_package +%endif + %prep %setup -q @@ -56,6 +61,10 @@ want to quickly see problems occurring on their server. %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.ksystemlog System Monitor for i in {16,22,32,48,64,128}; do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps @@ -69,7 +78,7 @@ want to quickly see problems occurring on their server. %files %defattr(-,root,root) -%doc COPYING +%doc COPYING* %{_kf5_bindir}/ksystemlog %{_kf5_applicationsdir}/*.desktop %dir %{_kf5_htmldir}/en @@ -78,4 +87,9 @@ want to quickly see problems occurring on their server. %{_kf5_sharedir}/kxmlgui5/ %{_kf5_iconsdir}/hicolor/*/*/*.png +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog