1 Summary: FTP mirroring program
2 Summary(pl): Program do mirrorowania FTP
7 Group: Networking/Utilities
8 Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
9 # Source0-md5: 4223966e49284e70a8eeabe9603d1ae3
10 Patch0: %{name}-pld.patch
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: fhs-compliance
14 BuildRequires: python-devel >= 2.1
15 Requires: python >= 2.1
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 FTP mirroring program.
23 Program do mirrorowania FTP.
33 --with-htmldir=/srv/httpd/html/mirrors
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT/srv/httpd/html/mirrors
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %dir /srv/httpd/html/mirrors
49 /srv/httpd/html/mirrors/*
50 %config(noreplace) %{_sysconfdir}/emirror
51 %attr(755,root,root) %{_bindir}/*
52 %{_prefix}/lib/emirror