Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37498800
en ru br
ALT Linux repos
5.0: 1.90.0-alt6
4.1: 1.90.0-alt2.M41.5
4.0: 1.80.0-alt1
3.0: 1.60.0-alt1.beta2.cvs20050406
+backports:1.70.0-alt2.stable.M30.2

Group :: File tools
RPM: krusader

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define version 1.90.0
%define altrelease 5
#define pre beta2
#define cvs 20070509

## note on naming policy: any combination of pre/cvs macros are allowed. macros cvs should be defined

## only if its a cvs snapshot. pre should be defined only if we have prerelease. 'release' tag automagically
## would be like that: alt0.ALTRELEASE.PRE or altALTRELEASE (with added cvsdate if defined)

%define appname krusader
%define srcname %appname-%{?cvs:cvs-%cvs}%{!?cvs:%version%{?pre:-%pre}}

Name: %appname
Version: %version
Release: alt2.M41.5

Source0: %srcname.tar.gz

Patch10: krusader-cvs-20060412-makefile-kutils.patch
Patch11: krusader-altlinux-VFS-supplementary_gid_readable.patch

Packager: Konstantin Baev <kipruss at altlinux.org>
Group: File tools
Summary: A twin panel file manager for kde %{?cvs:- unstable version from cvs}
License: GPL
Url: http://krusader.sourceforge.net

# Automatically added by buildreq on Mon Sep 29 2008

BuildRequires: gcc-c++ imake kdebase-devel kjsembed-devel libXt-devel libjpeg-devel libqt3-devel xml-utils xorg-cf-files

%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 %srcname
%patch10
## fixed in upstream #1519955
##%%patch11

sed -i "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
sed -i "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
sed -i "s/\.la/.so/g" admin/acinclude.m4.in
sed -i -r "s,(^AM_INIT_AUTOMAKE\(krusader\,(.*))\)$,\1-%release\)," configure.in.in

make -f admin/Makefile.common cvs ||:

%build
%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/applications/kde/%{appname}*.desktop
%_datadir/config/*
%doc README ChangeLog TODO CVSNEWS
%_iconsdir/*/*/*/*.png
%_iconsdir/%name.png
%_man1dir/*
%_datadir/services/*.protocol

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin