This commit is contained in:
Michał Bentkowski 2008-12-05 15:35:47 +00:00
parent ab1ba4a145
commit 369b55b704
5 changed files with 20 additions and 23 deletions

View file

@ -1 +1 @@
aria2-0.12.0.tar.bz2 aria2c-1.0.1.tar.bz2

View file

@ -1,12 +0,0 @@
--- src/common.h.gcc43 2007-08-28 18:36:33.000000000 +0200
+++ src/common.h 2008-01-10 19:47:01.000000000 +0100
@@ -32,6 +32,9 @@
* files in the program, then also delete it here.
*/
/* copyright --> */
+
+#include <cstring>
+
#ifndef _D_COMMON_H_
#define _D_COMMON_H_
// use C99 limit macros

View file

@ -1,17 +1,19 @@
%define binname aria2c
Name: aria2 Name: aria2
Version: 0.12.0 Version: 1.0.1
Release: 5%{?dist} Release: 1%{?dist}
Summary: High speed download utility with resuming and segmented downloading Summary: High speed download utility with resuming and segmented downloading
Group: Applications/Internet Group: Applications/Internet
License: GPLv2 License: GPLv2
URL: http://aria2.sourceforge.net/ URL: http://aria2.sourceforge.net/
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{binname}/%{binname}-%{version}.tar.bz2
Patch0: aria2-0.12.0-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison BuildRequires: bison
BuildRequires: c-ares-devel cppunit-devel BuildRequires: c-ares-devel cppunit-devel
BuildRequires: gettext gnutls-devel BuildRequires: gettext gnutls-devel
BuildRequires: libgcrypt-devel libxml2-devel BuildRequires: libgcrypt-devel libxml2-devel
BuildRequires: sqlite-devel
%description %description
aria2 is a download utility with resuming and segmented downloading. aria2 is a download utility with resuming and segmented downloading.
@ -34,16 +36,21 @@ Currently it has following features:
- Limiting download/upload speed - Limiting download/upload speed
%prep %prep
%setup -q %setup -q -n %{binname}-%{version}
%patch0
%build %build
%configure --enable-bittorrent \ %configure --enable-bittorrent \
--enable-metalink \ --enable-metalink \
--enable-epoll\
--disable-rpath \ --disable-rpath \
--with-gnutls \ --with-gnutls \
--with-libcares \ --with-libcares \
--with-libxml2 --with-libxml2 \
--with-openssl \
--with-libz \
--with-sqlite3 \
--disable-dependency-tracking \
make %{?_smp_mflags} make %{?_smp_mflags}
@ -53,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%find_lang aria2c %find_lang aria2c
rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{binname}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -60,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
%files -f aria2c.lang %files -f aria2c.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO %doc AUTHORS ChangeLog COPYING README doc/aria2c.1.html
%{_bindir}/aria2c %{_bindir}/%{binname}
%{_mandir}/man*/* %{_mandir}/man*/*

1
import.log Normal file
View file

@ -0,0 +1 @@
aria2-1_0_1-1_fc9:HEAD:aria2-1.0.1-1.fc9.src.rpm:1228490650

View file

@ -1 +1 @@
18e600d6f720a1cb96959b182fe5a754 aria2-0.12.0.tar.bz2 50d804451022d9f9fd03cc34d0862c1e aria2c-1.0.1.tar.bz2