0220b2e
Summary: Console download accelerator
0220b2e
Name: aget
0220b2e
Version: 0.4
0220b2e
Release: 3%{?dist}
0220b2e
License: BSD
0220b2e
Group: Applications/Internet
0220b2e
URL: http://www.enderunix.org/aget/
0220b2e
0220b2e
Source: http://www.enderunix.org/%{name}/%{name}-%{version}.tar.gz
0220b2e
Patch: aget-errno-include.patch
0220b2e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0220b2e
0220b2e
%description
0220b2e
Aget is a multi-threaded download accelerator like Flashget. It supports HTTP 
0220b2e
downloads and can be run from the console.
0220b2e
0220b2e
%prep
0220b2e
0220b2e
%setup -q
0220b2e
%patch -p1 -b .errno
0220b2e
0220b2e
%build
0220b2e
make CFLAGS="%{optflags}" %{?_smp_mflags}
0220b2e
0220b2e
%install
0220b2e
rm -rf %{buildroot}
0220b2e
# make install DESTDIR=%{buildroot}
0220b2e
# create dirs manually and fix the permission for debug info
0220b2e
%{__install} -Dp -m0755 aget %{buildroot}%{_bindir}/aget
0220b2e
0220b2e
%clean
0220b2e
rm -rf %{buildroot}
0220b2e
0220b2e
%files
0220b2e
%defattr(-, root, root, -)
0220b2e
%doc AUTHORS COPYING README THANKS TODO
0220b2e
%{_bindir}/aget
0220b2e
0220b2e
%changelog
0220b2e
0220b2e
* Wed Oct 03 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-3
0220b2e
- Fix dist tag and permissions
0220b2e
0220b2e
* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-2
0220b2e
- Use macro in url, Add disttag, fix optflags and patch name
0220b2e
0220b2e
* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-1
0220b2e
- Initial build for review. Based on rf spec