]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
bb4a5984976608d3e659805e480512da6064d49d
[packages/emirror.git] / emirror.spec
1 # TODO: webapps or so
2 Summary:        FTP mirroring program
3 Summary(pl):    Program do mirrorowania FTP
4 Name:           emirror
5 Version:        2.1.21
6 Release:        4
7 License:        GPL
8 Group:          Networking/Utilities
9 Source0:        ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
10 # Source0-md5:  4223966e49284e70a8eeabe9603d1ae3
11 Patch0:         %{name}-pld.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  fhs-compliance
15 BuildRequires:  python-devel >= 2.1
16 Requires:       python >= 2.1
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 FTP mirroring program.
22
23 %description -l pl
24 Program do mirrorowania FTP.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__aclocal}
32 %{__autoconf}
33 %configure \
34         --with-htmldir=/srv/httpd/html/mirrors
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/srv/httpd/html/mirrors
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc doc/*
49 %dir /srv/httpd/html/mirrors
50 /srv/httpd/html/mirrors/*
51 %config(noreplace) %{_sysconfdir}/emirror
52 %attr(755,root,root) %{_bindir}/*
53 %{_prefix}/lib/emirror
54 %{_mandir}/man1/*
This page took 0.026594 seconds and 2 git commands to generate.