blob: 660824ae56e7afb410593dc226f70e98c0d06dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
|