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