49 lines
1.1 KiB
RPMSpec
49 lines
1.1 KiB
RPMSpec
# norootforbuild
|
|
|
|
Name: axel
|
|
Version: 2.4
|
|
Release: 0
|
|
License: GNU GPL v2
|
|
Group: Productivity/Networking/Other
|
|
URL: http://axel.alioth.debian.org/
|
|
# http://alioth.debian.org/frs/download.php/3015/axel-%{version}.tar.gz
|
|
Source: axel-%{version}.tar.bz2
|
|
Patch1: axel-fix_buffer_overflow.patch
|
|
Patch2: axel-getaddrinfo.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: Lightweight Download Accelerator
|
|
|
|
%description
|
|
Axel tries to accelerate HTTP/FTP downloading process by using multiple
|
|
connections for one file. It can use multiple mirrors for a download. Axel has
|
|
no dependencies and is lightweight, so it might be useful as a wget clone on
|
|
byte-critical systems.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
%patch2
|
|
|
|
%build
|
|
%configure \
|
|
--debug=0 \
|
|
--strip=0 \
|
|
--i18n=1
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
%find_lang axel
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files -f axel.lang
|
|
%defattr(-,root,root)
|
|
%doc CHANGES
|
|
%config %{_sysconfdir}/axelrc
|
|
%{_bindir}/axel
|
|
%doc %{_mandir}/man1/axel.1%{ext_man}
|
|
%lang(zh_CN) %doc %{_mandir}/zh_CN/man1/axel.1%{ext_man}
|