From bff6437cf22e2716aae2d1bbbd316e0c49bbbb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bentkowski?= Date: Mon, 1 Jan 2007 18:33:01 +0000 Subject: [PATCH] auto-import aria2-0.9.0-2 on branch devel from aria2-0.9.0-2.src.rpm --- .cvsignore | 1 + aria2.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+) create mode 100644 aria2.spec diff --git a/.cvsignore b/.cvsignore index e69de29..1394540 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +aria2-0.9.0.tar.bz2 diff --git a/aria2.spec b/aria2.spec new file mode 100644 index 0000000..0d28050 --- /dev/null +++ b/aria2.spec @@ -0,0 +1,71 @@ +Name: aria2 +Version: 0.9.0 +Release: 2%{?dist} +Summary: High speed download utility with resuming and segmented downloading +Group: Applications/Internet +License: GPL +URL: http://aria2.sourceforge.net/ +Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: bison +BuildRequires: c-ares-devel cppunit-devel +BuildRequires: gettext gnutls-devel +BuildRequires: libgcrypt-devel libxml2-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. + +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(currently aria2 ignores "expires") +- 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 + +%prep +%setup -q + + +%build +%configure --enable-bittorrent \ + --enable-metalink \ + --disable-rpath \ + --with-gnutls \ + --with-libcares \ + --with-libxml2 + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +%find_lang aria2c + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f aria2c.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{_bindir}/aria2c +%{_mandir}/man*/* + + +%changelog +* Sun Dec 31 2006 Michał Bentkowski - 0.9.0-2 +- Small fix in Summary + +* Sat Dec 30 2006 Michał Bentkowski - 0.9.0-1 +- Initial release diff --git a/sources b/sources index e69de29..70cf512 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f4d1e1761ee2386e5d3a6248b363267f aria2-0.9.0.tar.bz2