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