1 Summary: ftpcopy is a tool for create and maintain a ftp mirror
2 Summary(pl): ftpcopy jest narzêdziem do utwórzenia i uaktualniania mirrora ftp
7 Group: Applications/Networking
8 Source0: ftp://www.ohse.de/uwe/ftpcopy/%{name}-%{version}.tar.gz
9 # Source0-md5: e6883a23ef664c059d9d0d34eb1501cd
10 URL: http://www.ohse.de/uwe/ftpcopy.html
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 ftpcopy is a simple FTP client written to copy files or directories
15 (recursively) from a FTP server. It was written to mirror FTP sites
16 which support the EPLF directory listing format, but it also supports
17 the traditional listing format /bin/ls and may also be used to simply
18 copy files. I supports IPv4 and IPv6.
21 ftpcopy jest prostym klientem FTP kopiuj±cum pliki i katalogi
22 (uaktualniaj±c) z servera FTP. Zosta³ napisany z my¶l± o mirrorowaniu
23 serwerów FTP, które wspieraj± format listowania katalogów EPLF, lecz
24 wspiera te¿ tradycyjny format, /bin/ls . Mo¿na go równie¿ u¿ywaæ do
25 zwyk³ego kopiowania plików. Obs³uguje protoko³y IPv4 oraz IPv6.
27 %define _package package/
30 %setup -q -n web/%{name}-%{version}
35 rm -rf $RPM_BUILD_ROOT
36 # create directories if necessary
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38 install command/* $RPM_BUILD_ROOT%{_bindir}/
39 install doc/* $RPM_BUILD_ROOT%{_mandir}/man1/
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/*