From 2749de332817c308241000f2c4ce16a6e843285d171b336ab1a126b2f1fc7d66 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 23 Oct 2016 17:09:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krusader?expand=0&rev=9 --- krusader-2.4.0-beta2-generate-manpage.patch | 8 -------- krusader-2.5.0-generate-manpage.patch | 9 +++++++++ krusader.spec | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 krusader-2.4.0-beta2-generate-manpage.patch create mode 100644 krusader-2.5.0-generate-manpage.patch diff --git a/krusader-2.4.0-beta2-generate-manpage.patch b/krusader-2.4.0-beta2-generate-manpage.patch deleted file mode 100644 index b745748..0000000 --- a/krusader-2.4.0-beta2-generate-manpage.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -up krusader-2.4.0-beta2/doc/en_US/CMakeLists.txt.generate-manpage krusader-2.4.0-beta2/doc/en_US/CMakeLists.txt ---- krusader-2.4.0-beta2/doc/en_US/CMakeLists.txt.generate-manpage 2012-10-15 08:51:50.570757518 +0200 -+++ krusader-2.4.0-beta2/doc/en_US/CMakeLists.txt 2012-10-15 08:52:56.522420929 +0200 -@@ -1 +1,3 @@ - kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR krusader ) -+kde4_create_manpage(man-krusader.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR}) -+ - diff --git a/krusader-2.5.0-generate-manpage.patch b/krusader-2.5.0-generate-manpage.patch new file mode 100644 index 0000000..171b262 --- /dev/null +++ b/krusader-2.5.0-generate-manpage.patch @@ -0,0 +1,9 @@ +--- krusader-2.5.0.orig/doc/en/CMakeLists.txt 2016-10-22 15:31:15.000000000 +0200 ++++ krusader-2.5.0/doc/en/CMakeLists.txt 2016-10-23 19:08:08.400469349 +0200 +@@ -2,3 +2,6 @@ kdoctools_create_handbook(index.docbook + INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en + SUBDIR krusader) + ++kdoctools_create_manpage(man-krusader.1.docbook ++ 1 ++ INSTALL_DESTINATION ${MAN_INSTALL_DIR}) diff --git a/krusader.spec b/krusader.spec index fc360ed..6e76fbf 100644 --- a/krusader.spec +++ b/krusader.spec @@ -25,8 +25,8 @@ Group: Productivity/File utilities Url: http://krusader.sourceforge.net/ Source: http://download.kde.org/stable/krusader/%{version}/%{name}-%{version}.tar.xz Source1: krusader_browse_iso.desktop -# PATCH-FIX-OPENSUSE krusader-2.4.0-beta2-generate-manpage.patch -- generate manpage -Patch0: krusader-2.4.0-beta2-generate-manpage.patch +# PATCH-FIX-OPENSUSE krusader-2.5.0-generate-manpage.patch -- generate manpage +Patch0: krusader-2.5.0-generate-manpage.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: fdupes @@ -76,7 +76,7 @@ An advanced twin panel (commander style) file manager for KDE. %prep %setup -q -n %{name}-%{version} -#patch0 -p1 +%patch0 -p1 %build export RPM_OPT_FLAGS="%{optflags} -fpermissive" @@ -104,7 +104,7 @@ cp %{SOURCE1} %{buildroot}%{_kf5_servicesdir}/ServiceMenus/ %{_kf5_iconsdir}/??color/*/apps/krusader*.png %{_kf5_plugindir}/kio_krarc.so %{_kf5_servicesdir}/krarc.protocol -#{_kf5_mandir}/man1/krusader.1.gz +%{_kf5_mandir}/man1/krusader.1.gz %exclude %{_kf5_htmldir}/*/krusader %dir %{_kf5_appstreamdir} %{_kf5_appstreamdir}/org.kde.krusader.appdata.xml