92ed42
Summary: The GNU macro processor
92ed42
Name: m4
92ed42
Version: 1.4.16
92ed42
Release: 10%{?dist}
92ed42
License: GPLv3+
92ed42
Group: Applications/Text
92ed42
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
92ed42
Source1: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig
92ed42
URL: http://www.gnu.org/software/m4/
92ed42
# Patch0: Temporary fix to avoid fails, already fixed in gnulib, this patch
92ed42
#         should be removed after updating m4 to newer gnulib
92ed42
Patch0: m4-1.4.16-readlink-einval.patch
92ed42
# Patch1: Temporary fix to avoid build fails, this patch
92ed42
#         should be removed after updateing m4 to newer gnulib
92ed42
Patch1: m4-1.4.16-gnulib-gets.patch
92ed42
# Patch2: Fixes math tests for little-endian PowerPC,
92ed42
#         patch by Menanteau Guy and Ulrich Weigand
92ed42
Patch2: m4-1.4.17-gnulib-ppc64le.patch
92ed42
Requires(post): /sbin/install-info
92ed42
Requires(preun): /sbin/install-info
92ed42
# Gnulib bundled - the library has been granted an exception, see https://fedorahosted.org/fpc/ticket/174
92ed42
# Gnulib is not versioned, see m4 ChangeLog for approximate date of Gnulib copy
92ed42
Provides: bundled(gnulib)
92ed42
92ed42
%description
92ed42
A GNU implementation of the traditional UNIX macro processor.  M4 is
92ed42
useful for writing text files which can be logically parsed, and is used
92ed42
by many programs as part of their build process.  M4 has built-in
92ed42
functions for including files, running shell commands, doing arithmetic,
92ed42
etc.  The autoconf program needs m4 for generating configure scripts, but
92ed42
not for running configure scripts.
92ed42
92ed42
Install m4 if you need a macro processor.
92ed42
92ed42
%prep
92ed42
%setup -q
92ed42
%patch0 -p1 -b .readlink-einval
92ed42
%patch1 -p1 -b .gnulib-gets
92ed42
%patch2 -p1 -b .gnulib-ppc64le
92ed42
chmod 644 COPYING
92ed42
92ed42
%build
92ed42
%configure
92ed42
make %{?_smp_mflags}
92ed42
92ed42
%install
92ed42
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
92ed42
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
92ed42
92ed42
%check
92ed42
make %{?_smp_mflags} check
92ed42
92ed42
%files
92ed42
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
92ed42
%{_bindir}/m4
92ed42
%{_infodir}/*
92ed42
%{_mandir}/man1/m4.1*
92ed42
92ed42
%post
92ed42
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
92ed42
    /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
92ed42
fi
92ed42
92ed42
%preun
92ed42
if [ "$1" = 0 ]; then
92ed42
    if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
92ed42
        /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
92ed42
    fi
92ed42
fi
92ed42
92ed42
%changelog
92ed42
* Thu Aug 07 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-10
92ed42
- Fix ppc64le test fails
92ed42
  Resolves: #1125604
92ed42
92ed42
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.16-9
92ed42
- Mass rebuild 2014-01-24
92ed42
92ed42
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.16-8
92ed42
- Mass rebuild 2013-12-27
92ed42
92ed42
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-7
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
92ed42
92ed42
* Tue Aug 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-6
92ed42
- Fix issues found by fedora-review utility in the spec file
92ed42
92ed42
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-5
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
92ed42
92ed42
* Mon May 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-4
92ed42
- Fix handling of bundled gnulib in the spec file
92ed42
  Resolves: #821777
92ed42
92ed42
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-3
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
92ed42
92ed42
* Tue Sep 20 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-2
92ed42
- Temporarily fix readlink test to accept EINVAL also
92ed42
  Resolves: #739189
92ed42
92ed42
* Wed Mar 02 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-1
92ed42
- Update to m4-1.4.16
92ed42
92ed42
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.15-2
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
92ed42
92ed42
* Tue Sep  7 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.15-1
92ed42
- Update to m4-1.4.15 (removed include patch, already applied in upstream source)
92ed42
  Resolves: #630709
92ed42
92ed42
* Mon Mar  1 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.14-1
92ed42
- Update to m4-1.4.14
92ed42
  Resolves: #568339
92ed42
92ed42
* Thu Sep  3 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.13-4
92ed42
- Fix errors installing m4 with --excludedocs
92ed42
  Resolves: #516013
92ed42
92ed42
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.4.13-3
92ed42
- Use xz compressed upstream tarball.
92ed42
92ed42
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.13-2
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92ed42
92ed42
* Wed May 27 2009 Stepan Kasal <skasal@redhat.com> - 1.4.13-1
92ed42
- new upstream release
92ed42
- drop the ununsed Source1: %%{SOURCE0}.sig
92ed42
- enable %%check again
92ed42
92ed42
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.12-2
92ed42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
92ed42
92ed42
* Wed Nov  5 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.12-1
92ed42
- Update to m4-1.4.12
92ed42
  Resolves: #469944
92ed42
- Merge review
92ed42
  Resolves: #226115
92ed42
92ed42
* Wed Apr 23 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.11-1
92ed42
- Update to m4-1.4.11 (removed vasnprintf patch, it's included in
92ed42
  upstream source)
92ed42
  Resolves: #443589
92ed42
92ed42
* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-3
92ed42
- Fix Buildroot
92ed42
92ed42
* Mon Dec 17 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-2
92ed42
- Fix vasnprintf puts %%n into a writeable format string in all cases
92ed42
  Resolves: #345651
92ed42
92ed42
* Wed Aug 22 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-1
92ed42
- Update to m4-1.4.10
92ed42
- Fix license to GPL version 3 or later
92ed42
92ed42
* Tue Jun  5 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-1
92ed42
- Update to m4-1.4.9
92ed42
92ed42
* Thu Apr 19 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.8-2
92ed42
- Rebuild
92ed42
92ed42
* Sun Nov 26 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.8-1
92ed42
- Update to m4-1.4.8
92ed42
92ed42
* Wed Oct 25 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-2
92ed42
- Drop %%check again.  SIGPIPE is set to SIG_IGN in mock, which breaks the
92ed42
  sysval test.
92ed42
92ed42
* Tue Oct 24 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-1
92ed42
- Update to m4-1.4.7
92ed42
- Add %%check
92ed42
- Fix a rpmlint warning about Summary:
92ed42
92ed42
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-3
92ed42
- Use the install-info scriptlets recommended in the Fedora Extras wiki
92ed42
- Move $RPM_BUILD_ROOT cleaning from %%prep to %%install
92ed42
92ed42
* Mon Jul 17 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.5-2
92ed42
- remove infodir/dir so it isn't included in the package
92ed42
92ed42
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-1
92ed42
- Update to m4-1.4.5
92ed42
92ed42
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.2
92ed42
- rebuild
92ed42
92ed42
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.1
92ed42
- bump again for double-long bug on ppc(64)
92ed42
92ed42
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2
92ed42
- rebuilt for new gcc4.1 snapshot and glibc changes
92ed42
92ed42
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
92ed42
- rebuilt
92ed42
92ed42
* Sat Oct 22 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.4-1
92ed42
- Update to m4-1.4.4
92ed42
92ed42
* Sun Sep 18 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-2
92ed42
- Ship COPYING and ChangeLog
92ed42
92ed42
* Fri Apr  1 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-1
92ed42
- Update to m4-1.4.3
92ed42
92ed42
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.4.2-3
92ed42
- build with gcc-4
92ed42
92ed42
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
92ed42
- rebuild
92ed42
92ed42
* Sun Dec 12 2004 Miloslav Trmac <mitr@redhat.com> - 1.4.2-1
92ed42
- Update to m4-1.4.2
92ed42
92ed42
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
92ed42
- rebuilt
92ed42
92ed42
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
92ed42
- rebuilt
92ed42
92ed42
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
92ed42
- rebuilt
92ed42
92ed42
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
92ed42
- rebuilt
92ed42
92ed42
* Mon Nov 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- add french translation file
92ed42
92ed42
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
92ed42
- automated rebuild
92ed42
92ed42
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- do not strip apps
92ed42
92ed42
* Fri Jun 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- rebuild
92ed42
92ed42
* Thu May 23 2002 Tim Powers <timp@redhat.com>
92ed42
- automated rebuild
92ed42
92ed42
* Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- use _infodir on popular request #47465
92ed42
92ed42
* Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- add URL tag
92ed42
- improved spec file
92ed42
- add hack to update config.guess config.sub
92ed42
- fix to build with newer autoconf versions
92ed42
92ed42
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
92ed42
- Bump release + rebuild.
92ed42
92ed42
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
92ed42
- signal patch is not necessary anymore
92ed42
- fix printf buffer overflow problem
92ed42
92ed42
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
92ed42
- automatic rebuild
92ed42
92ed42
* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
92ed42
- added defattr
92ed42
92ed42
* Mon Jun  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
92ed42
- FHS compliance
92ed42
- 1.4.1
92ed42
- some fixes to spec file
92ed42
92ed42
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
92ed42
- auto rebuild in the new build environment (release 12)
92ed42
92ed42
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
92ed42
- build against glibc 2.1
92ed42
92ed42
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
92ed42
- translations modified for de, fr, tr
92ed42
92ed42
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
92ed42
- Manhattan build
92ed42
92ed42
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
92ed42
- added info file handling and BuildRoot
92ed42
92ed42
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
92ed42
- built against glibc
92ed42