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