summaryrefslogtreecommitdiffstats
path: root/yum-fast-downloader.spec
blob: 437e8369898dfe20b7c585fda707870beeaa7538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Summary:	A fast downloader plugin for yum
Name:		yum-fast-downloader
Version:	0.5.6
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/ $RPM_BUILD_ROOT/usr/libexec/
install -m 644 %{name}.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/
install -m 644 %{name}.conf $RPM_BUILD_ROOT/etc/yum/pluginconf.d/
install -m 755 %{name}-finalize $RPM_BUILD_ROOT/usr/libexec/

%files
%config(noreplace) /etc/yum/pluginconf.d/%{name}.conf
%doc README COPYING
/usr/lib/yum-plugins/*
/usr/libexec/*

%changelog
* Thu Oct 06 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.6-1
- Try to prevent re-downloading after some package downloads

* Wed Jul 13 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.5-1
- Make sure that the yfd file is renamed before proceeding

* Sun Jun 12 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.4-1
- Save intermediate download files with a different name, so that presto
  will not remove aria2c incompletely downloaded files

* Fri May 13 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.3-1
- Enable split download for aria2-1.11

* Thu May 12 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.5.2-1
- Fixed a small bug and add a new config option in 0.5.2

* 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