diff --git a/.cvsignore b/.cvsignore index d008cf9..87a9ef5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -aria2-0.12.0.tar.bz2 +aria2c-1.0.1.tar.bz2 diff --git a/aria2-0.12.0-gcc43.patch b/aria2-0.12.0-gcc43.patch deleted file mode 100644 index f01827c..0000000 --- a/aria2-0.12.0-gcc43.patch +++ /dev/null @@ -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 -+ - #ifndef _D_COMMON_H_ - #define _D_COMMON_H_ - // use C99 limit macros diff --git a/aria2.spec b/aria2.spec index 71f87d5..f0f0c67 100644 --- a/aria2.spec +++ b/aria2.spec @@ -1,17 +1,19 @@ +%define binname aria2c + Name: aria2 -Version: 0.12.0 -Release: 5%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: High speed download utility with resuming and segmented downloading Group: Applications/Internet License: GPLv2 URL: http://aria2.sourceforge.net/ -Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -Patch0: aria2-0.12.0-gcc43.patch +Source0: http://downloads.sourceforge.net/%{binname}/%{binname}-%{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 +BuildRequires: sqlite-devel %description aria2 is a download utility with resuming and segmented downloading. @@ -34,16 +36,21 @@ Currently it has following features: - Limiting download/upload speed %prep -%setup -q -%patch0 +%setup -q -n %{binname}-%{version} %build %configure --enable-bittorrent \ --enable-metalink \ + --enable-epoll\ --disable-rpath \ --with-gnutls \ --with-libcares \ - --with-libxml2 + --with-libxml2 \ + --with-openssl \ + --with-libz \ + --with-sqlite3 \ + --disable-dependency-tracking \ + make %{?_smp_mflags} @@ -53,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang aria2c rm -f $RPM_BUILD_ROOT%{_datadir}/locale/locale.alias +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{binname} %clean rm -rf $RPM_BUILD_ROOT @@ -60,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT %files -f aria2c.lang %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{_bindir}/aria2c +%doc AUTHORS ChangeLog COPYING README doc/aria2c.1.html +%{_bindir}/%{binname} %{_mandir}/man*/* diff --git a/import.log b/import.log new file mode 100644 index 0000000..3c54fcd --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +aria2-1_0_1-1_fc9:HEAD:aria2-1.0.1-1.fc9.src.rpm:1228490650 diff --git a/sources b/sources index 1e689ff..a9719c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -18e600d6f720a1cb96959b182fe5a754 aria2-0.12.0.tar.bz2 +50d804451022d9f9fd03cc34d0862c1e aria2c-1.0.1.tar.bz2