54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
Summary: Console download accelerator
|
|
Name: aget
|
|
Version: 0.4
|
|
Release: 5%{?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
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-5
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
|
* Sat Feb 09 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-4
|
|
- Rebuild for GCC 4.3
|
|
|
|
* 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
|