Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584261
 поиск   регистрация   авторизация 
 
Группа :: Работа с файлами
Пакет: krusader

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

%define cvsdate 20060204
#define snapshot cvs-%cvsdate
%define snapshot 1.70.0

%define appname krusader
%define altrelease 2

Name: %appname
Version: 1.70.0
#Release: alt0.M24.2.stable
Release: alt0.M24.2.stable
Source0: %appname-%snapshot.tar.gz

Packager: Nick S. Grechukh <gns at altlinux.ru>
Group: File tools
Summary: A twin panel file manager for kde - unstable version
License: GPL
Url: http://krusader.sourceforge.net

# Automatically added by buildreq on Mon Aug 02 2004

BuildRequires: kernel-headers XFree86-devel fontconfig freetype2 gcc-c++ hostinfo kde-settings kdelibs-devel libarts-devel libjpeg-devel libpng3-devel libqt3-devel libstdc++-devel xml-utils zlib-devel kdebase-devel

BuildRequires: rpm-build-compat >= 0.1

%description
Krusader is an advanced twin-panel (commander-style) file-manager for KDE 3.x (similar to Midnight or Total Commander) but with many extras.
It provides all the file-management features you could possibly want. Plus: extensive archive handling, mounted filesystem support, FTP, advanced search module, viewer/editor, directory synchronisation, file content comparisons, powerful batch renaming and much much more.
Krusader supports the following archive formats: tar, zip, bzip2, gzip, rar, ace, arj and rpm and can handle other KIOSlaves such as smb:// or fish://.
It is (almost) completely customizable, very user friendly, fast and looks great on your desktop! :-) You should give it a try.

%prep
%setup -q -n %appname-%snapshot
%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
%__subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
%__subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%__subst 's,\.la,.so,' configure

%build
export KDEDIR=%_prefix
export QTDIR=%_libdir/qt3
%configure \
       --disable-rpath \
--with-xinerama \
--disable-debug \
--disable-static \
--enable-shared

### SMP build is buggy! don't use make_build

%make

%install
%makeinstall

cp %buildroot/%_iconsdir/locolor/16x16/apps/%appname.png %buildroot/%_iconsdir

%find_lang %appname --with-kde

%post
%update_menus

%postun
%clean_menus

%files -f %appname.lang
%_bindir/%appname
%_libdir/kde3/*
#exclude %_libdir/kde3/kio_tar.*
###%%_menudir/%appname
%_datadir/apps/%appname
%_datadir/apps/konqueror/servicemenus/*.desktop
%_datadir/applnk/%{appname}*.desktop
%_datadir/config/*
%doc README ChangeLog TODO CVSNEWS
%_iconsdir/*/*/*/*.png
%_iconsdir/%name.png
%_man1dir/*
%_datadir/services/*.protocol

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005