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