1 Summary: Commandline ftp client
2 Summary(pl): Zaawansowany klient ftp
7 Group: Applications/Networking
8 Group(pl): Aplikacje/Sieciowe
9 Source0: ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/%{name}-%{version}.tar.bz2
11 URL: http://ftp.yars.free.net/projects/lftp/
12 BuildRequires: ncurses-devel >= 5.0
13 BuildRequires: readline-devel >= 4.1
14 BuildRequires: gettext-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sysconfdir /etc
20 LFTP is a shell-like command line ftp client. The main two advantages
21 over other ftp clients are reliability and ability to perform tasks in
22 background. It will reconnect and reget the file being transferred if
23 the connection broke. You can start a transfer in background and
24 continue browsing on the ftp site. It does this all in one process.
25 When you have started background jobs and feel you are done, you can
26 just exit lftp and it automatically moves to nohup mode and completes
27 the transfers. It has also such nice features as reput and mirror.
30 Lftp jest zaawansowanym klientem ftp. Potrafi automatycznie po³±czyæ
31 siê z serwerem ftp po zerwanym po³±czeniu i dokoñczyæ ¶ci±ganie
32 archiwów. Lftp mo¿e pracowaæ w tle i nie zrywa przy tym po³±czenia po
33 tym jak siê wylogujesz. Program ten honoruje komendy pow³oki podczas
34 sesji, np. `ls -al | less` itp. Doskonale siê spisuje jako aplikacja
35 do mirrorowania serwerów FTP.
41 gettextize --copy --force
42 LDFLAGS="-s"; export LDFLAGS
43 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates"; export CXXFLAGS
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_sysconfdir}
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54 install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
56 chmod +x $RPM_BUILD_ROOT%{_libdir}/lftp/*
58 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
64 rm -rf $RPM_BUILD_ROOT
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
70 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lftp.conf
71 %attr(755,root,root) %{_bindir}/*
73 %attr(755,root,root) %{_datadir}/lftp
76 %attr(755,root,root) %{_libdir}/lftp/*.so