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