加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
aria2.spec 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
kywqs 提交于 2022-07-12 09:44 . Initial Package
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化