]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- massive attack: adding Source-md5
[packages/emirror.git] / emirror.spec
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 # Source0-md5:  4223966e49284e70a8eeabe9603d1ae3
10 Patch0:         %{name}-pld.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  python-devel >= 2.1
14 Requires:       python >= 2.1
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 FTP mirroring program.
20
21 %description -l pl
22 Program do mirrorowania FTP.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 %{__aclocal}
30 %{__autoconf}
31 %configure \
32         --with-htmldir=/home/services/httpd/html/mirrors
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/home/services/httpd/html/mirrors
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc doc/*
46 %dir /home/services/httpd/html/mirrors
47 /home/services/httpd/html/mirrors/*
48 %config(noreplace) %{_sysconfdir}/emirror
49 %attr(755,root,root) %{_bindir}/*
50 %{_libdir}/emirror
51 %{_mandir}/man1/*
This page took 0.032572 seconds and 3 git commands to generate.