Summary: The GNU patch command, for modifying/upgrading files Name: patch Version: 2.5.9 Release: 1 License: GPL Group: Text tools URL: http://www.gnu.org/directory/GNU/%{name}.html Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file). Patch should be installed because it is a common way of upgrading applications. %prep %setup -q %build ./configure --prefix=%{_prefix} make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix} make prefix=${RPM_BUILD_ROOT}%{_prefix} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/linux/bin cd usr/linux/bin ln -sf ../../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc NEWS README AUTHORS ChangeLog %{_bindir}/* %{_mandir}/man1/* /usr/linux/bin/* %changelog * Sat May 24 2008 Michael Perzl - 2.5.9-1 - first version for AIX V5.1 and higher