1 Summary: FTP mirroring program.
2 Summary(pl): Program do mirrorowania FTP.
7 Group: Networking/Utilities
8 Group(pl): Sieciowe/Narzêdzia
9 Group(de): Netzwerkwesen/Werkzeuge
10 Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
11 Patch0: %{name}-pld.patch
12 Patch1: %{name}-php.patch
13 Patch2: %{name}-python2.0.patch
14 BuildRequires: python-devel
15 Requires: python >= 2.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 FTP mirroring program.
23 Program do mirrorowania FTP.
34 --with-htmldir=/home/httpd/html/mirrors
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %dir /home/httpd/html/mirrors
51 /home/httpd/html/mirrors/*
52 %config(noreplace) %{_sysconfdir}/emirror
53 %attr(755,root,root) %{_bindir}/*