]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- next part of small fixes inpired by kloczek :)
[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 \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc doc/*
47 %dir /home/services/httpd/html/mirrors
48 /home/services/httpd/html/mirrors/*
49 %config(noreplace) %{_sysconfdir}/emirror
50 %attr(755,root,root) %{_bindir}/*
51 %{_libdir}/emirror
52 %{_mandir}/man1/*
This page took 0.048974 seconds and 3 git commands to generate.