# # spec file for package axel # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: axel Version: 2.4 Release: 0 License: GPL-2.0+ Group: Productivity/Networking/Other Url: http://axel.alioth.debian.org/ Source: axel-%{version}.tar.bz2 Patch1: axel-fix_buffer_overflow.patch Patch2: axel-getaddrinfo.patch # PATCH-FIX-OPENSUSE axel-2.4-configure.patch andreas.stieger@gmx.de -- fix to accept and ignore --disable-dependency-tracking Patch3: axel-2.4-configure.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 %patch3 %build %configure \ --debug=0 \ --strip=0 \ --i18n=1 %__make %{?_smp_mflags} %install %makeinstall %__rm -rf "%{buildroot}%{_mandir}/zh_CN" %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} %changelog