SPECS: vzyum.spec (NEW) - new, based on their own spec

glen glen at pld-linux.org
Mon May 14 12:17:03 CEST 2007


Author: glen                         Date: Mon May 14 10:17:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on their own spec

---- Files affected:
SPECS:
   vzyum.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/vzyum.spec
diff -u /dev/null SPECS/vzyum.spec:1.1
--- /dev/null	Mon May 14 12:17:03 2007
+++ SPECS/vzyum.spec	Mon May 14 12:16:58 2007
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+# vzyum: stripped-down patched yum packaged for OpenVZ
+#
+# Changes:
+# * Docs, cron scripts, configs, yum-arch removed.
+# * Option --vps added.
+# * Installed to /usr/share/vzyum
+
+Summary:	RPM installer/updater used by OpenVZ template tools
+Name:		vzyum
+Version:	2.4.0
+Release:	11
+License:	GPL
+Group:		Base
+Source0:	http://linux.duke.edu/projects/yum/download/2.4/yum-%{version}.tar.gz
+# Source0-md5:	c19a471ef5f72ddca3f100a60a07d1b3
+Patch0:		http://download.openvz.org/template/utils/vzyum/2.4.0-11/src/yum-2.4.0-altpath.swsoft.patch
+Patch1:		http://download.openvz.org/template/utils/vzyum/2.4.0-11/src/yum-2.4.0-pluginpath.swsoft.patch
+Patch2:		http://download.openvz.org/template/utils/vzyum/2.4.0-11/src/yum-2.4.0-vps.swsoft.patch
+URL:		http://linux.duke.edu/yum/
+BuildRequires:	gettext
+BuildRequires:	python
+Requires:	/sbin/chkconfig
+Requires:	/sbin/service
+Requires:	coreutils
+Requires:	libxml2-python
+Requires:	python
+Requires:	python-cElementTree
+Requires:	python-sqlite
+Requires:	urlgrabber
+Obsoletes:	yum-phoebe
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/share/vzyum
+%define	_sysconfdir	%{_prefix}/etc
+
+%description
+Yum is a utility that can check for and automatically download and
+install updated RPM packages. Dependencies are obtained and downloaded
+automatically prompting the user as necessary.
+
+%prep
+%setup -q -n yum-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/pluginconf.d,%{_prefix}/plugins}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_sysconfdir}/pluginconf.d
+%attr(755,root,root) %{_bindir}/yum
+%dir %{_prefix}/yum-cli
+%{_prefix}/yum-cli/*
+%{_prefix}/lib
+%{_prefix}/plugins
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/05/14 10:16:58  glen
+- new, based on their own spec
+
================================================================


More information about the pld-cvs-commit mailing list