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: 4b46a5f2e0529c956e6e85cf4cf11299
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 BuildRequires: acl-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Krusader is a filemanager for KDE 3, patterned after old-school
34 managers like midnight commander and norton commander. It features
35 basically all your file-management needs, plus extensive archive
36 handling, mounted filesystems support, FTP and much much more. It is
37 (almost) completely customizable, very user friendly, fast and damn
38 good looking :-). You should give it a try.
41 Krusader jest zarz±dc± plików dla KDE 3, wzorowanym na takich
42 zarz±dcach "starej szko³y", jak Midnight Commander czy Norton
43 Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w
44 zarz±dzaniu plików, dodatkowo obs³uguje archiwa, montowanie systemów
45 plików, FTP i o wiele, wiele wiêcej. Jest (prawie) ca³kowicie
46 ustawialny, bardzo przyjazny dla u¿ytkownika, szybki i cholernie
47 ³adny :-). Powiniene¶ go wypróbowaæ.
50 %setup -q -n %{name}-%{version}-%{_beta}
56 cp -f /usr/share/automake/config.sub admin
57 export QTDIR=%{_prefix}
58 export KDEDIR=%{_prefix}
61 %{!?with_libkonq:--without-konqueror} \
62 %{!?with_libkjsembed:--without-javascript} \
63 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
64 --with-qt-libraries=%{_libdir}
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_desktopdir}
73 DESTDIR=$RPM_BUILD_ROOT \
74 kde_htmldir=%{_kdedocdir}
76 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/krusader.desktop \
77 $RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop
78 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/krusader_root-mode.desktop \
79 $RPM_BUILD_ROOT%{_desktopdir}/krusader_root-mode.desktop
81 %find_lang %{name} --with-kde
84 rm -rf $RPM_BUILD_ROOT
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog FAQ README TODO doc/actions_tutorial.txt
89 %attr(755,root,root) %{_bindir}/krusader
90 %attr(755,root,root) %{_libdir}/kde3/*.so
92 %{_datadir}/apps/krusader
93 %{_datadir}/apps/konqueror/servicemenus/isoservice.desktop
94 %{_datadir}/config/kio_isorc
95 %{_datadir}/services/*.protocol
96 %{_desktopdir}/krusader*.desktop
97 %{_iconsdir}/crystalsvg/*/apps/*.png
98 %{_mandir}/man1/krusader.1*