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