]> git.pld-linux.org Git - packages/lftp.git/blob - lftp.spec
- adapterized.
[packages/lftp.git] / lftp.spec
1 #
2 # Conditional build:
3 # _without_ssl - do not use SSL
4 #
5 Summary:        Commandline ftp client
6 Summary(pl):    Zaawansowany klient ftp
7 Summary(pt_BR): Sofisticado programa de transferência de arquivos (cliente ftp/http)
8 Name:           lftp
9 Version:        2.4.9
10 Release:        1
11 License:        GPL
12 Group:          Applications/Networking
13 Source0:        ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/%{name}-%{version}.tar.bz2
14 Source1:        %{name}.pl.po
15 Icon:           ftp.gif
16 URL:            http://ftp.yars.free.net/projects/lftp/
17 BuildRequires:  ncurses-devel >= 5.2
18 BuildRequires:  readline-devel >= 4.2
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  gettext-devel
23 BuildRequires:  gcc-c++
24 BuildRequires:  libstdc++-devel
25 %{!??_without_ssl:BuildRequires:        openssl-devel >= 0.9.6a}
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 LFTP is a shell-like command line ftp client. The main two advantages
30 over other ftp clients are reliability and ability to perform tasks in
31 background. It will reconnect and reget the file being transferred if
32 the connection broke. You can start a transfer in background and
33 continue browsing on the ftp site. It does this all in one process.
34 When you have started background jobs and feel you are done, you can
35 just exit lftp and it automatically moves to nohup mode and completes
36 the transfers. It has also such nice features as reput and mirror.
37
38 %description -l pl
39 Lftp jest zaawansowanym klientem ftp. Potrafi automatycznie po³±czyæ
40 siê z serwerem ftp po zerwanym po³±czeniu i dokoñczyæ ¶ci±ganie
41 archiwów. Lftp mo¿e pracowaæ w tle i nie zrywa przy tym po³±czenia po
42 tym jak siê wylogujesz. Program ten honoruje komendy pow³oki podczas
43 sesji, np. `ls -al | less` itp. Doskonale siê spisuje jako aplikacja
44 do mirrorowania serwerów FTP.
45
46 %description -l pt_BR
47 O lftp é um programa de transferência de arquivos por linha de
48 comando. Ele suporta os protocolos FTP e HTTP. Suporta: proxy ftp,
49 proxy http, ftp sobre http, opie/skey, transferências fxp, repetição
50 de tentativa automática em erros não-fatais e timeouts, ipv6, socks.
51 Veja o arquivo FEATURES para uma lista mais detalhada.
52
53 %prep
54 %setup -q
55
56 %build
57 install -m644 %{SOURCE1} po/pl.po
58 rm -f missing
59 libtoolize --copy --force
60 gettextize --copy --force
61 aclocal -I m4
62 autoconf
63 automake -a -c
64 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
65 %configure \
66         --with-modules \
67         --with%{?_without_ssl:out}-ssl
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_sysconfdir}
73
74 # Ugly hack --misiek
75 %{__make} install DESTDIR=$RPM_BUILD_ROOT
76 rm src/*.la
77
78 %{__make} install DESTDIR=$RPM_BUILD_ROOT
79
80 install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
81
82 gzip -9nf README NEWS FAQ FEATURES BUGS ChangeLog TODO
83
84 %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/*
92 # All modules specified here because lftp breaks things
93 %attr(755,root,root) %{_libdir}/lftp/%{version}/cmd-mirror.so
94 %attr(755,root,root) %{_libdir}/lftp/%{version}/cmd-sleep.so
95 %attr(755,root,root) %{_libdir}/lftp/%{version}/libnetwork.so
96 %attr(755,root,root) %{_libdir}/lftp/%{version}/proto-file.so
97 %attr(755,root,root) %{_libdir}/lftp/%{version}/proto-fish.so
98 %attr(755,root,root) %{_libdir}/lftp/%{version}/proto-ftp.so
99 %attr(755,root,root) %{_libdir}/lftp/%{version}/proto-http.so
100
101 %attr(755,root,root) %{_datadir}/lftp
102 %dir %{_libdir}/lftp
103 %dir %{_libdir}/lftp/%{version}
104 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lftp.conf
105 %{_mandir}/man1/*
106 %doc *.gz
This page took 0.040007 seconds and 4 git commands to generate.