]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- release 2
[packages/emirror.git] / emirror.spec
1 Summary:        FTP mirroring program
2 Summary(pl):    Program do mirrorowania FTP
3 Name:           emirror
4 Version:        2.1.19
5 Release:        2
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(de):      Netzwerkwesen/Werkzeuge
9 Group(pl):      Sieciowe/Narzêdzia
10 Source0:        ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-pld.patch
12 BuildRequires:  python-devel
13 Requires:       python >= 2.0
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 FTP mirroring program.
19
20 %description -l pl
21 Program do mirrorowania FTP.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 %configure2_13 \
29         --with-htmldir=/home/httpd/html/mirrors
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
34
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc doc/*
45 %dir /home/httpd/html/mirrors
46 /home/httpd/html/mirrors/*
47 %config(noreplace) %{_sysconfdir}/emirror
48 %attr(755,root,root) %{_bindir}/*
49 %{_libdir}/emirror
50 %{_mandir}/man1/*
This page took 0.045023 seconds and 3 git commands to generate.