3 %bcond_without libkonq # importing the right click menu of konqueror
4 %bcond_without libkjsembed # with libkjsembed
7 Summary: Krusader is a filemanager for KDE 3
8 Summary(pl): Krusader jest zarz±dc± plików dla KDE 3
13 Group: X11/Applications
14 Source0: http://dl.sourceforge.net/krusader/%{name}-%{version}-%{_beta}.tar.gz
15 # Source0-md5: 88f2f0593ca4f6736f2108d76b8cdcf0
16 Patch0: %{name}-desktop.patch
17 Patch1: %{name}-mount.patch
18 Patch2: %{name}-krviewer.patch
19 URL: http://krusader.sourceforge.net/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: gettext-devel
23 %{?with_libkonq:BuildRequires: kdebase-devel}
24 %{?with_libkjsembed:BuildRequires: kdebindings-kjsembed-devel}
25 BuildRequires: kdelibs-devel >= 3.3
26 BuildRequires: qt-devel >= 3.3
27 BuildRequires: rpmbuild(macros) >= 1.129
28 BuildRequires: sed >= 4.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Krusader is a filemanager for KDE 3, patterned after old-school
33 managers like midnight commander and norton commander. It features
34 basically all your file-management needs, plus extensive archive
35 handling, mounted filesystems support, FTP and much much more. It is
36 (almost) completely customizable, very user friendly, fast and damn
37 good looking :-). You should give it a try.
40 Krusader jest zarz±dc± plików dla KDE 3, wzorowanym na takich
41 zarz±dcach "starej szko³y", jak Midnight Commander czy Norton
42 Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w
43 zarz±dzaniu plików, dodatkowo obs³uguje archiwa, montowanie systemów
44 plików, FTP i o wiele, wiele wiêcej. Jest (prawie) ca³kowicie
45 ustawialny, bardzo przyjazny dla u¿ytkownika, szybki i cholernie
46 ³adny :-). Powiniene¶ go wypróbowaæ.
49 %setup -q -n %{name}-%{version}-%{_beta}
55 cp -f /usr/share/automake/config.sub admin
56 export QTDIR=%{_prefix}
57 export KDEDIR=%{_prefix}
60 %{!?with_libkonq:--without-konqueror} \
61 %{!?with_libkjsembed:--without-javascript} \
62 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
63 --with-qt-libraries=%{_libdir}
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_desktopdir}
72 DESTDIR=$RPM_BUILD_ROOT \
73 kde_htmldir=%{_kdedocdir}
75 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/krusader.desktop \
76 $RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop
77 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/krusader_root-mode.desktop \
78 $RPM_BUILD_ROOT%{_desktopdir}/krusader_root-mode.desktop
80 %find_lang %{name} --with-kde
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog FAQ README TODO doc/actions_tutorial.txt
88 %attr(755,root,root) %{_bindir}/krusader
89 %attr(755,root,root) %{_libdir}/kde3/*.so
91 %{_datadir}/apps/krusader
92 %{_datadir}/apps/konqueror/servicemenus/isoservice.desktop
93 %{_datadir}/config/kio_isorc
94 %{_datadir}/services/*.protocol
95 %{_desktopdir}/krusader*.desktop
96 %{_iconsdir}/crystalsvg/*/apps/*.png
97 %{_mandir}/man1/krusader.1*