Name: axel Version: 2.4 Release: 1 Summary: Accelerated download client Group: Applications/Internet License: GPLv2+ URL: http://axel.alioth.debian.org/ Source0: http://alioth.debian.org/frs/download.php/3015/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gettext Requires: gettext %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 %patch0 %build export CC="cc_r -qcpluscmt" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc CHANGES CREDITS API README COPYING %config(noreplace) %{_sysconfdir}/axelrc %{_bindir}/%{name} %{_mandir}/man1/* %{_mandir}/*/man1/* %{_datadir}/locale/*/*/* /usr/bin/* %changelog * Tue Mar 26 2013 Michael Perzl - 2.4-1 - first version for AIX V5.1 and higher