]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
1137eb30f6a29d553ce3d9410a49fcbf88100e87
[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(es):      Red/Utilitarios
10 Group(pl):      Sieciowe/Narzêdzia
11 Group(pt_BR):   Rede/Utilitários
12 Source0:        ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-pld.patch
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  python-devel >= 2.1
17 Requires:       python >= 2.1
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 FTP mirroring program.
23
24 %description -l pl
25 Program do mirrorowania FTP.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 aclocal
33 autoconf
34 %configure \
35         --with-htmldir=/home/httpd/html/mirrors
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 gzip -9nf doc/*
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc doc/*
51 %dir /home/httpd/html/mirrors
52 /home/httpd/html/mirrors/*
53 %config(noreplace) %{_sysconfdir}/emirror
54 %attr(755,root,root) %{_bindir}/*
55 %{_libdir}/emirror
56 %{_mandir}/man1/*
This page took 0.046691 seconds and 2 git commands to generate.