summaryrefslogtreecommitdiffstats
path: root/yum-fast-downloader.spec
diff options
context:
space:
mode:
Diffstat (limited to 'yum-fast-downloader.spec')
-rw-r--r--yum-fast-downloader.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/yum-fast-downloader.spec b/yum-fast-downloader.spec
new file mode 100644
index 0000000..7af2925
--- /dev/null
+++ b/yum-fast-downloader.spec
@@ -0,0 +1,44 @@
+Summary: A fast downloader plugin for yum
+Name: yum-fast-downloader
+Version: 0.5.1
+Release: 1
+License: GPLv2+
+Group: System Environment/Base
+Source: %{name}-%{version}.tar.bz2
+BuildArch: noarch
+Requires: aria2
+
+%description
+This plugin intends to speedup yum downloads by using a download manager
+application (currently Aria 2) for downloading files instead of URLGrabber
+which is used by yum.
+Currently, it provides the following features:
+* Using fastest mirrors for downloading
+* Downloading repository metadata from several mirrors simultaneously
+* Downloading multiple packages in parallel from several mirrors
+
+%prep
+%setup -q
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT/usr/lib/yum-plugins $RPM_BUILD_ROOT/etc/yum/pluginconf.d/
+install -m 644 %{name}.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/
+install -m 644 %{name}.conf $RPM_BUILD_ROOT/etc/yum/pluginconf.d/
+
+%files
+%config(noreplace) /etc/yum/pluginconf.d/%{name}.conf
+%doc README COPYING
+/usr/lib/yum-plugins/*
+
+%changelog
+* Wed May 11 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.1-1
+- Renamed plugin to yum-fast-downloader so that it'll be run after presto
+- Added README to the package as doc
+- Added COPYING file
+
+* Wed May 11 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5-2
+- Added aria2 as a requirement
+
+* Wed May 11 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5-1
+- Initial version
+