]> git.pld-linux.org Git - packages/lftp.git/blob - lftp.spec
- added patch which enable passive mode transfer in global config file.
[packages/lftp.git] / lftp.spec
1 Summary:        Commandline ftp client
2 Summary(pl):    Zaawansowany klient ftp
3 Name:           lftp
4 Version:        2.0.5
5 Release:        1
6 Group:          Networking/Utilities
7 Group(pl):      Sieciowe/Narzêdzia
8 Copyright:      GPL
9 Source:         ftp://ftp.yars.free.net:/pub/software/unix/net/ftp/client/lftp/%{name}-%{version}.tar.gz
10 Patch:          lftp-passive.patch
11 Icon:           ftp.gif
12 BuildRequires:  ncurses-devel
13 BuildRequires:  readline-devel
14 BuildRequires:  gettext-devel
15 Buildroot:      /tmp/%{name}-%{version}-root
16
17 %define         _sysconfdir     /etc
18
19 %description
20 LFTP is a shell-like command line ftp client. The main two advantages over
21 other ftp clients are reliability and ability to perform tasks in
22 background. It will reconnect and reget the file being transferred if the
23 connection broke. You can start a transfer in background and continue
24 browsing on the ftp site. It does this all in one process. When you have
25 started background jobs and feel you are done, you can just exit lftp and it
26 automatically moves to nohup mode and completes the transfers. It has also
27 such nice features as reput and mirror.
28
29 %description -l pl
30 Lftp jest zaawansowanym klientem ftp. Potrafi automatycznie po³±czyæ siê z 
31 serwerem ftp po zerwanym po³±czeniu i dokoñczyæ ¶ci±ganie archiwów. Lftp mo¿e 
32 pracowaæ w tle i nie zrywa przy tym po³±czenia po tym jak siê wylogujesz. 
33 Program ten honoruje komendy shellowe podczas sesji, np. `ls -al | less` itp. 
34 Doskonale siê spisuje jako aplikacja do mirrorowania serwerów FTP.
35
36 %prep
37 %setup -q
38 %patch -p1
39
40 %build
41 gettextize --copy --force
42 LDFLAGS="-s"; export LDFLAGS
43 CXXFLAGS="$RPM_OPT_FLAGS"; export CXXFLAGS
44 %configure \
45         --with-modules
46 make
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_sysconfdir}
51
52 make install DESTDIR=$RPM_BUILD_ROOT
53
54 install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
55
56 chmod +x $RPM_BUILD_ROOT%{_libdir}/lftp/*
57
58 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
59         README NEWS 
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc {README,NEWS}.gz
69
70 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lftp.conf
71 %attr(755,root,root) %{_bindir}/*
72 %{_mandir}/man1/*
73 %attr(755,root,root) %{_datadir}/lftp
74
75 %dir %{_libdir}/lftp
76 %attr(755,root,root) %{_libdir}/lftp/*.so
This page took 0.07513 seconds and 4 git commands to generate.