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