-Summary: An light Linux download accelerator
+Summary: A light Linux download accelerator
Summary(pl): Niewielki dopalacz ¶ci±gania plików
Name: axel
Version: 1.0a
-Release: 2
+Release: 4
License: GPL
Group: Networking/Utilities
-Source0: http://www.lintux.cx/downloads/%{name}-%{version}.tar.gz
+Source0: http://wilmer.gaast.net/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: 2d94c0b36b374834567f1fcec5f89119
Patch0: %{name}-Makefile.patch
+Patch1: %{name}-etc_dir.patch
+URL: http://wilmer.gaast.net/main.php/axel.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch1 -p1
%build
# it doesn't use autoconf
--locale=%{_datadir}/locale \
--i18n=1
-%{__make} CC=%{__cc} CFLAGS="%{rpmcflags}"
+%{__make} \
+ CC=%{__cc} \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir},%{_datadir}/locale}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}