6b8684
Summary:    A GNU tool for automatically configuring source code
6b8684
Name:       autoconf
6b8684
Version:    2.69
6b8684
Release:    11%{?dist}
6b8684
License:    GPLv2+ and GFDL
6b8684
Group:      Development/Tools
6b8684
Source0:    http://ftpmirror.gnu.org/autoconf/autoconf-%{version}.tar.xz
6b8684
Source1:    config.site
6b8684
URL:        http://www.gnu.org/software/autoconf/
6b8684
BuildArch: noarch
6b8684
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6b8684
6b8684
# run "make check" by default
6b8684
%bcond_without check
6b8684
6b8684
# m4 >= 1.4.6 is required, >= 1.4.14 is recommended:
6b8684
BuildRequires:      m4 >= 1.4.14
6b8684
Requires:           m4 >= 1.4.14
6b8684
BuildRequires:      emacs
6b8684
# the filtering macros are currently in /etc/rpm/macros.perl:
6b8684
BuildRequires:      perl-macros
6b8684
BuildRequires:      perl(Data::Dumper)
6b8684
# from f19, Text::ParseWords is not the part of 'perl' package
6b8684
BuildRequires:      perl(Text::ParseWords)
6b8684
6b8684
%if %{with check}
6b8684
# For extended testsuite coverage
6b8684
BuildRequires:      gcc-gfortran
6b8684
%if 0%{?fedora} >= 15
6b8684
BuildRequires:      erlang
6b8684
%endif
6b8684
%endif
6b8684
6b8684
Requires(post):     /sbin/install-info
6b8684
Requires(preun):    /sbin/install-info
6b8684
6b8684
# filter out bogus perl(Autom4te*) dependencies
6b8684
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Autom4te::
6b8684
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Autom4te::
6b8684
6b8684
%description
6b8684
GNU's Autoconf is a tool for configuring source code and Makefiles.
6b8684
Using Autoconf, programmers can create portable and configurable
6b8684
packages, since the person building the package is allowed to
6b8684
specify various configuration options.
6b8684
6b8684
You should install Autoconf if you are developing software and
6b8684
would like to create shell scripts that configure your source code
6b8684
packages. If you are installing Autoconf, you will also need to
6b8684
install the GNU m4 package.
6b8684
6b8684
Note that the Autoconf package is not required for the end-user who
6b8684
may be configuring software with an Autoconf-generated script;
6b8684
Autoconf is only required for the generation of the scripts, not
6b8684
their use.
6b8684
6b8684
%prep
6b8684
%setup -q
6b8684
6b8684
%build
6b8684
%configure
6b8684
# not parallel safe
6b8684
make
6b8684
6b8684
%check
6b8684
%if %{with check}
6b8684
make check # TESTSUITEFLAGS='1-198 200-' # will disable nr. 199.
6b8684
%endif
6b8684
6b8684
%install
6b8684
make install DESTDIR=%{buildroot}
6b8684
mkdir -p %{buildroot}/share
6b8684
# disable until it may cause too much mess in build system
6b8684
# install -m 0644 %%{SOURCE1} %%{buildroot}%%{_datadir}
6b8684
6b8684
%post
6b8684
/sbin/install-info %{_infodir}/autoconf.info %{_infodir}/dir || :
6b8684
6b8684
%preun
6b8684
if [ "$1" = 0 ]; then
6b8684
    /sbin/install-info --del %{_infodir}/autoconf.info %{_infodir}/dir || :
