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