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