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