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