]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- typo
[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:        2
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(pl):      Sieciowe/Narzêdzia
9 Group(de):      Netzwerkwesen/Werkzeuge
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
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 %patch -p1
26
27 %build
28 autoconf
29 %configure \
30         --with-htmldir=/home/httpd/html/mirrors
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
37
38 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc doc/*
46 %dir /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.031489 seconds and 3 git commands to generate.