Blob Blame History Raw
Summary: Console download accelerator
Name: aget
Version: 0.4
Release: 3%{?dist}
License: BSD
Group: Applications/Internet
URL: http://www.enderunix.org/aget/

Source: http://www.enderunix.org/%{name}/%{name}-%{version}.tar.gz
Patch: aget-errno-include.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Aget is a multi-threaded download accelerator like Flashget. It supports HTTP 
downloads and can be run from the console.

%prep

%setup -q
%patch -p1 -b .errno

%build
make CFLAGS="%{optflags}" %{?_smp_mflags}

%install
rm -rf %{buildroot}
# make install DESTDIR=%{buildroot}
# create dirs manually and fix the permission for debug info
%{__install} -Dp -m0755 aget %{buildroot}%{_bindir}/aget

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING README THANKS TODO
%{_bindir}/aget

%changelog

* Wed Oct 03 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-3
- Fix dist tag and permissions

* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-2
- Use macro in url, Add disttag, fix optflags and patch name

* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-1
- Initial build for review. Based on rf spec