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