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