SHA256
1
0
forked from pool/krusader
Hrvoje Senjan 2016-10-23 17:09:40 +00:00 committed by Git OBS Bridge
parent 5f6ff453f0
commit 2749de3328
3 changed files with 13 additions and 12 deletions

View File

@ -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})
+

View File

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

View File

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