Summary: The GNU macro processor. Name: m4 Version: 1.4.1 Release: 4 Copyright: GPL Group: Applications/Text Source: ftp://ftp.gnu.org/gnu/m4/m4-1.4.1.tar.gz Patch: m4-1.4.1-sec.patch Buildroot: /var/tmp/m4-root Prereq: /sbin/install-info Prefix: /usr %description A GNU implementation of the traditional UNIX macro processor. M4 is useful for writing text files which can be logically parsed, and is used by many programs as part of their build process. M4 has built-in functions for including files, running shell commands, doing arithmetic, etc. The autoconf program needs m4 for generating configure scripts, but not for running configure scripts. Install m4 if you need a macro processor. %prep rm -rf $RPM_BUILD_ROOT %setup %patch -p1 %build autoconf %configure make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s %install %makeinstall INSTALL_DATA="install -c -m644" strip -R .comment $RPM_BUILD_ROOT/usr/bin/m4 [ -d $RPM_BUILD_ROOT/usr/info ] && mv $RPM_BUILD_ROOT/usr/info $RPM_BUILD_ROOT/usr/share gzip -9fn $RPM_BUILD_ROOT/usr/share/info/* %files %defattr(-,root,root) %doc NEWS README /usr/bin/m4 /usr/share/info/* %post /sbin/install-info /usr/share/info/m4.info.gz /usr/share/info/dir %preun if [ "$1" = 0 ]; then /sbin/install-info --delete /usr/share/info/m4.info.gz /usr/share/info/dir fi %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Feb 13 2001 Florian La Roche - signal patch is not necessary anymore - fix printf buffer overflow problem * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jun 17 2000 Matt Wilson - added defattr * Mon Jun 5 2000 Bernhard Rosenkraenzer - FHS compliance - 1.4.1 - some fixes to spec file * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 12) * Thu Dec 17 1998 Cristian Gafton - build against glibc 2.1 * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Fri Apr 10 1998 Cristian Gafton - Manhattan build * Wed Oct 21 1997 Cristian Gafton - added info file handling and BuildRoot * Mon Jun 02 1997 Erik Troan - built against glibc