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