%define ac_basever 26 %define real_name autoconf %define name autoconf26 Summary: A GNU tool for automatically configuring source code Name: autoconf26 Version: 2.63 Release: 5 License: GPLv2+ and GFDL Group: Development/Tools Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz Source1: filter-provides-automake.sh Source2: filter-requires-automake.sh URL: http://www.gnu.org/software/autoconf/ BuildRequires: m4 >= 1.4.5, emacs Requires: m4 >= 1.4.5 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Obsoletes: autoconf26x # filter out bogus perl(Autom4te*) dependencies %define _use_internal_dependency_generator 0 %define __find_provides %{SOURCE1} %define __find_requires %{SOURCE2} %description GNU's Autoconf is a tool for configuring source code and Makefiles. Using Autoconf, programmers can create portable and configurable packages, since the person building the package is allowed to specify various configuration options. You should install Autoconf if you are developing software and would like to create shell scripts that configure your source code packages. If you are installing Autoconf, you will also need to install the GNU m4 package. Note that the Autoconf package is not required for the end-user who may be configuring software with an Autoconf-generated script; Autoconf is only required for the generation of the scripts, not their use. %prep %setup -q -n %{real_name}-%{version} %build # use ./configure here to avoid copying config.{sub,guess} with those from the # rpm package ./configure --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --bindir=%{_bindir} \ --datadir=%{_datadir} \ --with-lispdir=%{_datadir}/%{real_name}%{ac_basever}/emacs \ --datarootdir=%{_datadir}/%{real_name}%{ac_basever} \ --datadir=%{_datadir}/%{real_name}%{ac_basever} \ --program-suffix=%{ac_basever} make # %{?_smp_mflags} The Makefile is not smp safe. %check make check VERBOSE=yes %install rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=$RPM_BUILD_ROOT # cleanup mv %{buildroot}%{_infodir}/autoconf.info %{buildroot}%{_infodir}/autoconf26x.info rm -f $RPM_BUILD_ROOT%{_infodir}/dir %clean rm -rf ${RPM_BUILD_ROOT} %post /sbin/install-info %{_infodir}/autoconf26.info %{_infodir}/dir || : %preun if [ "$1" = 0 ]; then /sbin/install-info --del %{_infodir}/autoconf26.info %{_infodir}/dir || : fi %files %defattr(-,root,root,-) %{_bindir}/* %{_infodir}/autoconf26x.info* # don't include standards.info, because it comes from binutils... %exclude %{_infodir}/standards* %{_datadir}/autoconf%{ac_basever} %{_mandir}/man1/* %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO %changelog * Mon May 21 2012 Scott R. Shinn - 2.63-5 - Merge into Atomic - Add Obsoletes against autoconf26x * Wed Feb 02 2011 BJ Dierkes - 2.63-4.ius - No longer Provide: autoconf * Wed Sep 09 2009 BJ Dierkes - 2.63-3.ius - Rebuilding for IUS, renaming package autoconf26x * Mon Feb 23 2009 Fedora Release Engineering - 2.63-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 17 2008 Stepan Kasal 2.63-1 - upstream bugfix release - all patches dropped, the issues are fixed upstream * Mon Jul 07 2008 Karsten Hopp 2.62-5 - fix multiline variables (p.e. #449467) * Fri Jul 4 2008 Stepan Kasal 2.62-4 - add a quick fix for #449944 - remove Requires: mktemp, imake, grep; these are required by the generated configure, but not by Autoconf. - switch on make check * Tue Jun 24 2008 Karsten Hopp 2.62-3 - add fix for same line comments #449245 (Ralf Wildenhues) * Fri Jun 06 2008 Karsten Hopp 2.62-2 - add upstream fix from Eric Blake for #449973, m4_if releated error message from autotest * Tue May 13 2008 Karsten Hopp 2.62-1 - autoconf-2.62 * Mon Oct 29 2007 Stepan Kasal 2.61-10 - require m4 >= 1.4.7 - Resolves: #236073 * Wed Aug 08 2007 Karsten Hopp 2.61-9 - update license tag * Tue Feb 27 2007 Karsten Hopp 2.61-8 - own %%{_datadir}/emacs/ (#225296) * Mon Feb 26 2007 Karsten Hopp 2.61-7 - add Requires: grep * Thu Feb 22 2007 Karsten Hopp 2.61-6 - drop gawk, sed requirements (#225296) - add some comments * Mon Feb 19 2007 Karsten Hopp 2.61-5 - use ./configure - filter dependencies * Thu Feb 15 2007 Karsten Hopp 2.61-4 - add disttag - replace tabs with spaces - fix buildroot - use Requires(post), Requires(preun) - use make install DESTDIR=.... - drop perl requirement as it gets pulled it automatically * Thu Jan 18 2007 Karsten Hopp 2.61-3 - don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä) * Tue Nov 21 2006 Karsten Hopp 2.61-2 - drop obsolete linkX11 patch * Tue Nov 21 2006 Karsten Hopp 2.61-1 - autoconf-2.61 * Thu Nov 09 2006 Karsten Hopp 2.60-4 - autoconf-2.60 * Fri Oct 13 2006 Stepan Kasal 2.59-12 - Add autoconf-2.59-lock.patch to eliminate a perl warning (#210653). * Thu Jul 27 2006 Karsten Hopp 2.59-11 - Requires imake for _AC_PATH_X * Thu Jul 20 2006 Karsten Hopp 2.59-10 - rebuild * Wed Jul 19 2006 Karsten Hopp 2.59-9 - rebuild * Tue May 16 2006 Karsten Hopp 2.59-8 - try to link with libX11 instead of libXt * Wed Feb 15 2006 Karsten Hopp 2.59-7 - XrmInitialize takes no argument (#181340) * Mon Feb 06 2006 Karsten Hopp 2.59-6 - check for Xlib.h instead of Intrinsic.h to find X11 headers (#176379) * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Sep 21 2004 Daniel Reed - 2.59-5 - rebuilt for dist-fc3 * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Dec 18 2003 Jens Petersen - 2.59-2 - rebuild with perl-5.8.2 [Harald Hoyer] * Thu Nov 13 2003 Jens Petersen - 2.59-1 - update to 2.59 bugfix release - remove autoconf-2.58-fix-ac_abs-109267.patch no longer needed * Fri Nov 7 2003 Jens Petersen - 2.58-2 - fix problem with ac_abs_{build,src}dir (#109267) [reported by Joe Orton, patch by Alexandre Duret-Lutz] * Wed Nov 5 2003 Jens Petersen - 2.58-1 - 2.58 release * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Dec 12 2002 Elliot Lee 2.57-2 - Fix missing/unpackaged file * Thu Dec 5 2002 Jens Petersen 2.57-1 - update to 2.57 bugfix release - buildrequire emacs (#79031), sed and m4 * Sat Nov 23 2002 Jens Petersen 2.56-2 - add --without check build option to control whether "make check" run - don't gzip info files explicitly - use exclude for unwanted info files * Thu Nov 21 2002 Jens Petersen - no longer obsolete autoconf253 * Mon Nov 18 2002 Jens Petersen 2.56-1 - update to 2.56 - obsolete autoheader-warn patch - no longer provide autoconf253 - include site-lisp and man files - remove info dir which is not in the manifest - do not version suffix bin files for now * Mon Aug 19 2002 Jens Petersen 2.53-8 - make check * Fri Jun 28 2002 Jens Petersen 2.53-7 - update url (#66840) - added doc files * Fri Jun 21 2002 Tim Powers 2.53-6 - automated rebuild * Sun May 26 2002 Tim Powers 2.53-5 - automated rebuild * Mon May 20 2002 Bill Nottingham 2.53-4 - provide autoconf253 * Thu May 16 2002 Bill Nottingham 2.53-3 - obsolete autoconf253 * Wed May 8 2002 Jens Petersen 2.53-2 - patch autoheader so that --warnings=CATEGORY works (#64566) [reported with fix by hjl@gnu.org] * Tue Apr 23 2002 Jens Petersen 2.53-1 - update to autoconf-2.53 - drop mawk patch again - version suffix bindir files and add symlinks to unversioned names * Fri Feb 1 2002 Jens Petersen 2.52-7 - revert to 2.52 (also fixes #58210!) - remove relversion variable - bring back mawk -> gawk patch * Wed Jan 09 2002 Tim Powers 2.52-6 - automated rebuild * Thu Dec 20 2001 Jens Petersen 2.52-5 - update to 2.52f - add URL - minor description improvements - define relversion to carry version number - mawk.patch no longer needed * Sat Nov 17 2001 Florian La Roche 2.52-4 - rebuild * Wed Sep 19 2001 Jens Petersen 2.52-3 - restore patch to prefer gawk to mawk * Tue Sep 18 2001 Florian La Roche 2.52-2 - update to 2.52d * Mon Sep 17 2001 Jens Petersen 2.52-1 - update to 2.52 - remove obsolete patches, since already new version - dont install install-sh * Tue Jul 10 2001 Jens Petersen - add patch to include various standard C headers as needed by various autoconf tests (#19114) - add patch to autoscan.pl to get a better choice of init file (#42071), to test for CPP after CC (#42072) and to detect C++ source and g++ (#42073). * Tue Jun 26 2001 Jens Petersen - Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION from version 2.50 to make detection of C++ exit() declaration prototype platform independent. The check is done in AC_PROG_CXX with the result stored in "confdefs.h". The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed. (fixes #18829) * Wed Nov 29 2000 Bernhard Rosenkraenzer - Fix up interoperability with glibc 2.2 and gcc 2.96: AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to the test code without throwing an exception, causing a conflict with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h always failed, returning wrong results * Fri Jul 21 2000 Nalin Dahyabhai - add textutils as a dependency (#14439) * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 5 2000 Jeff Johnson - FHS packaging. * Sun Mar 26 2000 Florian La Roche - fix preun * Fri Mar 26 1999 Cristian Gafton - add patch to help autoconf clean after itself and not leave /tmp clobbered with acin.* and acout.* files (can you say annoying?) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) - use gawk, not mawk * Thu Mar 18 1999 Preston Brown - moved /usr/lib/autoconf to /usr/share/autoconf (with automake) * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Tue Jan 12 1999 Jeff Johnson - update to 2.13. * Fri Dec 18 1998 Cristian Gafton - build against glibc 2.1 * Mon Oct 05 1998 Cristian Gafton - requires perl * Thu Aug 27 1998 Cristian Gafton - patch for fixing /tmp race conditions * Sun Oct 19 1997 Erik Troan - spec file cleanups - made a noarch package - uses autoconf - uses install-info * Thu Jul 17 1997 Erik Troan - built with glibc