diff options
author | CoprDistGit <infra@openeuler.org> | 2024-02-25 15:47:07 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-02-25 15:47:07 +0000 |
commit | 10bb6a9fc5095b884487725944e2a5f7efcf744e (patch) | |
tree | 2c0e8aef872f7a2c6c7d1f5db98d5e73a49a29bd | |
parent | 905c488070a562ff8e6170841863cdf706f51b41 (diff) |
automatic import of aria2openeuler23.09openeuler22.03_LTS_SP3openeuler20.03_LTS_SP4
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | aria2.spec | 60 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 62 insertions, 0 deletions
@@ -0,0 +1 @@ +/aria2-1.36.0.tar.gz diff --git a/aria2.spec b/aria2.spec new file mode 100644 index 0000000..660824a --- /dev/null +++ b/aria2.spec @@ -0,0 +1,60 @@ +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 <weiqingsong@kylinos.cn> - 1.36.0-1 +- Initial Package @@ -0,0 +1 @@ +8579df5481d387c4e07e838d5e511be1 aria2-1.36.0.tar.gz |