[axel-commits] r31 - in /trunk: CREDITS axel.spec

appaji-guest at users.alioth.debian.org appaji-guest at users.alioth.debian.org
Sun Aug 3 17:44:22 UTC 2008


Author: appaji-guest
Date: Sun Aug  3 17:44:22 2008
New Revision: 31

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=31
Log:
RPM spec file, thanks bbbush <bbbush.yuan at gmail.com>

Added:
    trunk/axel.spec
Modified:
    trunk/CREDITS

Modified: trunk/CREDITS
URL: http://svn.debian.org/wsvn/axel/trunk/CREDITS?rev=31&op=diff
==============================================================================
--- trunk/CREDITS (original)
+++ trunk/CREDITS Sun Aug  3 17:44:22 2008
@@ -1,4 +1,7 @@
 An not-quite-sorted list of people who helped somehow:
+
+- bbbush <bbbush.yuan at gmail.com>
+  RPM spec file
 
 - Eli Yukelzon <reflog at gmail.com>
   Custom Header Support

Added: trunk/axel.spec
URL: http://svn.debian.org/wsvn/axel/trunk/axel.spec?rev=31&op=file
==============================================================================
--- trunk/axel.spec (added)
+++ trunk/axel.spec Sun Aug  3 17:44:22 2008
@@ -1,0 +1,64 @@
+# note: version 2.0 is in devel, version 1.1 is stable
+%define build_stable_version 0
+%if %{build_stable_version}
+%define ver 1.1
+%define build_number 1
+%else
+%define ver 2.0
+%define build_number 0.1
+%define snapshot .20080705
+%define source_folder axel-svn-trunk
+%endif
+Name:           axel
+Version:        %{ver}
+Release:        %{build_number}%{?snapshot}%{?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-%{ver}%{?snapshot}.tar.gz
+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
+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
+* Sat Jul 05 2008 bbbush <bbbush.yuan at gmail.com> - 2.0-0.1.20080705
+- create spec.
+




More information about the axel-commits mailing list