303bdf
Summary:    A GNU tool for automatically configuring source code
303bdf
Name:       autoconf213
303bdf
Version:    2.13
109ea8
Release:    31%{?dist}
303bdf
License:    GPLv2+
303bdf
Group:      Development/Tools
303bdf
URL:        http://www.gnu.org/software/autoconf/
303bdf
Source:     ftp://prep.ai.mit.edu/pub/gnu/autoconf/autoconf-%{version}.tar.gz
303bdf
Patch0:     autoconf-2.12-race.patch
303bdf
Patch1:     autoconf-2.13-mawk.patch
303bdf
Patch2:     autoconf-2.13-notmp.patch
303bdf
Patch3:     autoconf-2.13-c++exit.patch
303bdf
Patch4:     autoconf-2.13-headers.patch
303bdf
Patch5:     autoconf-2.13-autoscan.patch
303bdf
Patch6:     autoconf-2.13-exit.patch
303bdf
Patch7:     autoconf-2.13-wait3test.patch
303bdf
Patch8:     autoconf-2.13-make-defs-62361.patch
303bdf
Patch9:     autoconf-2.13-versioning.patch
303bdf
Patch10:    autoconf213-destdir.patch
303bdf
Patch11:    autoconf213-info.patch
303bdf
Patch12:    autoconf213-testsuite.patch
303bdf
Patch13:    autoconf213-testsuite-rhel.patch
303bdf
Requires:   gawk, m4 >= 1.1, coreutils, perl
303bdf
Requires(post):  /sbin/install-info
303bdf
Requires(preun): /sbin/install-info
303bdf
Buildrequires:   texinfo, m4 >= 1.1, perl, gawk, dejagnu, flex
303bdf
%if !0%{?rhel:1}
303bdf
BuildRequires: compat-gcc-34-g77
303bdf
%endif
303bdf
BuildArch:  noarch
303bdf
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
303bdf
303bdf
%description
303bdf
GNU's Autoconf is a tool for configuring source code and Makefiles.
303bdf
Using Autoconf, programmers can create portable and configurable
303bdf
packages, since the person building the package is allowed to specify
303bdf
various configuration options.
303bdf
303bdf
You should install Autoconf if you are developing software and you
303bdf
would like to use it to create shell scripts that will configure your
303bdf
source code packages. If you are installing Autoconf, you will also
303bdf
need to install the GNU m4 package.
303bdf
303bdf
Note that the Autoconf package is not required for the end-user who
303bdf
may be configuring software with an Autoconf-generated script;
303bdf
Autoconf is only required for the generation of the scripts, not their
303bdf
use.
303bdf
303bdf
%prep
303bdf
%setup -q -n autoconf-%{version}
303bdf
%patch0 -p1
303bdf
%patch1 -p1
303bdf
%patch2 -p1
303bdf
%patch3 -p1
303bdf
%patch4 -p1
303bdf
%patch5 -p1
303bdf
%patch6 -p1
303bdf
%patch7 -p1
303bdf
%patch8 -p1
303bdf
%patch9 -p1
303bdf
%patch10 -p1
303bdf
%patch11 -p1
303bdf
%patch12 -p1
303bdf
%if 0%{?rhel:1}
303bdf
# don't expect /usr/bin/f77 is installed on RHEL7
303bdf
%patch13 -p1
303bdf
%endif
303bdf
mv autoconf.texi autoconf213.texi
303bdf
rm -f autoconf.info
303bdf
303bdf
%build
303bdf
%configure --program-suffix=-%{version}
303bdf
make
303bdf
303bdf
%install
303bdf
rm -rf ${RPM_BUILD_ROOT}
303bdf
#makeinstall
303bdf
make install DESTDIR=$RPM_BUILD_ROOT
303bdf
303bdf
%check
303bdf
make check
303bdf
303bdf
# We don't want to include the standards.info stuff in the package,
303bdf
# because it comes from binutils...
303bdf
rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
303bdf
303bdf
%post
303bdf
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
303bdf
303bdf
%preun
303bdf
if [ "$1" = 0 ]; then
303bdf
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
303bdf
fi
303bdf
303bdf
%clean
303bdf
rm -rf ${RPM_BUILD_ROOT}
303bdf
303bdf
%files
303bdf
%defattr(-,root,root,-)
303bdf
%{_bindir}/*
303bdf
%{_infodir}/*.info*
303bdf
%{_datadir}/autoconf-%{version}/
303bdf
%doc AUTHORS COPYING NEWS README TODO
303bdf
303bdf
%changelog
109ea8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.13-31
109ea8
- Mass rebuild 2013-12-27
109ea8
303bdf
* Fri Oct 18 2013 Pavel Raiskup <praiskup@redhat.com> - 2.13-30
303bdf
- disable g77 tests for RHEL7 builds
303bdf
303bdf
* Wed Oct 09 2013 Pavel Raiskup <praiskup@redhat.com> - 2.13-29
303bdf
- enable testsuite for obsolescent autoconf213
303bdf
303bdf
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-28
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
303bdf
303bdf
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.13-27
303bdf
- Perl 5.18 rebuild
303bdf
303bdf
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-26
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
303bdf
303bdf
* Mon Oct 29 2012 Pavel Raiskup <praiskup@redhat.com> - 2.13-25
303bdf
- remove unnecessary BR, remove trailing whitespaces
303bdf
303bdf
* Fri Oct 12 2012 Pavel Raiskup <praiskup@redhat.com> - 2.13-24
303bdf
- update license tag in specfile
303bdf
303bdf
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-23
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
303bdf
303bdf
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-22
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
303bdf
303bdf
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-21
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
303bdf
303bdf
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-20
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
303bdf
303bdf
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-19
303bdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
303bdf
303bdf
* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 2.13-18
303bdf
- update license tag
303bdf
303bdf
* Mon Feb 26 2007 Karsten Hopp <karsten@redhat.com> 2.13-17
303bdf
- our tarball hat different size and timestamps then the upstream
303bdf
  tarball. No changes, though.
303bdf
- rebuild with upstream sources
303bdf
303bdf
* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.13-16
303bdf
- delete old autoconf.info file
303bdf
303bdf
* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.13-15
303bdf
- add autoconf213 info entry
303bdf
- add disttag
303bdf
303bdf
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 2.13-14
303bdf
- buildrequire perl for autoscan script
303bdf
303bdf
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 2.13-13
303bdf
- buildroot fixed
303bdf
- removed textutils requirement
303bdf
- dot removed from summary
303bdf
- requires gawk, but not perl
303bdf
- use install-info
303bdf
- use BuildArch
303bdf
- replace tabs with spaces
303bdf
- fix defattr
303bdf
- use 'make install DESTDIR=...'
303bdf
303bdf
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.13-12.1
303bdf
- rebuild
303bdf
303bdf
* Mon Feb 27 2006 Karsten Hopp <karsten@redhat.de> 2.13-12
303bdf
- require m4 >= 1.1
303bdf
303bdf
* Mon Feb 27 2006 Karsten Hopp <karsten@redhat.de> 2.13-11
303bdf
- BuildRequire m4 (#181959)
303bdf
303bdf
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
303bdf
- rebuilt
303bdf
303bdf
* Mon Feb 21 2005 Karsten Hopp <karsten@redhat.de> 2.13-10
303bdf
- Copyright -> License
303bdf
303bdf
* Thu Sep 23 2004 Daniel Reed <djr@redhat.com> - 2.13-9
303bdf
- rebuilt for dist-fc3
303bdf
303bdf
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
303bdf
- rebuilt
303bdf
303bdf
* Tue Dec  9 2003 Jens Petersen <petersen@redhat.com> - 2.13-7
303bdf
- buildrequire texinfo (#111169) [mvd@mylinux.com.ua]
303bdf
303bdf
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
303bdf
- rebuilt
303bdf
303bdf
* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.13-5
303bdf
- Fix unpackaged file
303bdf
303bdf
* Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.13-4
303bdf
- update url (#66840)
303bdf
- added doc files
303bdf
303bdf
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.13-3
303bdf
- automated rebuild
303bdf
303bdf
* Thu May 23 2002 Tim Powers <timp@redhat.com> 2.13-2
303bdf
- automated rebuild
303bdf
303bdf
* Wed May 15 2002 Jens Petersen <petersen@redhat.com> 2.13-1
303bdf
- new package based on autoconf-2.13-17
303bdf
- don't make unversioned bindir symlinks
303bdf
- version datadir
303bdf
- version info filename, but don't install-info it
303bdf
- update AC_OUTPUT_MAKE_DEFS to fix problem with c++exit patch (#62361)
303bdf
303bdf
* Wed Mar 27 2002 Jens Petersen <petersen@redhat.com> 2.13-17
303bdf
- add URL
303bdf
303bdf
* Wed Feb 27 2002 Jens Petersen <petersen@redhat.com> 2.13-16
303bdf
- add version suffix to bindir files and symlink them to their
303bdf
unversioned names
303bdf
303bdf
* Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com> 2.13-15
303bdf
- Add wait3test.patch to make sure that the child process actually does
303bdf
something that the kernel will take note of. Fixes the failing wait3 test
303bdf
that was worked around in time-1.7-15.
303bdf
303bdf
* Mon Aug  6 2001 Tim Powers <timp@redhat.com>
303bdf
- rebuilt to fix bug #50761
303bdf
303bdf
* Thu Jul 26 2001 Than Ngo <than@redhat.com>
303bdf
- add patch to fix exit status
303bdf
303bdf
* Tue Jul 10 2001 Jens Petersen <petersen@redhat.com>
303bdf
- add patch to include various standard C headers as needed
303bdf
  by various autoconf tests (#19114)
303bdf
- add patch to autoscan.pl to get a better choice of init
303bdf
  file (#42071), to test for CPP after CC (#42072) and to
303bdf
  detect C++ source and g++ (#42073).
303bdf
303bdf
* Tue Jun 26 2001 Jens Petersen <petersen@redhat.com>
303bdf
- Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION
303bdf
  from version 2.50 to make detection of C++ exit()
303bdf
  declaration prototype platform independent.  The check is
303bdf
  done in AC_PROG_CXX with the result stored in "confdefs.h".
303bdf
  The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed.
303bdf
  (fixes #18829)
303bdf
303bdf
* Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
303bdf
- Fix up interoperability with glibc 2.2 and gcc 2.96:
303bdf
  AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to
303bdf
  the test code without throwing an exception, causing a conflict
303bdf
  with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h
303bdf
  always failed, returning wrong results
303bdf
303bdf
* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
303bdf
- add textutils as a dependency (#14439)
303bdf
303bdf
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
303bdf
- automatic rebuild
303bdf
303bdf
* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
303bdf
- FHS packaging.
303bdf
303bdf
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
303bdf
- fix preun
303bdf
303bdf
* Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
303bdf
- add patch to help autoconf clean after itself and not leave /tmp clobbered
303bdf
  with acin.* and acout.* files (can you say annoying?)
303bdf
303bdf
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
303bdf
- auto rebuild in the new build environment (release 4)
303bdf
- use gawk, not mawk
303bdf
303bdf
* Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
303bdf
- moved /usr/lib/autoconf to /usr/share/autoconf (with automake)
303bdf
303bdf
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
303bdf
- Injected new description and group.
303bdf
303bdf
* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
303bdf
- update to 2.13.
303bdf
303bdf
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
303bdf
- build against glibc 2.1
303bdf
303bdf
* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
303bdf
- requires perl
303bdf
303bdf
* Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com>
303bdf
- patch for fixing /tmp race conditions
303bdf
303bdf
* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
303bdf
- spec file cleanups
303bdf
- made a noarch package
303bdf
- uses autoconf
303bdf
- uses install-info
303bdf
303bdf
* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
303bdf
- built with glibc