ALT Linux repos
Group :: Development/Other
RPM: m4
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: m4
Version: 1.4.3
Release: alt1
Summary: The GNU macro processor
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/m4/
Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
Source1: m4.m4
Patch1: m4-1.4.3-alt-texinfo.patch
Patch2: m4-1.4.3-alt-glibc.patch
Patch3: m4-1.4.3-alt-error.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
%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 %name for generating configure scripts,
but not for running configure scripts.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__rm -f lib/*.h
%build
autoreconf -fisv
%configure
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
bzip2 -9fk ChangeLog
%install
%makeinstall INSTALL_DATA="%__install -p -m644"
install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_datadir/aclocal/%name.m4
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_infodir/*.info*
%_datadir/aclocal/*
%doc BACKLOG NEWS README THANKS TODO ChangeLog.bz2
%changelog
…
Full changelog you can see here
Version: 1.4.3
Release: alt1
Summary: The GNU macro processor
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/m4/
Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
Source1: m4.m4
Patch1: m4-1.4.3-alt-texinfo.patch
Patch2: m4-1.4.3-alt-glibc.patch
Patch3: m4-1.4.3-alt-error.patch
Requires(post): %install_info
Requires(preun): %uninstall_info
%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 %name for generating configure scripts,
but not for running configure scripts.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__rm -f lib/*.h
%build
autoreconf -fisv
%configure
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
bzip2 -9fk ChangeLog
%install
%makeinstall INSTALL_DATA="%__install -p -m644"
install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_datadir/aclocal/%name.m4
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%files
%_bindir/*
%_infodir/*.info*
%_datadir/aclocal/*
%doc BACKLOG NEWS README THANKS TODO ChangeLog.bz2
%changelog
…
Full changelog you can see here