From 9247bee20da744a748fd7f9ba00a1812fa9b45fec61e7c2c9eef1cff596ed31d Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Apr 2017 13:28:15 +0000 Subject: [PATCH] Make a merry car great again OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdf?expand=0&rev=48 --- kdf.spec | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/kdf.spec b/kdf.spec index c7c407b..c262d41 100644 --- a/kdf.spec +++ b/kdf.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: kdf Version: 17.03.90 @@ -48,6 +49,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KDE free disk space utility +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n kdf-%{version} %patch1 @@ -57,8 +62,11 @@ KDE free disk space utility %make_jobs %install -cd build -%kf5_makeinstall +%kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs +%endif %suse_update_desktop_file org.kde.kdf System Filesystem %package -n kwikdisk @@ -73,7 +81,7 @@ This utility allows you to manage removable media. %files %defattr(-,root,root) -%doc COPYING +%doc COPYING* %{_kf5_bindir}/kdf %{_kf5_plugindir}/libkcm_kdf.so %{_kf5_applicationsdir}/org.kde.kdf.desktop @@ -88,9 +96,14 @@ This utility allows you to manage removable media. %files -n kwikdisk %defattr(-,root,root) -%doc COPYING +%doc COPYING* %{_kf5_bindir}/kwikdisk %{_kf5_applicationsdir}/org.kde.kwikdisk.desktop %{_kf5_iconsdir}/hicolor/*/*/kwikdisk.png +%if %{with lang} +%files lang -f %{name}.lang +%doc COPYING* +%endif + %changelog