[packages/yum-presto] new, version 0.9.0
glen
glen at pld-linux.org
Sat Mar 2 20:15:05 CET 2013
commit 22ece2935665d5d4d9340b3952d8043994c8668e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 2 21:13:54 2013 +0200
new, version 0.9.0
based on fedora package
0b84a38529ad3c280940394faa0ed011a37b7b53
yum-presto.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/yum-presto.spec b/yum-presto.spec
new file mode 100644
index 0000000..939ef14
--- /dev/null
+++ b/yum-presto.spec
@@ -0,0 +1,54 @@
+Summary: Presto plugin for yum
+Name: yum-presto
+Version: 0.9.0
+Release: 1
+License: GPL v2+
+Group: Development/Tools
+Source0: http://www.lesbg.com/jdieter/presto/%{name}-%{version}.tar.bz2
+# Source0-md5: 1dacbe50b9f941792c915e08ec8093bc
+URL: http://www.lesbg.com/jdieter/presto/
+BuildRequires: python-babel
+BuildRequires: python-distribute
+Requires: deltarpm >= 3.4-2
+Requires: python >= 1:2.4
+Requires: yum >= 3.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _libexecdir %{_prefix}/lib/yum-plugins
+
+%description
+Yum-presto is a plugin for yum that looks for deltarpms rather than
+rpms whenever they are available. This has the potential of saving a
+lot of bandwidth when downloading updates.
+
+A Deltarpm is the difference between two rpms. If you already have
+foo-1.0 installed and foo-1.1 is available, yum-presto will download
+the deltarpm for foo-1.0 => 1.1 rather than the full foo-1.1 rpm, and
+then build the full foo-1.1 package from your installed foo-1.0 and
+the downloaded deltarpm.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README ChangeLog
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/presto.conf
+%{_libexecdir}/presto.py
+%{py_sitescriptdir}/yum_presto-*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/yum-presto.git/commitdiff/22ece2935665d5d4d9340b3952d8043994c8668e
More information about the pld-cvs-commit
mailing list