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