%define ver %{?minor_version:.%{minor_version}} %define snapshot svn58 %define rel %{?snapshot:.%{snapshot}} %define pkg_suffix %{?snapshot:.%{snapshot}} %define source_folder %{?snapshot:axel.git-svn.trunk} %define build_number 1 Name: axel Version: 2.2 Release: %{?snapshot:0.}%{build_number}%{?ver}%{?rel}%{?dist} Summary: A lightweight download accelerator by using multiple connections Group: Applications/Internet License: GPLv2 URL: http://axel.alioth.debian.org Source0: http://download.alioth.debian.org/axel/axel/%{ver}/axel-%{version}%{?pkg_suffix}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description Axel tries to accelerate HTTP/FTP downloading process by using multiple connections for one file. It can use multiple mirrors for a download. Axel has no dependencies and is lightweight, so it might be useful as a wget clone on byte-critical systems. %prep %setup -q %{?source_folder:-n %{source_folder}} %build %configure --etcdir=%{_sysconfdir} --i18n=1 \ --debug=0 --strip=1 \ --ftp=1 --metalink=1 --search=1 --ssl=1 make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc API CHANGES COPYING CREDITS README %{_bindir}/axel %config(noreplace) %{_sysconfdir}/axelrc %{_mandir}/man1/* %changelog * Sun Nov 02 2008 bbbush - 2.2-0.1.svn58 - update * Sat Jul 05 2008 bbbush - 2.0-0.1.20080705 - create spec.