]> git.pld-linux.org Git - packages/krusader.git/blob - krusader.spec
- updated to 2.0.0 "Mars Pathfinder" stable release
[packages/krusader.git] / krusader.spec
1 #
2 # Conditional build:
3 %bcond_without  libkonq         # importing the right click menu of konqueror
4 %bcond_with     libkjsembed     # with libkjsembed
5 #
6
7 Summary:        Krusader is a filemanager for KDE
8 Summary(pl.UTF-8):      Krusader jest zarządcą plików dla KDE
9 Name:           krusader
10 Version:        2.0.0
11 Release:        1
12 License:        GPL
13 Group:          X11/Applications
14 Source0:        http://dl.sourceforge.net/krusader/%{name}-%{version}.tar.gz
15 # Source0-md5:  f80f500a136d549739ad5d4bcab7fa5f
16 Patch0:         %{name}-desktop.patch
17 URL:            http://krusader.sourceforge.net/
18 BuildRequires:  Qt3Support-devel
19 BuildRequires:  QtDBus-devel
20 BuildRequires:  QtSvg-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  automoc4
24 BuildRequires:  cmake
25 BuildRequires:  gettext-devel
26 %{?with_libkonq:BuildRequires:  kde4-kdebase-devel}
27 %{?with_libkjsembed:BuildRequires:      kde4-kdebindings-kjsembed-devel}
28 BuildRequires:  kde4-kdelibs-devel
29 BuildRequires:  phonon-devel
30 BuildRequires:  rpmbuild(macros) >= 1.129
31 BuildRequires:  sed >= 4.0
32 BuildRequires:  zlib-devel
33 Suggests:       bzip2
34 Suggests:       cfv
35 Suggests:       coreutils
36 Suggests:       dpkg
37 Suggests:       gzip
38 Suggests:       kdiff3
39 Suggests:       kde4-kdesdk-kompare
40 Suggests:       krename >= 3.9.1
41 Suggests:       lha
42 Suggests:       md5deep
43 Suggests:       p7zip
44 Suggests:       tar
45 Suggests:       unace
46 Suggests:       unarj
47 Suggests:       unrar
48 Suggests:       unzip
49 Suggests:       zip
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %undefine       with_ccache
53
54 %description
55 Krusader is a filemanager for KDE, patterned after old-school managers
56 like midnight commander and norton commander. It features basically
57 all your file-management needs, plus extensive archive handling,
58 mounted filesystems support, FTP and much much more. It is (almost)
59 completely customizable, very user friendly, fast and damn good
60 looking :-). You should give it a try.
61
62 %description -l pl.UTF-8
63 Krusader jest zarządcą plików dla KDE, wzorowanym na takich zarządcach
64 "starej szkoły", jak Midnight Commander czy Norton Commander.
65 Zaspokaja w zasadzie wszystkie podstawowe potrzeby w zarządzaniu
66 plików, dodatkowo obsługuje archiwa, montowanie systemów plików, FTP i
67 o wiele, wiele więcej. Jest (prawie) całkowicie ustawialny, bardzo
68 przyjazny dla użytkownika, szybki i cholernie ładny :-). Powinieneś go
69 wypróbować.
70
71 %prep
72 %setup -q 
73 %patch0 -p1
74
75 %build
76 install -d build
77 cd build
78 %cmake \
79         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
80 %if "%{_lib}" == "lib64"
81         -DLIB_SUFFIX=64 \
82 %endif
83         ../
84
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_desktopdir}
90
91 %{__make} -C build/ install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         kde_htmldir=%{_kdedocdir}
94
95
96 %find_lang %{name} --with-kde
97
98 # locolor icons are deprecated (see kde .spec-s)
99 rm -f $RPM_BUILD_ROOT%{_iconsdir}/locolor/*/apps/*.png
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog FAQ README doc/actions_tutorial.txt
107 %attr(755,root,root) %{_bindir}/krusader
108 %attr(755,root,root) %{_libdir}/kde4/*.so
109 %{_datadir}/apps/krusader
110 %{_datadir}/config/kio_isorc
111 %{_datadir}/kde4/services/*.protocol
112 %{_desktopdir}/kde4/*.desktop
113 %{_iconsdir}/hicolor/*/*/*
This page took 0.047876 seconds and 3 git commands to generate.