]> git.pld-linux.org Git - packages/lftp.git/blob - lftp.spec
- updated to 2.0.1
[packages/lftp.git] / lftp.spec
1 Summary:        Commandline ftp client
2 Summary(pl):    Zaawansowany klient ftp
3 Name:           lftp
4 Version:        2.0.1
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/%{name}-%{version}.tar.gz
10 Patch:          lftp-User-Agent.patch
11 Icon:           ftp.gif
12 BuildPrereq:    ncurses-devel
13 BuildPrereq:    readline-devel
14 Buildroot:      /tmp/%{name}-%{version}-root
15
16 %define         _sysconfdir     /etc
17
18 %description
19 LFTP is a shell-like command line ftp client. The main two advantages over
20 other ftp clients are reliability and ability to perform tasks in
21 background. It will reconnect and reget the file being transferred if the
22 connection broke. You can start a transfer in background and continue
23 browsing on the ftp site. It does this all in one process. When you have
24 started background jobs and feel you are done, you can just exit lftp and it
25 automatically moves to nohup mode and completes the transfers. It has also
26 such nice features as reput and mirror.
27
28 %description -l pl
29 Lftp jest zaawansowanym klientem ftp. Potrafi automatycznie po³±czyæ siê z 
30 serwerem ftp po zerwanym po³±czeniu i dokoñczyæ ¶ci±ganie archiwów. Lftp mo¿e 
31 pracowaæ w tle i nie zrywa przy tym po³±czenia po tym jak siê wylogujesz. 
32 Program ten honoruje komendy shellowe podczas sesji, np. `ls -al | less` itp. 
33 Doskonale siê spisuje jako aplikacja do mirrorowania serwerów FTP.
34
35 %prep
36 %setup -q
37 %patch -p1
38
39 %build
40 gettextize --copy --force
41 LDFLAGS="-s"; export LDFLAGS
42 CXXFLAGS="$RPM_OPT_FLAGS"; export CXXFLAGS
43 %configure \
44         --with-modules
45 make
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_sysconfdir}
50
51 make install DESTDIR=$RPM_BUILD_ROOT
52
53 install lftp.conf $RPM_BUILD_ROOT%{_sysconfdir}
54
55 chmod +x $RPM_BUILD_ROOT%{_libdir}/lftp/*
56
57 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
58         README NEWS 
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc {README,NEWS}.gz
68
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
76
77 %changelog
78 Revision 1.31  1999/07/12 23:06:05  kloczek
79 - added using CVS keywords in %changelog (for automating them).
80
81 * Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
82   [1.2.4-4]
83 - more rpm macros,
84 - added rpm BuildPrereq rules.
85
86 * Tue Apr 20 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
87   [1.2.4-3]
88 - changed Group to Networking/Utilities,
89 - added resdline-devel to BuildPrereq,
90 - removed %%requires_pkg (dependences for ncurses is generted automatycally).
91
92 * Mon Apr 20 1999 Piotr Czerwiñski <pius@pld.org.pl>
93 - recompiled on rpm 3,
94 - added %requires_pkg macro and BuildPrereq,
95 - replacements in %files.
96
97 * Thu Mar 18 1999 Micha³ Kuratczyk <kura@pld.org.pl>
98   [1.2.4-2]
99 - gzipping documentation (instead bzipping)
100
101 * Tue Feb 23 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [1.2.4-1]
103 - removed man group from man pages,
104 - added "Requires: ncurses => 4.2-12" for prevent using lftp with proper
105   version ncurses,
106 - removed "rm -rf $RPM_BUILD_ROOT" from %prep,
107 - simplification in %files,
108 - changed %lang to pt_BR on pt_BR lftp.mo.
109
110 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
111 - moved %changelog at the end of spec.
112 - build against glibc-2.1,
113 - translation modified for pl,
114 - moved %changelog at the end of spec.
This page took 0.281215 seconds and 4 git commands to generate.