From e4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea Mon Sep 17 00:00:00 2001 From: Hedayat Vatankhah Date: Wed, 11 May 2011 23:58:43 +0430 Subject: 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 --- yum-fast-downloader.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 yum-fast-downloader.spec (limited to 'yum-fast-downloader.spec') 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 - 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 - 0.5-2 +- Added aria2 as a requirement + +* Wed May 11 2011 Hedayat Vatankhah - 0.5-1 +- Initial version + -- cgit