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