All pastes #22970 Raw Edit

Mine

public python v1 · immutable
#22970 ·published 2005-09-15 12:01 UTC
rendered paste body
Name: 		autoconfVersion: 	2.59Epoch:		1Release: 	1License: 	GPLBuildRoot:	/var/tmp/%{name}-%{version}-rootDocdir:         /usr/share/docURL: 		http://www.gnu.org/software/autoconf/Source: 	autoconf-2.59.tar.bz2Summary: 	A GNU tool for automatically configuring source code.Group: 		Development/ToolsPrereq: 	/sbin/install-infoBuildRequires:	sed, m4Prereq(post,preun):	/sbin/install-infoRequires:	gawk, m4, mktemp, perl, textutilsBuildArch: 	noarch%descriptionGNU's Autoconf is a tool for configuring source code and Makefiles.Using Autoconf, programmers can create portable and configurablepackages, since the person building the package is allowed to specify various configuration options.You should install Autoconf if you are developing software andwould like to create shell scripts that configure your source codepackages. If you are installing Autoconf, you will also need toinstall the GNU m4 package.Note that the Autoconf package is not required for the end-user whomay be configuring software with an Autoconf-generated script;Autoconf is only required for the generation of the scripts, nottheir use.%files%defattr(-,root,root)%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO%{_bindir}/*%{_infodir}/autoconf.info*%exclude %{_infodir}/standards*/usr/share/autoconf%{_mandir}/man1/*%post/sbin/install-info /usr/share/info/autoconf.info.gz /usr/share/info/dir# don't include standards.info, because it comes from binutils...%preunif [ "$1" = 0 ]; then    /sbin/install-info --del /usr/share/info/autoconf.info.gz /usr/share/info/dirfi%prepcase "${RPM_COMMAND:-all}" indist)%setup  -q -D -n autoconf-2.59    ;;all)%setup  -q -n autoconf-2.59    ;;esaccase "${RPM_COMMAND:-all}" indist|all)    ;;esac%buildMAKE=${MAKE:-make}RPM_COMMAND=${RPM_COMMAND:-all}DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}ARCH=%{_target_platform}CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"export MAKE RPM_COMMAND DESTDIR ARCH CFLAGS CXXFLAGScase "$RPM_COMMAND" inprepare|all)    ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var    ;;esaccase "$RPM_COMMAND" inbuild|all)    ${MAKE}    # run "make check" by default    ${MAKE} check    ;;esac%installMAKE=${MAKE:-make}DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}case "${RPM_COMMAND:-all}" ininstall|all)    %{makeinstall}    rm -f ${DESTDIR}/usr/share/info/dir    ;;esac%cleanDESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}export DESTDIRcase "${RPM_COMMAND:-all}" inclean|all)    if [ "/" != "$DESTDIR" ]; then	rm -rf "$DESTDIR"    fi    ;;esac%changelog