Name: aria2 Version: 1.36.0 Release: 1 Summary: High speed download utility with resuming and segmented downloading License: GPLv2+ with exceptions URL: http://aria2.github.io Source0: https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0.tar.gz BuildRequires: bison BuildRequires: c-ares-devel BuildRequires: cppunit-devel BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: gnutls-devel BuildRequires: libgcrypt-devel BuildRequires: libxml2-devel BuildRequires: make BuildRequires: sqlite-devel %description aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0. %prep %autosetup %build %configure CXX="g++" \ --enable-bittorrent \ --enable-metalink \ --enable-epoll\ --disable-rpath \ --with-gnutls \ --with-libcares \ --with-libxml2 \ --without-openssl \ --with-libz \ --with-sqlite3 \ %if 0%{?openEuler} --enable-gnutls-system-crypto-policy \ %endif V=1 make %{?_smp_mflags} %install %make_install %find_lang %{name} rm -f %{buildroot}%{_datadir}/locale/locale.alias rm -rf %{buildroot}%{_datadir}/doc/%{name} %files -f %{name}.lang %doc AUTHORS ChangeLog COPYING README %{_bindir}/aria2c %{_mandir}/man1/aria2c.1.gz %{_mandir}/*/man1/aria2c.1.gz %changelog * Tue Jul 12 2022 weiqingsong - 1.36.0-1 - Initial Package