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