diff --git a/axel-2.4.tar.gz b/axel-2.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b82eada739fa1b22b8e2212a76a2e05eb27b076 Binary files /dev/null and b/axel-2.4.tar.gz differ diff --git a/axel.spec b/axel.spec new file mode 100644 index 0000000000000000000000000000000000000000..aae571c019079341caa07febac3a3c9823d5b334 --- /dev/null +++ b/axel.spec @@ -0,0 +1,50 @@ +Name: axel +Version: 2.4 +Release: 1 +Summary: Accelerated download client +License: GPLv2+ +URL: http://axel.alioth.debian.org/ +Source0: http://alioth.debian.org/frs/download.php/3015/%{name}-%{version}.tar.gz +BuildRequires: 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 + +%build +export CFLAGS=" %{optflags}" +export CXXFLAGS=" %{optflags}" +./configure --prefix=%{_prefix} --strip=0 +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install \ + DESTDIR=%{buildroot} + +install -m 755 -p %{name} %{buildroot}%{_bindir} + +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%{_bindir}/%{name} +%doc CHANGES CREDITS API README COPYING +%config(noreplace) %{_sysconfdir}/axelrc +%{_mandir}/man1/axel.1* +%{_mandir}/zh_CN/man1/axel.1* + +%changelog +* Fri Feb 17 2023 chaozhangm - 2.4-1 +- Initial package