]>
Commit | Line | Data |
---|---|---|
08710476 | 1 | # |
fa0bae0a | 2 | # TODO: |
3 | # - revise patch3 and patch4 (adapt it or just remove when they're no longer needed) and rel up to 1 | |
4 | # | |
08710476 | 5 | # Conditional build: |
726f7353 | 6 | %bcond_without libkonq # importing the right click menu of konqueror |
7 | %bcond_without libkjsembed # with libkjsembed | |
08710476 | 8 | # |
630f7fef | 9 | Summary: Krusader is a filemanager for KDE 3 |
85feb43c | 10 | Summary(pl.UTF-8): Krusader jest zarządcą plików dla KDE 3 |
630f7fef | 11 | Name: krusader |
dd026128 | 12 | Version: 1.80.0 |
fa0bae0a | 13 | Release: 0.1 |
630f7fef JR |
14 | License: GPL |
15 | Group: X11/Applications | |
fa0bae0a | 16 | Source0: http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz |
17 | # Source0-md5: 32bfaf4de7ca62e0f612357f4aa065a9 | |
18 | Patch0: kde-ac260-lt.patch | |
19 | Patch1: %{name}-desktop.patch | |
20 | Patch2: %{name}-mount.patch | |
21 | Patch3: %{name}-krviewer.patch | |
406b9e57 | 22 | URL: http://krusader.sourceforge.net/ |
cb15bff5 | 23 | BuildRequires: autoconf |
27f625dd | 24 | BuildRequires: automake |
4e1a7a76 | 25 | BuildRequires: gettext-devel |
08710476 | 26 | %{?with_libkonq:BuildRequires: kdebase-devel} |
55874f2f | 27 | %{?with_libkjsembed:BuildRequires: kdebindings-kjsembed-devel} |
96edcbd4 | 28 | BuildRequires: kdelibs-devel >= 3.5.0-4 |
dd026128 | 29 | BuildRequires: qt-devel >= 6:3.3 |
81987829 | 30 | BuildRequires: rpmbuild(macros) >= 1.129 |
08710476 | 31 | BuildRequires: sed >= 4.0 |
630f7fef JR |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
839c79fe ER |
34 | %undefine with_ccache |
35 | ||
630f7fef | 36 | %description |
406b9e57 JB |
37 | Krusader is a filemanager for KDE 3, patterned after old-school |
38 | managers like midnight commander and norton commander. It features | |
39 | basically all your file-management needs, plus extensive archive | |
83d61905 | 40 | handling, mounted filesystems support, FTP and much much more. It is |
406b9e57 JB |
41 | (almost) completely customizable, very user friendly, fast and damn |
42 | good looking :-). You should give it a try. | |
630f7fef | 43 | |
f6434074 JR |
44 | %description -l pl.UTF-8 |
45 | Krusader jest zarządcą plików dla KDE 3, wzorowanym na takich | |
46 | zarządcach "starej szkoły", jak Midnight Commander czy Norton | |
406b9e57 | 47 | Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w |
f6434074 JR |
48 | zarządzaniu plików, dodatkowo obsługuje archiwa, montowanie systemów |
49 | plików, FTP i o wiele, wiele więcej. Jest (prawie) całkowicie | |
50 | ustawialny, bardzo przyjazny dla użytkownika, szybki i cholernie ładny | |
51 | :-). Powinieneś go wypróbować. | |
630f7fef JR |
52 | |
53 | %prep | |
fa0bae0a | 54 | %setup -q |
05ce895d | 55 | %patch0 -p1 |
fa0bae0a | 56 | %patch1 -p1 |
57 | %patch2 -p0 | |
58 | #%patch3 -p1 | |
630f7fef JR |
59 | |
60 | %build | |
dafc8cda | 61 | cp -f /usr/share/automake/config.sub admin |
a85bb8d9 MK |
62 | export QTDIR=%{_prefix} |
63 | export KDEDIR=%{_prefix} | |
fa0bae0a | 64 | %{__make} -f admin/Makefile.common cvs |
113aa6e3 | 65 | %configure \ |
c46dcb23 | 66 | --with-kiotar \ |
4e1a7a76 KK |
67 | %{!?with_libkonq:--without-konqueror} \ |
68 | %{!?with_libkjsembed:--without-javascript} \ | |
69 | --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ | |
113aa6e3 | 70 | --with-qt-libraries=%{_libdir} |
630f7fef JR |
71 | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
dafc8cda | 76 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
630f7fef | 77 | |
0866064c | 78 | %{__make} install \ |
27f625dd | 79 | DESTDIR=$RPM_BUILD_ROOT \ |
80 | kde_htmldir=%{_kdedocdir} | |
630f7fef | 81 | |
fa0bae0a | 82 | mv -f $RPM_BUILD_ROOT%{_datadir}/applications/kde/krusader.desktop \ |
dafc8cda | 83 | $RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop |
fa0bae0a | 84 | mv -f $RPM_BUILD_ROOT%{_datadir}/applications/kde/krusader_root-mode.desktop \ |
05ce895d | 85 | $RPM_BUILD_ROOT%{_desktopdir}/krusader_root-mode.desktop |
406b9e57 JB |
86 | %find_lang %{name} --with-kde |
87 | ||
839c79fe ER |
88 | # locolor icons are deprecated (see kde .spec-s) |
89 | rm -f $RPM_BUILD_ROOT%{_iconsdir}/locolor/*/apps/*.png | |
90 | ||
cedf0ee6 | 91 | # confilicts with krusader |
92 | rm $RPM_BUILD_ROOT%{_libdir}/kde3/kio_tar.so | |
93 | ||
630f7fef JR |
94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
406b9e57 | 97 | %files -f %{name}.lang |
630f7fef | 98 | %defattr(644,root,root,755) |
4e1a7a76 | 99 | %doc AUTHORS ChangeLog FAQ README TODO doc/actions_tutorial.txt |
406b9e57 | 100 | %attr(755,root,root) %{_bindir}/krusader |
239372f1 | 101 | %attr(755,root,root) %{_libdir}/kde3/*.so |
102 | %{_libdir}/kde3/*.la | |
100e2bcb | 103 | %{_datadir}/apps/krusader |
27f625dd | 104 | %{_datadir}/apps/konqueror/servicemenus/isoservice.desktop |
105 | %{_datadir}/config/kio_isorc | |
239372f1 | 106 | %{_datadir}/services/*.protocol |
4e1a7a76 KK |
107 | %{_desktopdir}/krusader*.desktop |
108 | %{_iconsdir}/crystalsvg/*/apps/*.png | |
100e2bcb | 109 | %{_mandir}/man1/krusader.1* |