Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdf?expand=0&rev=48
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:15 +00:00 committed by Git OBS Bridge
parent abdf1e7145
commit 9247bee20d

View File

@ -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