]> git.pld-linux.org Git - packages/krusader.git/blame - krusader.spec
- removed (already in sources)
[packages/krusader.git] / krusader.spec
CommitLineData
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 9Summary: Krusader is a filemanager for KDE 3
85feb43c 10Summary(pl.UTF-8): Krusader jest zarządcą plików dla KDE 3
630f7fef 11Name: krusader
dd026128 12Version: 1.80.0
fa0bae0a 13Release: 0.1
630f7fef
JR
14License: GPL
15Group: X11/Applications
fa0bae0a 16Source0: http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz
17# Source0-md5: 32bfaf4de7ca62e0f612357f4aa065a9
18Patch0: kde-ac260-lt.patch
19Patch1: %{name}-desktop.patch
20Patch2: %{name}-mount.patch
21Patch3: %{name}-krviewer.patch
406b9e57 22URL: http://krusader.sourceforge.net/
cb15bff5 23BuildRequires: autoconf
27f625dd 24BuildRequires: automake
4e1a7a76 25BuildRequires: gettext-devel
08710476 26%{?with_libkonq:BuildRequires: kdebase-devel}
55874f2f 27%{?with_libkjsembed:BuildRequires: kdebindings-kjsembed-devel}
96edcbd4 28BuildRequires: kdelibs-devel >= 3.5.0-4
dd026128 29BuildRequires: qt-devel >= 6:3.3
81987829 30BuildRequires: rpmbuild(macros) >= 1.129
08710476 31BuildRequires: sed >= 4.0
630f7fef
JR
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
839c79fe
ER
34%undefine with_ccache
35
630f7fef 36%description
406b9e57
JB
37Krusader is a filemanager for KDE 3, patterned after old-school
38managers like midnight commander and norton commander. It features
39basically all your file-management needs, plus extensive archive
83d61905 40handling, mounted filesystems support, FTP and much much more. It is
406b9e57
JB
41(almost) completely customizable, very user friendly, fast and damn
42good looking :-). You should give it a try.
630f7fef 43
f6434074
JR
44%description -l pl.UTF-8
45Krusader jest zarządcą plików dla KDE 3, wzorowanym na takich
46zarządcach "starej szkoły", jak Midnight Commander czy Norton
406b9e57 47Commander. Zaspokaja w zasadzie wszystkie podstawowe potrzeby w
f6434074
JR
48zarządzaniu plików, dodatkowo obsługuje archiwa, montowanie systemów
49plików, FTP i o wiele, wiele więcej. Jest (prawie) całkowicie
50ustawialny, 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 61cp -f /usr/share/automake/config.sub admin
a85bb8d9
MK
62export QTDIR=%{_prefix}
63export 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
75rm -rf $RPM_BUILD_ROOT
dafc8cda 76install -d $RPM_BUILD_ROOT%{_desktopdir}
630f7fef 77
0866064c 78%{__make} install \
27f625dd 79 DESTDIR=$RPM_BUILD_ROOT \
80 kde_htmldir=%{_kdedocdir}
630f7fef 81
fa0bae0a 82mv -f $RPM_BUILD_ROOT%{_datadir}/applications/kde/krusader.desktop \
dafc8cda 83 $RPM_BUILD_ROOT%{_desktopdir}/krusader.desktop
fa0bae0a 84mv -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)
89rm -f $RPM_BUILD_ROOT%{_iconsdir}/locolor/*/apps/*.png
90
cedf0ee6 91# confilicts with krusader
92rm $RPM_BUILD_ROOT%{_libdir}/kde3/kio_tar.so
93
630f7fef
JR
94%clean
95rm -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*
This page took 0.041644 seconds and 4 git commands to generate.