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