Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042274
en ru br
Репозитории ALT
S:4.9.2-alt1
5.1: 4.0.7-alt0.M51.1
4.1: 3.7.0-alt1
4.0: 3.5.10-alt2
3.0: 3.2.1-alt1
+backports:3.5.4-alt0.C30.1
www.altlinux.org/Changes

Группа :: Сети/Передача файлов
Пакет: lftp

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

Name: lftp
Version: 3.2.1
Release: alt1

Summary: Sophisticated command line file transfer program
License: GPL
Group: Networking/File transfer
Url: http://lftp.yar.ru/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/%name/%name-%version.tar.bz2
Source1: icons-%name.tar.bz2
Source2: %name.menu
Source3: lftpget.1

Patch1: lftp-3.0.11-alt-conf.patch
Patch2: lftp-2.6.2-alt-pager.patch

# Due to default pager.

Requires: less

# Automatically added by buildreq on Thu Jan 02 2003

BuildRequires: gcc-c++ libexpat-devel libncurses-devel libreadline-devel libssl-devel

%description
lftp is a file retrieving tool that supports FTP and HTTP protocols under
both IPv4 and IPv6.  lftp has an amazing set of features, while preserving
its interface as simple and easy as possible.

The main two advantages over other ftp clients are reliability and ability
to perform tasks in background.  It will reconnect and reget the file being
transferred if the connection broke.  You can start a transfer in background
and continue browsing the ftp site.  It does this all in one process.  When
you have started background jobs and feel you are done, you can just exit
lftp and it automatically moves to nohup mode and completes the transfers.
It also has such nice features as reput and mirror.  And it can download a
file faster using multiple connections.

lftp can also be scriptable, it can be used to mirror sites, it lets you
copy files among remote servers (even between FTP and HTTP).  It has an
extensive online help.  It supports bookmarks, and connecting to several
ftp/http sites at the same time.

This package also includes lftpget - a simple non-interactive tool for
downloading files.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
find -type f -name \*.orig -delete -print
# Our readline is linked with libtinfo already.
subst -p '/^lftp_TERMINFO/d' configure.ac

%build
%def_with nls
%def_with openssl
%def_with modules
# Regenerate it.
%__rm -f src/getdate.c
%__autoconf
%configure \
%{subst_with nls} \
%{subst_with openssl} \
%{subst_with modules} \
#
%make_build

%install
%makeinstall
%{?_with_modules:find %buildroot%_libdir/%name/ -type f -name \*.la -delete -print}

%__install -pm644 $RPM_SOURCE_DIR/lftpget.1 %buildroot%_man1dir/

%__mkdir_p %buildroot%_iconsdir
tar xjvf %SOURCE1 -C %buildroot%_iconsdir

%__install -pDm644 %SOURCE2 %buildroot%_menudir/%name

%__bzip2 -9fk NEWS src/ChangeLog

%find_lang %name
%{?_with_modules:%add_findprov_lib_path %_libdir/%name/%version}

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%config(noreplace) %_sysconfdir/lftp.conf
%_bindir/*
%{?_with_modules:%_libdir/%name}
%_datadir/%name
%_mandir/man?/*
%_menudir/%name
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
%doc src/ChangeLog.bz2 F* MIRRORS NEWS.bz2
%doc README.* THANKS TODO lftp.lsm BUGS

%changelog

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

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin