Репозиторий Sisyphus
Последнее обновление: 19 июля 2018 | Пакетов: 18628 | Посещений: 11900550
en ru br
Репозитории ALT
5.1: 1.8.2-alt1
4.1: 0.13.1-alt1
4.0: 0.6.0-alt1.1

Другие репозитории

Группа :: Сети/Передача файлов
Пакет: aria2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: aria2
Version: 1.34.0
Release: alt1

Summary: aria2 - a simple utility for downloading files faster
License: GPLv2+ with exceptions
Group: Networking/File transfer
Url: http://aria2.sourceforge.net/
Packager: Ilya Mashkin <oddity at altlinux.ru>

Source: %name-%version.tar.xz

# Automatically added by buildreq on Thu Mar 23 2006

BuildRequires: gcc-c++ libssl-devel libstdc++-devel
BuildRequires: bison
BuildRequires: cppunit-devel
BuildRequires: gettext libasprintf-devel
BuildRequires: libcares-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel libgnutls-openssl-devel
BuildRequires: libsqlite3-devel
BuildRequires: libxml2-devel
BuildRequires: zlib-devel

aria2 is a download utility with resuming and segmented downloading.
Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink
version 3.0.

Currently it has following features:
- HTTP/HTTPS GET support
- HTTP Proxy support
- HTTP BASIC authentication support
- HTTP Proxy authentication support
- FTP support (active, passive mode)
- FTP through HTTP proxy (GET command or tunneling)
- Segmented download
- Cookie support
- It can run as a daemon process.
- BitTorrent protocol support with fast extension.
- Selective download in multi-file torrent
- Metalink version 3.0 support (HTTP/FTP/BitTorrent).
- Limiting download/upload speed

%setup -n %name-%version
#set_gcc_version 4.7


%configure --enable-bittorrent \
          --enable-metalink \
          --disable-rpath \
          --with-gnutls \
          --with-libcares \
          --with-libxml2 \
          --with-openssl \
          --with-libz \


#mkdir -p %buildroot%_bindir
#__install -pD -m755 src/aria2c %buildroot%_bindir/aria2c

%find_lang aria2 --all-name
#find_lang aria2 --with-man --all-name

ln -s aria2c  %buildroot%_bindir/%name

#sed -i -e '1 s/^/.\\" -*- mode: troff; coding: utf8 -*-\n/;' doc/manual-src/ru/_build/man/aria2c.1

bzip2 doc/manual-src/en/_build/man/aria2c.1
bzip2 doc/manual-src/ru/_build/man/aria2c.1
bzip2 doc/manual-src/pt/_build/man/aria2c.1
rm -f %buildroot%_man1dir/aria2c.1.bz2
install -pD -m644 doc/manual-src/en/_build/man/aria2c.1.bz2 %buildroot%_man1dir/aria2c.1.bz2
install -pD -m644 doc/manual-src/en/_build/man/aria2c.1.bz2 %buildroot%_mandir/en/man1/aria2c.1.bz2
install -pD -m644 doc/manual-src/ru/_build/man/aria2c.1.bz2 %buildroot%_mandir/ru/man1/aria2c.1.bz2
install -pD -m644 doc/manual-src/pt/_build/man/aria2c.1.bz2 %buildroot%_mandir/pt/man1/aria2c.1.bz2

mkdir %buildroot%_docdir/%name-%version
mv %buildroot%_docdir/aria2/* %buildroot%_docdir/%name-%version
#mkdir %buildroot%_docdir/%name-%version/bash_completion
#mv %buildroot%_docdir/aria2/bash_completion/* %buildroot%_docdir/%name-%version/bash_completion
#mkdir %buildroot%_docdir/%name-%version/xmlrpc
#mv %buildroot%_docdir/aria2/xmlrpc/* %buildroot%_docdir/%name-%version/xmlrpc

%files -f aria2.lang
#doc AUTHORS ChangeLog README*
%dir %_docdir/aria2-%version



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin