Summary: The GNU patch command, for modifying/upgrading files. Name: patch Version: 2.5.9 Release: 2ark License: GPL URL: http://www.gnu.org/software/patch/patch.html Group: Development/Tools Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.bz2 Patch: patch-2.5.4-program_name.patch Buildroot: %{_tmppath}/%{name}-%{version}-root %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 %patch -p1 -b .program_name %build CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %configure make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT # Sad but true: patch doesn't have DESTDIR %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS README %_bindir/* %{_mandir}/*/* %changelog * Sun Mar 4 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 2.5.9-2ark - Rebuild. After 4 years worth of compiler changes, that can't hurt. ;) * Tue Jul 29 2003 David Sainty <saint@arklinux.org> 2.5.9-1ark - 2.5.9 * Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 2.5.4-13ark - automated rebuild