Summary: RPM installer/updater Name: yum Version: 1.0.3 Release: 2.3_0.8.0 License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.gz Source5: yum.sysconfig Source6: yum.cron Source7: yum.conf URL: http://www.dulug.duke.edu/yum/ BuildRoot: %{_tmppath}/%{name}-%{version}root BuildArch: noarch BuildRequires: rpm-python python >= 1.5.2 Requires: rpm-python >= 4.0.4 python >= 1.5.2 rpm >= 4.0.4 Prereq: /sbin/chkconfig, /sbin/service %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 %build %configure make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/etc/sysconfig install -m 644 %{S:5} $RPM_BUILD_ROOT/etc/sysconfig/yum.cron install -m 755 %{S:6} $RPM_BUILD_ROOT/etc/cron.daily/yum.cron install -m 644 %{S:7} $RPM_BUILD_ROOT/etc/yum.conf %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add yum /sbin/service yum condrestart >> /dev/null exit 0 %preun if [ $1 = 0 ]; then /sbin/chkconfig --del yum /sbin/service yum stop >> /dev/null fi exit 0 %files %defattr(-, root, root) %doc README AUTHORS COPYING TODO INSTALL %config(noreplace) %{_sysconfdir}/yum.conf %config(noreplace) %attr(755,root,root) %{_sysconfdir}/cron.daily/yum.cron %config(noreplace) %{_sysconfdir}/sysconfig/yum.cron %config %{_sysconfdir}/init.d/%{name} %config %{_sysconfdir}/logrotate.d/%{name} %{_datadir}/yum/* %{_bindir}/yum %{_bindir}/yum-arch /var/cache/yum %{_mandir}/man*/* %changelog * Mon Nov 03 2003 Milan Kerslager 1.0.3-2.3_0.8.0 - rebuild for RH 8.0 * Mon Nov 03 2003 Milan Kerslager 1.0.3-2.3_0.7.3 - post and preun scripts are back * Mon Nov 03 2003 Milan Kerslager 1.0.3-2.2_0.7.3 - version tag by http://www.fedora.us/wiki/PackageNamingGuidelines - updated cron scripts, sysconfig/yum.cron - noreplace for cron script - init script is back * Wed Sep 17 2003 Milan Kerslager 1.0.3-2.1.73 - no init and no cron script * Mon Sep 8 2003 Seth Vidal - brown paper-bag 1.0.3 * Mon Sep 8 2003 Seth Vidal - ver to 1.0.2 * Mon May 19 2003 Seth Vidal - ver to 1.0.1 * Mon Apr 28 2003 Seth Vidal - fix up for changes and fhs compliance * Tue Mar 11 2003 Seth Vidal - bump ver to 1.0 - fix conf file - for rhl 7.3 * Sun Dec 22 2002 Seth Vidal - bumped to ver 0.9.4 - split spec file for rhl 7x vs 8 * Sun Oct 20 2002 Seth Vidal - bumped ver to 0.9.3 * Mon Aug 26 2002 Seth Vidal - bumped ver to 0.9.2 * Thu Jul 11 2002 Seth Vidal - bumped ver to 0.9.1 * Thu Jul 11 2002 Seth Vidal - bumped ver to 0.9.0 * Thu Jul 11 2002 Seth Vidal - added rpm require * Sun Jun 30 2002 Seth Vidal - 0.8.9 * Fri Jun 14 2002 Seth Vidal - 0.8.7 * Thu Jun 13 2002 Seth Vidal - bumped to 0.8.5 * Thu Jun 13 2002 Seth Vidal - bumped to 0.8.4 * Sun Jun 9 2002 Seth Vidal - bumped to 0.8.2 * Thu Jun 6 2002 Seth Vidal - First packaging