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