]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- release 3
[packages/emirror.git] / emirror.spec
1 Summary:        FTP mirroring program.
2 Summary(pl):    Program do mirrorowania FTP.
3 Name:           emirror
4 Version:        2.1.17
5 Release:        3
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(pl):      Sieciowe/Narzêdzia
9 Group(de):      Netzwerkwesen/Werkzeuge
10 Source0:        ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-pld.patch
12 Patch1:         %{name}-php.patch
13 BuildRequires:  python-devel
14 Requires:       python
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 %patch1 -p1
28
29 %build
30 autoconf
31 %configure \
32         --with-htmldir=/home/httpd/html/mirrors
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc doc/*
48 %dir /home/httpd/html/mirrors
49 /home/httpd/html/mirrors/*
50 %config(noreplace) %{_sysconfdir}/emirror
51 %attr(755,root,root) %{_bindir}/*
52 %{_libdir}/emirror
53 %{_mandir}/man1/*
This page took 0.054311 seconds and 3 git commands to generate.