3 %bcond_without libkonq # importing the right click menu of konqueror
4 %bcond_with libkjsembed # with libkjsembed
7 Summary: Krusader is a filemanager for KDE
8 Summary(pl.UTF-8): Krusader jest zarządcą plików dla KDE
13 Group: X11/Applications
14 Source0: http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz
15 # Source0-md5: f80f500a136d549739ad5d4bcab7fa5f
16 Patch0: %{name}-desktop.patch
17 URL: http://krusader.sourceforge.net/
18 BuildRequires: Qt3Support-devel
19 BuildRequires: QtDBus-devel
20 BuildRequires: QtSvg-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: automoc4
25 BuildRequires: gettext-devel
26 %{?with_libkonq:BuildRequires: kde4-kdebase-devel}
27 %{?with_libkjsembed:BuildRequires: kde4-kdebindings-kjsembed-devel}
28 BuildRequires: kde4-kdelibs-devel
29 BuildRequires: phonon-devel
30 BuildRequires: rpmbuild(macros) >= 1.129
31 BuildRequires: sed >= 4.0
32 BuildRequires: zlib-devel
39 Suggests: kde4-kdesdk-kompare
40 Suggests: krename >= 3.9.1
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 Krusader is a filemanager for KDE, patterned after old-school managers
56 like midnight commander and norton commander. It features basically
57 all your file-management needs, plus extensive archive handling,
58 mounted filesystems support, FTP and much much more. It is (almost)
59 completely customizable, very user friendly, fast and damn good
60 looking :-). You should give it a try.
62 %description -l pl.UTF-8
63 Krusader jest zarządcą plików dla KDE, wzorowanym na takich zarządcach
64 "starej szkoły", jak Midnight Commander czy Norton Commander.
65 Zaspokaja w zasadzie wszystkie podstawowe potrzeby w zarządzaniu
66 plików, dodatkowo obsługuje archiwa, montowanie systemów plików, FTP i
67 o wiele, wiele więcej. Jest (prawie) całkowicie ustawialny, bardzo
68 przyjazny dla użytkownika, szybki i cholernie ładny :-). Powinieneś go
79 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
80 %if "%{_lib}" == "lib64"
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_desktopdir}
91 %{__make} -C build/ install \
92 DESTDIR=$RPM_BUILD_ROOT \
93 kde_htmldir=%{_kdedocdir}
96 %find_lang %{name} --with-kde
98 # locolor icons are deprecated (see kde .spec-s)
99 rm -f $RPM_BUILD_ROOT%{_iconsdir}/locolor/*/apps/*.png
102 rm -rf $RPM_BUILD_ROOT
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog FAQ README doc/actions_tutorial.txt
107 %attr(755,root,root) %{_bindir}/krusader
108 %attr(755,root,root) %{_libdir}/kde4/*.so
109 %{_datadir}/apps/krusader
110 %{_datadir}/config/kio_isorc
111 %{_datadir}/kde4/services/*.protocol
112 %{_desktopdir}/kde4/*.desktop
113 %{_iconsdir}/hicolor/*/*/*