]> git.pld-linux.org Git - packages/emirror.git/blob - emirror.spec
- don't gzip man pages in spec - rpm does
[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:  autoconf
13 BuildRequires:  automake
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=/home/httpd/html/mirrors
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 gzip -9nf doc/*
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc doc/*
49 %dir /home/httpd/html/mirrors
50 /home/httpd/html/mirrors/*
51 %config(noreplace) %{_sysconfdir}/emirror
52 %attr(755,root,root) %{_bindir}/*
53 %{_libdir}/emirror
54 %{_mandir}/man1/*
This page took 0.079713 seconds and 4 git commands to generate.