From 744ed662c08e694b98d929d8b3b79de42da25b7a0a021c09ddf67dfa5a7aad0f Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Thu, 27 Aug 2020 12:56:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krusader?expand=0&rev=39 --- krusader.changes | 5 +++++ krusader.spec | 30 +++++++++++++++++------------- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/krusader.changes b/krusader.changes index 9c85f6f..278d611 100644 --- a/krusader.changes +++ b/krusader.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 27 12:56:33 UTC 2020 - Christophe Giboudeaux + +- Spec cleanup + ------------------------------------------------------------------- Mon Aug 26 07:18:41 UTC 2019 - wbauer@tmo.at diff --git a/krusader.spec b/krusader.spec index 584dd4d..9f324b3 100644 --- a/krusader.spec +++ b/krusader.spec @@ -86,15 +86,19 @@ An advanced twin panel (commander style) file manager for KDE. %build %cmake_kf5 -d build -%make_jobs +%cmake_build %install %kf5_makeinstall -C build + mkdir -p %{buildroot}%{_kf5_servicesdir}/ServiceMenus/ cp %{SOURCE1} %{buildroot}%{_kf5_servicesdir}/ServiceMenus/ cp %{SOURCE2} %{buildroot}%{_kf5_applicationsdir}/ + %suse_update_desktop_file org.kde.krusader.root-mode FileManager Utility + %find_lang %{name} + %fdupes %{buildroot} %post -p /sbin/ldconfig @@ -103,27 +107,27 @@ cp %{SOURCE2} %{buildroot}%{_kf5_applicationsdir}/ %files -f %{name}.lang %license COPYING %doc README AUTHORS ChangeLog TODO -%{_kf5_applicationsdir}/org.kde.krusader*.desktop -%{_kf5_appsdir}/krusader -%{_kf5_bindir}/krusader -%{_kf5_iconsdir}/??color/*/apps/krusader*.png -%{_kf5_plugindir}/kio_krarc.so -%{_kf5_servicesdir}/krarc.protocol -%{_kf5_kxmlguidir}/ -%{_kf5_mandir}/man1/krusader.1.gz +%dir %{_kf5_appstreamdir} %dir %{_kf5_mandir}/uk %dir %{_kf5_mandir}/uk/man1 -%{_kf5_mandir}/*/man1/krusader.1.gz %exclude %{_kf5_htmldir}/*/krusader -%dir %{_kf5_appstreamdir} +%{_kf5_applicationsdir}/org.kde.krusader*.desktop +%{_kf5_appsdir}/krusader %{_kf5_appstreamdir}/org.kde.krusader.appdata.xml +%{_kf5_bindir}/krusader +%{_kf5_iconsdir}/??color/*/apps/krusader*.png +%{_kf5_kxmlguidir}/ +%{_kf5_mandir}/*/man1/krusader.1.gz +%{_kf5_mandir}/man1/krusader.1.gz +%{_kf5_plugindir}/kio_krarc.so +%{_kf5_servicesdir}/krarc.protocol %files -n kio_iso %config %{_kf5_configdir}/kio_isorc -%{_kf5_plugindir}/kio_iso.so* -%{_kf5_servicesdir}/iso.protocol %dir %{_kf5_servicesdir}/ServiceMenus +%{_kf5_plugindir}/kio_iso.so* %{_kf5_servicesdir}/ServiceMenus/krusader_browse_iso.desktop +%{_kf5_servicesdir}/iso.protocol %files doc %doc %lang(en) %{_kf5_htmldir}/en/krusader