]>
Commit | Line | Data |
---|---|---|
1 | Summary: FTP mirroring program | |
2 | Summary(pl): Program do mirrorowania FTP | |
3 | Name: emirror | |
4 | Version: 2.1.21 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Networking/Utilities | |
8 | Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz | |
9 | Patch0: %{name}-pld.patch | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: python-devel >= 2.1 | |
13 | Requires: python >= 2.1 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | FTP mirroring program. | |
19 | ||
20 | %description -l pl | |
21 | Program do mirrorowania FTP. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | ||
27 | %build | |
28 | %{__aclocal} | |
29 | %{__autoconf} | |
30 | %configure \ | |
31 | --with-htmldir=/home/httpd/html/mirrors | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors | |
36 | ||
37 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
38 | ||
39 | gzip -9nf doc/* | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc doc/* | |
47 | %dir /home/httpd/html/mirrors | |
48 | /home/httpd/html/mirrors/* | |
49 | %config(noreplace) %{_sysconfdir}/emirror | |
50 | %attr(755,root,root) %{_bindir}/* | |
51 | %{_libdir}/emirror | |
52 | %{_mandir}/man1/* |