Name: autoconf25 Version: 2.52b Release: alt1.1 Summary: A GNU tool for automatically configuring source code License: GPL Group: Development/Other Url: http://sourceware.cygnus.com/autoconf/ BuildArch: noarch AutoReqProv: yes, perl Source: ftp://alpha.gnu.org/gnu/autoconf/autoconf-%version.tar.bz2 PreReq: %__install_info Requires: m4, mktemp Prefix: %prefix Provides: autoconf = 2.52b-alt1.1 %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 you'd like to use it to create shell scripts which will 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 autoconf-%version find -type f -print0 | xargs -r0 fgrep -l 'mawk gawk' | xargs -r perl -pi -e 's/mawk gawk/gawk mawk/g' %build %configure %make_build %install %makeinstall # We don't want to include the standards.info stuff in the package, # because it comes from binutils... rm -f $RPM_BUILD_ROOT%_infodir/standards* for f in $RPM_BUILD_ROOT%_bindir/*; do sed -e 's@/usr/share/autoconf@/usr/share/autoconf25@' <$f >${f}25 rm $f chmod a+x ${f}25 done cd $RPM_BUILD_ROOT%_bindir ln -s autom4te25 autom4te cd - for f in $RPM_BUILD_ROOT%_man1dir/*; do mv $f ${f%%.1}25.1 done sed -e's/(autoconf)/(autoconf25)/g' -e 's/* Autoconf:/* Autoconf-2.5:/g' \ -e's/* config.status:/* config.status-2.5:/g' \ -e's/* configure:/* configure-2.5:/g' \ -e's/* autoreconf:/* autoreconf-2.5:/g' \ -e's/* autoconf:/* autoconf-2.5:/g' \ -e's/* ifnames:/* ifnames-2.5:/g' \ -e's/* autoscan:/* autoscan-2.5:/g' \ < $RPM_BUILD_ROOT%_infodir/autoconf.info > $RPM_BUILD_ROOT%_infodir/autoconf25.info rm $RPM_BUILD_ROOT%_infodir/autoconf.info mv $RPM_BUILD_ROOT%_datadir/autoconf $RPM_BUILD_ROOT%_datadir/%name install -p -m755 config/*-sh $RPM_BUILD_ROOT%_datadir/%name rm -f $RPM_BUILD_ROOT%_datadir/%name/INSTALL %post /usr/sbin/update-alternatives --install %_bindir/autoconf autoconf %_bindir/autoconf25 10 \ --slave %_bindir/autoheader autoheader %_bindir/autoheader25 \ --slave %_bindir/autoreconf autoreconf %_bindir/autoreconf25 \ --slave %_bindir/autoscan autoscan %_bindir/autoscan25 \ --slave %_bindir/autoupdate autoupdate %_bindir/autoupdate25 \ --slave %_bindir/ifnames ifname %_bindir/ifnames25 \ --slave %_datadir/autoconf autoconfdata %_datadir/autoconf25 %install_info %name.info %triggerpostun -- %name < %version-%release /usr/sbin/update-alternatives --install %_bindir/autoconf autoconf %_bindir/autoconf25 10 \ --slave %_bindir/autoheader autoheader %_bindir/autoheader25 \ --slave %_bindir/autoreconf autoreconf %_bindir/autoreconf25 \ --slave %_bindir/autoscan autoscan %_bindir/autoscan25 \ --slave %_bindir/autoupdate autoupdate %_bindir/autoupdate25 \ --slave %_bindir/ifnames ifname %_bindir/ifnames25 \ --slave %_datadir/autoconf autoconfdata %_datadir/autoconf25 %preun [ $1 = 0 ] || exit 0 %uninstall_info %name.info /usr/sbin/update-alternatives --remove autoconf %_bindir/autoconf25 %files %_bindir/* %_datadir/%name %_man1dir/* %_infodir/*.info* %changelog * Sat Dec 08 2001 Alexey Voinov 2.52b-alt1.1 - update-alternatives support added * Mon Aug 20 2001 Dmitry V. Levin 2.52b-alt1 - 2.52b * Fri Aug 17 2001 Dmitry V. Levin 2.52-alt1 - 2.52 - Added manpages from debian. * Sun Dec 24 2000 Dmitry V. Levin 2.13-ipl5mdk - Fixed exit function prototype for gcc >= 2.96. * Wed Jul 19 2000 Dmitry V. Levin 2.13-ipl4mdk - RE adaptions. * Tue Jul 18 2000 Guillaume Cottenceau 2.13-4mdk - macros for install-info * Mon Jul 10 2000 Guillaume Cottenceau 2.13-3mdk - cleanup and macros * Fri Mar 31 2000 Guillaume Cottenceau 2.13-2mdk - new groups * Mon Mar 6 2000 Chmouel Boudjnah 2.13-1mdk - Back to last 2.13 and stable version, add a serial. * Wed Oct 27 1999 Chmouel Boudjnah - Merge change of Jeff package. * Thu May 13 1999 Bernhard Rosenkraenzer - Mandrake adaptions - 2.14.1 * 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