summaryrefslogtreecommitdiffstats
path: root/yum-fast-downloader.spec
diff options
context:
space:
mode:
authorHedayat Vatankhah <hedayat.fwd@gmail.com>2011-05-11 23:58:43 +0430
committerHedayat Vatankhah <hedayat.fwd@gmail.com>2011-05-11 23:58:43 +0430
commite4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea (patch)
treeb58b3ab18246502ae8254f8dd860aecdffb2ffb5 /yum-fast-downloader.spec
parent4ae08a3dd4548e9e125f8c589dbca7bc8b4ad636 (diff)
downloadyum-fast-downloader-e4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea.tar.gz
yum-fast-downloader-e4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea.tar.xz
yum-fast-downloader-e4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea.zip
Add a few files to the package
* Add COPYING as suggested in Fedora guidelines * Add README file to the RPM package * Add spec file here for now
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
+