]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- /srv shouldn't be used, adding a blocker
[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:        4
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:  fhs-compliance
14 BuildRequires:  python-devel >= 2.1
15 Requires:       python >= 2.1
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 FTP mirroring program.
21
22 %description -l pl
23 Program do mirrorowania FTP.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %{__aclocal}
31 %{__autoconf}
32 %configure \
33         --with-htmldir=/srv/httpd/html/mirrors
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT/srv/httpd/html/mirrors
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc doc/*
48 %dir /srv/httpd/html/mirrors
49 /srv/httpd/html/mirrors/*
50 %config(noreplace) %{_sysconfdir}/emirror
51 %attr(755,root,root) %{_bindir}/*
52 %{_prefix}/lib/emirror
53 %{_mandir}/man1/*
This page took 0.057544 seconds and 3 git commands to generate.