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