6b8684
fi
6b8684
6b8684
%files
6b8684
%{_bindir}/*
6b8684
%{_infodir}/autoconf.info*
6b8684
# don't include standards.info, because it comes from binutils...
6b8684
%exclude %{_infodir}/standards*
6b8684
# don't include info's TOP directory
6b8684
%exclude %{_infodir}/dir
6b8684
%{_datadir}/autoconf/
6b8684
# disable until it may cause too much mess in build system
6b8684
# %%{_datadir}/config.site
6b8684
%dir %{_datadir}/emacs/
6b8684
%{_datadir}/emacs/site-lisp/
6b8684
%{_mandir}/man1/*
6b8684
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
6b8684
6b8684
%changelog
6b8684
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.69-11
6b8684
- Mass rebuild 2013-12-27
6b8684
6b8684
* Thu Feb 14 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-10
6b8684
- BR the perl(Text::ParseWords) explicitly to enable build again
6b8684
6b8684
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-10
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6b8684
6b8684
* Wed Jan 23 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-9
6b8684
- disable 'config.site' under /usr/share for now
6b8684
6b8684
* Tue Jan 15 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-8
6b8684
- the 'INSTALL' file can be used as template file for packages which are using
6b8684
  autoconf - mark it for installation again (#661623)
6b8684
6b8684
* Tue Jan 08 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-7
6b8684
- Support the 'config.site' file in /usr/share
6b8684
6b8684
* Thu Oct 25 2012 Pavel Raiskup <praiskup@redhat.com> - 2.69-6
6b8684
- fedora-review (minor) fixes and typos: trim lines, remove defattr(,,), do not
6b8684
  run `rm -rf %%{buildroot} at the beginning of install section, use curly
6b8684
  brackets only around rpm macros/variables and not around shell variables,
6b8684
  remove clean section
6b8684
6b8684
* Wed Sep 26 2012 Pavel Raiskup <praiskup@redhat.com> - 2.69-5
6b8684
- do not install the "INSTALL" documentation file (#661623)
6b8684
6b8684
* Thu Sep 13 2012 Karsten Hopp <karsten@redhat.com> 2.69-4
6b8684
- don't require erlang in RHEL
6b8684
6b8684
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-3
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6b8684
6b8684
* Mon Jun 18 2012 Karsten Hopp <karsten@redhat.com> 2.69-2
6b8684
- spec file changes by Ralf Corsépius:
6b8684
- Use %%bcond_without for --with/out=check.
6b8684
- Add BR: perl(Data::Dumper).
6b8684
- Remove BR: automake (Testsuite doesn't need automake).
6b8684
- Add BR: gcc-gfortran, erlang (Extend testsuite).
6b8684
- Remove TESTSUITEFLAGS (Was referring to autoconf < 2.69).
6b8684
- Add rpm-4.9 perl-filters %%__provides_exclude, %%__requires_exclude.
6b8684
  Remove rpm-4.8 perl-filters (Address RHBZ 823770).
6b8684
- Reflect autoconf being GPLv3'ed.
6b8684
- Add BR: perl-macros, Remove BR: perl-devel
6b8684
6b8684
* Tue May 15 2012 Karsten Hopp <karsten@redhat.com> 2.69-1
6b8684
- update to 2.69
6b8684
6b8684
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.68-3
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6b8684
6b8684
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.68-2
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6b8684
6b8684
* Mon Dec 06 2010 Karsten Hopp <karsten@redhat.com> 2.68-1
6b8684
- update to 2.68
6b8684
6b8684
* Tue Jul 06 2010 Karsten Hopp <karsten@redhat.com> 2.66-2
6b8684
- add 2 upstream patches (#611661)
6b8684
- allow rpmbuild --without check
6b8684
6b8684
* Mon Jul  5 2010 Stepan Kasal <kasal@ucw.cz> - 2.66-1
6b8684
- new upstream version, drop upstreamed patches
6b8684
6b8684
* Tue Mar  2 2010 Stepan Kasal <skasal@redhat.com> - 2.65-2
6b8684
- use perl filtering macros
6b8684
6b8684
* Wed Nov 25 2009 Stepan Kasal <skasal@redhat.com> - 2.65-1
6b8684
- new upstream version
6b8684
- backported patch: make AC_FUNC_MMAP work with C++ again
6b8684
6b8684
* Tue Nov 24 2009 Stepan Kasal <skasal@redhat.com> - 2.64-2
6b8684
- add back upstream AH_CHECK_HEADERS, backported from upstream
6b8684
  fixes some build failures
6b8684
6b8684
* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 2.64-1
6b8684
- new upstream version
6b8684
- skip failing test
6b8684
6b8684
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.63-4
6b8684
- Use lzma compressed upstream tarball.
6b8684
6b8684
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.63-3
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6b8684
6b8684
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.63-2
6b8684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6b8684
6b8684
* Wed Sep 17 2008 Stepan Kasal <skasal@redhat.com> 2.63-1
6b8684
- upstream bugfix release
6b8684
- all patches dropped, the issues are fixed upstream
6b8684
6b8684
* Mon Jul 07 2008 Karsten Hopp <karsten@redhat.com> 2.62-5
6b8684
- fix multiline variables (p.e. #449467)
6b8684
6b8684
* Fri Jul  4 2008 Stepan Kasal <skasal@redhat.com> 2.62-4
6b8684
- add a quick fix for #449944
6b8684
- remove Requires: mktemp, imake, grep; these are required by the generated
6b8684
  configure, but not by Autoconf.
6b8684
- switch on make check
6b8684
6b8684
* Tue Jun 24 2008 Karsten Hopp <karsten@redhat.com> 2.62-3
6b8684
- add fix for same line comments #449245 (Ralf Wildenhues)
6b8684
6b8684
* Fri Jun 06 2008 Karsten Hopp <karsten@redhat.com> 2.62-2
6b8684
- add upstream fix from Eric Blake for #449973,
6b8684
  m4_if releated error message from autotest
6b8684
6b8684
* Tue May 13 2008 Karsten Hopp <karsten@redhat.com> 2.62-1
6b8684
- autoconf-2.62
6b8684
6b8684
* Mon Oct 29 2007 Stepan Kasal <skasal@redhat.com> 2.61-10
6b8684
- require m4 >= 1.4.7
6b8684
- Resolves: #236073
6b8684
6b8684
* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 2.61-9
6b8684
- update license tag
6b8684
6b8684
* Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 2.61-8
6b8684
- own %%{_datadir}/emacs/ (#225296)
6b8684
6b8684
* Mon Feb 26 2007 Karsten Hopp <karsten@redhat.com> 2.61-7
6b8684
- add Requires: grep
6b8684
6b8684
* Thu Feb 22 2007 Karsten Hopp <karsten@redhat.com> 2.61-6
6b8684
- drop gawk, sed requirements (#225296)
6b8684
- add some comments
6b8684
6b8684
* Mon Feb 19 2007 Karsten Hopp <karsten@redhat.com> 2.61-5
6b8684
- use ./configure
6b8684
- filter dependencies
6b8684
6b8684
* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.61-4
6b8684
- add disttag
6b8684
- replace  tabs with spaces
6b8684
- fix buildroot
6b8684
- use Requires(post), Requires(preun)
6b8684
- use make install DESTDIR=....
6b8684
- drop perl requirement as it gets pulled it automatically
6b8684
6b8684
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 2.61-3
6b8684
- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
6b8684
6b8684
* Tue Nov 21 2006 Karsten Hopp <karsten@redhat.com> 2.61-2
6b8684
- drop obsolete linkX11 patch
6b8684
6b8684
* Tue Nov 21 2006 Karsten Hopp <karsten@redhat.com> 2.61-1
6b8684
- autoconf-2.61
6b8684
6b8684
* Thu Nov 09 2006 Karsten Hopp <karsten@redhat.com> 2.60-4
6b8684
- autoconf-2.60
6b8684
6b8684
* Fri Oct 13 2006 Stepan Kasal <skasal@redhat.com> 2.59-12
6b8684
- Add autoconf-2.59-lock.patch to eliminate a perl warning (#210653).
6b8684
6b8684
* Thu Jul 27 2006 Karsten Hopp <karsten@redhat.de> 2.59-11
6b8684
- Requires imake for _AC_PATH_X
6b8684
6b8684
* Thu Jul 20 2006 Karsten Hopp <karsten@redhat.de> 2.59-10
6b8684
- rebuild
6b8684
6b8684
* Wed Jul 19 2006 Karsten Hopp <karsten@redhat.de> 2.59-9
6b8684
- rebuild
6b8684
6b8684
* Tue May 16 2006 Karsten Hopp <karsten@redhat.de> 2.59-8
6b8684
- try to link with libX11 instead of libXt
6b8684
6b8684
* Wed Feb 15 2006 Karsten Hopp <karsten@redhat.de> 2.59-7
6b8684
- XrmInitialize takes no argument (#181340)
6b8684
6b8684
* Mon Feb 06 2006 Karsten Hopp <karsten@redhat.de> 2.59-6
6b8684
- check for Xlib.h instead of Intrinsic.h to find X11 headers
6b8684
  (#176379)
6b8684
6b8684
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
6b8684
- rebuilt
6b8684
6b8684
* Tue Sep 21 2004 Daniel Reed <djr@redhat.com> - 2.59-5
6b8684
- rebuilt for dist-fc3
6b8684
6b8684
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
6b8684
- rebuilt
6b8684
6b8684
* Thu Dec 18 2003 Jens Petersen <petersen@redhat.com> - 2.59-2
6b8684
- rebuild with perl-5.8.2 [Harald Hoyer]
6b8684
6b8684
* Thu Nov 13 2003 Jens Petersen <petersen@redhat.com> - 2.59-1
6b8684
- update to 2.59 bugfix release
6b8684
- remove autoconf-2.58-fix-ac_abs-109267.patch no longer needed
6b8684
6b8684
* Fri Nov  7 2003 Jens Petersen <petersen@redhat.com> - 2.58-2
6b8684
- fix problem with ac_abs_{build,src}dir (#109267) [reported by Joe Orton,
6b8684
  patch by Alexandre Duret-Lutz]
6b8684
6b8684
* Wed Nov  5 2003 Jens Petersen <petersen@redhat.com> - 2.58-1
6b8684
- 2.58 release
6b8684
6b8684
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
6b8684
- rebuilt
6b8684
6b8684
* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.57-2
6b8684
- Fix missing/unpackaged file
6b8684
6b8684
* Thu Dec  5 2002 Jens Petersen <petersen@redhat.com> 2.57-1
6b8684
- update to 2.57 bugfix release
6b8684
- buildrequire emacs (#79031), sed and m4
6b8684
6b8684
* Sat Nov 23 2002 Jens Petersen <petersen@redhat.com> 2.56-2
6b8684
- add --without check build option to control whether "make check" run
6b8684
- don't gzip info files explicitly
6b8684
- use exclude for unwanted info files
6b8684
6b8684
* Thu Nov 21 2002 Jens Petersen <petersen@redhat.com>
6b8684
- no longer obsolete autoconf253
6b8684
6b8684
* Mon Nov 18 2002 Jens Petersen <petersen@redhat.com> 2.56-1
6b8684
- update to 2.56
6b8684
- obsolete autoheader-warn patch
6b8684
- no longer provide autoconf253
6b8684
- include site-lisp and man files
6b8684
- remove info dir which is not in the manifest
6b8684
- do not version suffix bin files for now
6b8684
6b8684
* Mon Aug 19 2002 Jens Petersen <petersen@redhat.com> 2.53-8
6b8684
- make check
6b8684
6b8684
* Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.53-7
6b8684
- update url (#66840)
6b8684
- added doc files
6b8684
6b8684
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.53-6
6b8684
- automated rebuild
6b8684
6b8684
* Sun May 26 2002 Tim Powers <timp@redhat.com> 2.53-5
6b8684
- automated rebuild
6b8684
6b8684
* Mon May 20 2002 Bill Nottingham <notting@redhat.com> 2.53-4
6b8684
- provide autoconf253
6b8684
6b8684
* Thu May 16 2002 Bill Nottingham <notting@redhat.com> 2.53-3
6b8684
- obsolete autoconf253
6b8684
6b8684
* Wed May  8 2002 Jens Petersen <petersen@redhat.com> 2.53-2
6b8684
- patch autoheader so that --warnings=CATEGORY works (#64566)
6b8684
  [reported with fix by hjl@gnu.org]
6b8684
6b8684
* Tue Apr 23 2002 Jens Petersen <petersen@redhat.com> 2.53-1
6b8684
- update to autoconf-2.53
6b8684
- drop mawk patch again
6b8684
- version suffix bindir files and add symlinks to unversioned names
6b8684
6b8684
* Fri Feb  1 2002 Jens Petersen <petersen@redhat.com> 2.52-7
6b8684
- revert to 2.52 (also fixes #58210!)
6b8684
- remove relversion variable
6b8684
- bring back mawk -> gawk patch
6b8684
6b8684
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.52-6
6b8684
- automated rebuild
6b8684
6b8684
* Thu Dec 20 2001 Jens Petersen <petersen@redhat.com> 2.52-5
6b8684
- update to 2.52f
6b8684
- add URL
6b8684
- minor description improvements
6b8684
- define relversion to carry version number
6b8684
- mawk.patch no longer needed
6b8684
6b8684
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-4
6b8684
- rebuild
6b8684
6b8684
* Wed Sep 19 2001 Jens Petersen <petersen@redhat.com> 2.52-3
6b8684
- restore patch to prefer gawk to mawk
6b8684
6b8684
* Tue Sep 18 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-2
6b8684
- update to 2.52d
6b8684
6b8684
* Mon Sep 17 2001 Jens Petersen <petersen@redhat.com> 2.52-1
6b8684
- update to 2.52
6b8684
- remove obsolete patches, since already new version
6b8684
- dont install install-sh
6b8684
6b8684
* Tue Jul 10 2001 Jens Petersen <petersen@redhat.com>
6b8684
- add patch to include various standard C headers as needed
6b8684
  by various autoconf tests (#19114)
6b8684
- add patch to autoscan.pl to get a better choice of init
6b8684
  file (#42071), to test for CPP after CC (#42072) and to
6b8684
  detect C++ source and g++ (#42073).
6b8684
6b8684
* Tue Jun 26 2001 Jens Petersen <petersen@redhat.com>
6b8684
- Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION
6b8684
  from version 2.50 to make detection of C++ exit()
6b8684
  declaration prototype platform independent.  The check is
6b8684
  done in AC_PROG_CXX with the result stored in "confdefs.h".
6b8684
  The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed.
6b8684
  (fixes #18829)
6b8684
6b8684
* Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
6b8684
- Fix up interoperability with glibc 2.2 and gcc 2.96:
6b8684
  AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to
6b8684
  the test code without throwing an exception, causing a conflict
6b8684
  with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h
6b8684
  always failed, returning wrong results
6b8684
6b8684
* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
6b8684
- add textutils as a dependency (#14439)
6b8684
6b8684
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
6b8684
- automatic rebuild
6b8684
6b8684
* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
6b8684
- FHS packaging.
6b8684
6b8684
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
6b8684
- fix preun
6b8684
6b8684
* Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
6b8684
- add patch to help autoconf clean after itself and not leave /tmp clobbered
6b8684
  with acin.* and acout.* files (can you say annoying?)
6b8684
6b8684
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
6b8684
- auto rebuild in the new build environment (release 4)
6b8684
- use gawk, not mawk
6b8684
6b8684
* Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
6b8684
- moved /usr/lib/autoconf to /usr/share/autoconf (with automake)
6b8684
6b8684
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
6b8684
- Injected new description and group.
6b8684
6b8684
* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
6b8684
- update to 2.13.
6b8684
6b8684
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
6b8684
- build against glibc 2.1
6b8684
6b8684
* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
6b8684
- requires perl
6b8684
6b8684
* Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com>
6b8684
- patch for fixing /tmp race conditions
6b8684
6b8684
* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
6b8684
- spec file cleanups
6b8684
- made a noarch package
6b8684
- uses autoconf
6b8684
- uses install-info
6b8684
6b8684
* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
6b8684
- built with glibc