- cosmetics.
[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:        4
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 Patch1:         %{name}-php.patch
13 Patch2:         %{name}-python2.0.patch
14 BuildRequires:  python-devel
15 Requires:       python >= 2.0
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 %patch1 -p1
29 %patch2 -p1
30
31 %build
32 autoconf
33 %configure \
34         --with-htmldir=/home/httpd/html/mirrors
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc doc/*
50 %dir /home/httpd/html/mirrors
51 /home/httpd/html/mirrors/*
52 %config(noreplace) %{_sysconfdir}/emirror
53 %attr(755,root,root) %{_bindir}/*
54 %{_libdir}/emirror
55 %{_mandir}/man1/*
This page took 0.036096 seconds and 3 git commands to generate.