%define majversion %(echo %version | cut -d. -f 1-2) Name: automake1.6 Version: 1.6.3 Release: 3mamba Summary: A GNU tool for automatically creating Makefiles Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/directory/GNU/automake.html Source: ftp://ftp.gnu.org/pub/gnu/automake/automake-%{version}.tar.bz2 License: GPL BuildRequires: m4, perl, tar Requires: m4, tar ## AUTOBUILDREQ-BEGIN BuildRequires: m4 BuildRequires: perl-devel BuildRequires: tar ## AUTOBUILDREQ-END BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description 'Automake' automatically generates make files compliant with the GNU coding standards. It was inspired by the 4.4 BSD make and include files, but aims to be portable and to confrom to the GNU standards for Make file variables and targets. Automake is a Perl script. The input files are called Makefile.am; the output files are called Makefile.in. They are intended for use with autoconf. Automake requires certain things to be done in your configure.in. This package also includes the "aclocal' program, which generates an 'aclocal.m4' based on the contents of 'configure.in.' It is useful as an extensible, maintainable mechanism for augmenting autoconf. %prep %setup -q -n automake-%{version} %define _use_internal_dependency_generator 0 %define __find_provides %{_builddir}/automake-%{version}/find_provides.sh cat > %{_builddir}/automake-%{version}/find_provides.sh <<_EOF #! /bin/sh %{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} | \ grep -v "perl(Automake::" exit 0 _EOF chmod +x %{_builddir}/automake-%{version}/find_provides.sh %define __find_requires %{_builddir}/automake-%{version}/find_requires.sh cat > %{_builddir}/automake-%{version}/find_requires.sh <<_EOF #! /bin/sh %{_libdir}/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | \ grep -v "perl(Automake::" exit 0 _EOF chmod +x %{_builddir}/automake-%{version}/find_requires.sh %build %configure %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_bindir}/aclocal rm -f %{buildroot}%{_bindir}/automake rm -f %{buildroot}%{_infodir}/automake.* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/* %dir %{_datadir}/automake-%{majversion} %{_datadir}/automake-%{majversion}/* %dir %{_datadir}/aclocal-%{majversion} %{_datadir}/aclocal-%{majversion}/* %changelog * Sat Jun 13 2009 Silvan Calarco 1.6.3-3mamba - specfile updated and rebuilt * Mon Oct 10 2005 Davide Madrisan 1.6.3-2qilnx - specfile fixes: use rpm macros, buildarch is now noarch * Wed Jun 18 2003 Silvan Calarco 1.6.3-1qilnx - first build of comatibility version 1.6