3 %bcond_with libkonq # importing the right click menu of konqueror
5 Summary: Krusader is a filemanager for KDE 3
6 Summary(pl): Krusader jest zarz±dc± plików dla KDE 3
11 Group: X11/Applications
12 Source0: http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz
13 # Source0-md5: 95f7900799bbd2810e6ac06fbf628536
14 Patch0: %{name}-desktop.patch
15 Patch1: %{name}-mount.patch
16 Patch2: %{name}-gcc34.patch
17 URL: http://krusader.sourceforge.net/
18 BuildRequires: automake
19 %{?with_libkonq:BuildRequires: kdebase-devel}
20 BuildRequires: kdebindings-kjsembed-devel
21 BuildRequires: kdelibs-devel >= 3.3
22 BuildRequires: qt-devel >= 3.3
23 BuildRequires: rpmbuild(macros) >= 1.129
24 BuildRequires: sed >= 4.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Krusader is a filemanager for KDE 3, patterned after old-school
29 managers like midnight commander and norton commander. It features
30 basically all your file-management needs, plus extensive archive
31 handling, mounted filesystems support, FTP and much much more. It is
32 (almost) completely customizable, very user friendly, fast and damn
33 good looking :-). You should give it a try.
36 Krusader jest zarz±dc± plików dla KDE 3, wzorowanym na takich
37 zarz±dcach "starej szko³y", jak Midnight Commander czy Norton
38 Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w
39 zarz±dzaniu plików, dodatkowo obs³uguje archiwa, montowanie systemów
40 plików, FTP i o wiele, wiele wiêcej. Jest (prawie) ca³kowicie
41 ustawialny, bardzo przyjazny dla u¿ytkownika, szybki i cholernie
42 ³adny :-). Powiniene¶ go wypróbowaæ.
51 %{!?with_libkonq:%{__sed} -i 's,have_libkonq=yes,have_libkonq=no,' configure*}
52 cp -f /usr/share/automake/config.sub admin
53 export QTDIR=%{_prefix}
54 export KDEDIR=%{_prefix}
58 --with-qt-libraries=%{_libdir}
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_desktopdir}
67 DESTDIR=$RPM_BUILD_ROOT \
68 kde_htmldir=%{_kdedocdir}
70 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/krusader.desktop \
71 $RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop
72 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/krusader_root-mode.desktop \
73 $RPM_BUILD_ROOT%{_desktopdir}/krusader_root-mode.desktop
75 %find_lang %{name} --with-kde
78 rm -rf $RPM_BUILD_ROOT
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/krusader
83 %attr(755,root,root) %{_libdir}/kde3/kio_krarc.so
84 %attr(755,root,root) %{_libdir}/kde3/kio_iso.so
85 %{_libdir}/kde3/kio_krarc.la
86 %{_libdir}/kde3/kio_iso.la
87 %{_datadir}/apps/krusader
88 %{_datadir}/services/krarc.protocol
89 %{_datadir}/services/iso.protocol
90 %{_datadir}/apps/konqueror/servicemenus/isoservice.desktop
91 %{_datadir}/config/kio_isorc
92 %{_desktopdir}/*.desktop
93 %{_iconsdir}/hicolor/*/apps/*.png
94 %{_mandir}/man1/krusader.1*