]>
Commit | Line | Data |
---|---|---|
c265ec46 | 1 | Summary: ftpcopy - a tool for create and maintain a FTP mirror |
902a675f | 2 | Summary(pl.UTF-8): ftpcopy - narzędzie do tworzenia i uaktualniania mirrora FTP |
6f32e633 | 3 | Name: ftpcopy |
b535424e | 4 | Version: 0.6.7 |
6f32e633 | 5 | Release: 1 |
cf04541b | 6 | License: GPL v2 |
6f32e633 | 7 | Group: Applications/Networking |
8 | Source0: ftp://www.ohse.de/uwe/ftpcopy/%{name}-%{version}.tar.gz | |
b535424e | 9 | # Source0-md5: 78d5245970803230f0f22f0f040a58ef |
6f32e633 | 10 | URL: http://www.ohse.de/uwe/ftpcopy.html |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
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 | |
cf04541b | 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. | |
6f32e633 | 19 | |
902a675f JR |
20 | %description -l pl.UTF-8 |
21 | ftpcopy jest prostym klientem FTP kopiującym pliki i katalogi | |
22 | (uaktualniając) z serwera 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. | |
6f32e633 | 26 | |
6f32e633 | 27 | %prep |
5a7e2739 JB |
28 | %setup -q -n web |
29 | ||
30 | %build | |
31 | cd %{name}-%{version} | |
5ca8a45a TP |
32 | package/compile |
33 | package/check | |
6f32e633 | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
6f32e633 | 37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
5a7e2739 JB |
38 | |
39 | cd %{name}-%{version} | |
5ca8a45a TP |
40 | install command/* $RPM_BUILD_ROOT%{_bindir} |
41 | install doc/* $RPM_BUILD_ROOT%{_mandir}/man1 | |
6f32e633 | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man1/* |