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