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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: kdf Name: kdf
Version: 17.03.90 Version: 17.03.90
@ -48,6 +49,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
KDE free disk space utility KDE free disk space utility
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q -n kdf-%{version} %setup -q -n kdf-%{version}
%patch1 %patch1
@ -57,8 +62,11 @@ KDE free disk space utility
%make_jobs %make_jobs
%install %install
cd build %kf5_makeinstall -C build
%kf5_makeinstall %if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
%suse_update_desktop_file org.kde.kdf System Filesystem %suse_update_desktop_file org.kde.kdf System Filesystem
%package -n kwikdisk %package -n kwikdisk
@ -73,7 +81,7 @@ This utility allows you to manage removable media.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING*
%{_kf5_bindir}/kdf %{_kf5_bindir}/kdf
%{_kf5_plugindir}/libkcm_kdf.so %{_kf5_plugindir}/libkcm_kdf.so
%{_kf5_applicationsdir}/org.kde.kdf.desktop %{_kf5_applicationsdir}/org.kde.kdf.desktop
@ -88,9 +96,14 @@ This utility allows you to manage removable media.
%files -n kwikdisk %files -n kwikdisk
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING*
%{_kf5_bindir}/kwikdisk %{_kf5_bindir}/kwikdisk
%{_kf5_applicationsdir}/org.kde.kwikdisk.desktop %{_kf5_applicationsdir}/org.kde.kwikdisk.desktop
%{_kf5_iconsdir}/hicolor/*/*/kwikdisk.png %{_kf5_iconsdir}/hicolor/*/*/kwikdisk.png
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog