From eb11d8df84a3d2a44649351db152c60fbd6102540e92fb8de01c7839afaf72b9 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:11 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdebugsettings?expand=0&rev=57 --- kdebugsettings.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/kdebugsettings.spec b/kdebugsettings.spec index 316408a..6e7f28b 100644 --- a/kdebugsettings.spec +++ b/kdebugsettings.spec @@ -16,6 +16,8 @@ # +%bcond_without lang + Name: kdebugsettings Version: 17.03.90 Release: 0 @@ -51,6 +53,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build KDebug control module for KDE. It provides a graphical frontend for the kdebug daemon, which allow enabling or disabling particular debug areas/messages. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kdebugsettings-%{version} @@ -60,15 +66,23 @@ kdebug daemon, which allow enabling or disabling particular debug areas/messages %install %kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name +%endif %suse_update_desktop_file org.kde.kdebugsettings Utility DesktopUtility %files %defattr(-,root,root) -%doc COPYING +%doc COPYING* %config %{_sysconfdir}/xdg/kde.categories %config %{_sysconfdir}/xdg/kde.renamecategories %{_kf5_bindir}/kdebugsettings %{_kf5_applicationsdir}/org.kde.kdebugsettings.desktop +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog