auto-import changelog data from m4-1.4.1-6.src.rpm

Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- add URL tag
- improved spec file
- add hack to update config.guess config.sub
- fix to build with newer autoconf versions
This commit is contained in:
cvsdist 2004-09-09 08:09:31 +00:00
parent 83487b481f
commit bbd742cf91

27
m4.spec
View File

@ -1,14 +1,15 @@
Summary: The GNU macro processor. Summary: The GNU macro processor.
Name: m4 Name: m4
Version: 1.4.1 Version: 1.4.1
Release: 5 Release: 6
Copyright: GPL Copyright: GPL
Group: Applications/Text Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/m4/m4-1.4.1.tar.gz Source: ftp://ftp.gnu.org/gnu/m4/m4-1.4.1.tar.gz
Patch: m4-1.4.1-sec.patch URL: ftp://ftp.gnu.org/gnu/m4/
Buildroot: /var/tmp/m4-root Patch0: m4-1.4.1-sec.patch
Patch1: m4-1.4.1-configure.patch
Buildroot: %{_tmppath}/%{name}-root
Prereq: /sbin/install-info Prereq: /sbin/install-info
Prefix: /usr
%description %description
A GNU implementation of the traditional UNIX macro processor. M4 is A GNU implementation of the traditional UNIX macro processor. M4 is
@ -24,18 +25,20 @@ Install m4 if you need a macro processor.
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%setup %setup
%patch -p1 %patch0 -p1
%patch1 -p1
%build %build
autoconf autoreconf -f
test -f /usr/share/libtool/config.guess && cp /usr/share/libtool/config.guess .
test -f /usr/share/libtool/config.sub && cp /usr/share/libtool/config.sub .
%configure %configure
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s
%install %install
%makeinstall INSTALL_DATA="install -c -m644" %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
[ -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/*
gzip -9fn $RPM_BUILD_ROOT/usr/share/info/*
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -55,6 +58,12 @@ fi
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- add URL tag
- improved spec file
- add hack to update config.guess config.sub
- fix to build with newer autoconf versions
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild. - Bump release + rebuild.