%define majversion %(echo %version | cut -d. -f 1-2) Name: automake1.10 Version: 1.10.2 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/software/automake/ Source: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.bz2 Patch: automake-1.10.1-use_mktemp.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: autoconf BuildRequires: bash BuildRequires: gawk BuildRequires: texinfo Requires(post):%{__install_info} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Automake is a tool for automatically generating Makefiles compliant with the GNU Coding Standards. You should install Automake if you are developing software and would like to use its capabilities of automatically generating GNU standard Makefiles. If you install Automake, you will also need to install GNU's Autoconf package. %prep %setup -q -n automake-%{version} %patch -p1 -b .use_mktemp %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 export WANT_AUTOCONF_2_5=1 %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm %{buildroot}%{_bindir}/{aclocal,automake} ln -s aclocal-%{majversion} %{buildroot}%{_bindir}/aclocal ln -s automake-%{majversion} %{buildroot}%{_bindir}/automake rm -f %{buildroot}%{_bindir}/aclocal rm -f %{buildroot}%{_bindir}/automake rm -f %{buildroot}%{_datadir}/doc/automake/amhello-1.0.tar.gz rm -rf %{buildroot}%{_infodir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}""%{buildroot}" %files %defattr(-,root,root) %{_bindir}/aclocal-1.10 %{_bindir}/automake-1.10 %{_datadir}/aclocal-%{majversion}/ %{_datadir}/automake-%{majversion}/ %doc AUTHORS COPYING #ChangeLog COPYING NEWS README THANKS TODO #%doc doc/amhello-1.0.tar.gz %changelog * Sat Aug 03 2013 Automatic Build System 1.10.2-3mamba - automatic rebuild by autodist * Sat Jun 13 2009 Silvan Calarco 1.10.2-2mamba - rebuilt as legacy package * Sun Nov 23 2008 Silvan Calarco 1.10.2-1mamba - automatic update to 1.10.2 by autodist * Tue Jan 22 2008 Aleph0 1.10.1-1mamba - update to 1.10.1 * Wed Jan 17 2007 Aleph0 1.10.1-1mamba - update to version 1.10 by autospec * Sun Oct 30 2005 Silvan Calarco 1.9.6-2qilnx - rebuilt as noarch package * Mon Jul 25 2005 Davide Madrisan 1.9.6-1qilnx - update to version 1.9.6 by autospec - added scripts to install/uninstall info files - secure creation of temporary directories in bash scripts * Mon Feb 14 2005 Davide Madrisan 1.9.5-1qilnx - update to version 1.9.5 by autospec * Mon Dec 20 2004 Davide Madrisan 1.9.4-1qilnx - update to version 1.9.4 by autospec * Tue Nov 02 2004 Davide Madrisan 1.9.3-1qilnx - update to version 1.9.3 by autospec * Mon Sep 20 2004 Davide Madrisan 1.9.2-1qilnx - update to version 1.9.2 (10th anniversary release!) by autospec * Wed Aug 25 2004 Davide Madrisan 1.9.1-1qilnx - update to version 1.9.1 by autospec * Mon Aug 02 2004 Davide Madrisan 1.9-1qilnx - update to version 1.9 * Mon May 17 2004 Davide Madrisan 1.8.5-1qilnx - new version rebuild * Mon Apr 26 2004 Davide Madrisan 1.8.4-1qilnx - new version rebuild * Mon Mar 08 2004 Davide Madrisan 1.8.3-1qilnx - updated to version 1.8.3 * Tue Jan 13 2004 Davide Madrisan 1.8.2-1qilnx - updated to version 1.8.2 (fixes: portability bug on Tru64, install rules for conditionally built python files) * Mon Jan 12 2004 Davide Madrisan 1.8.1-1qilnx - updated to version 1.8.1 * Thu Dec 11 2003 Davide Madrisan 1.8-1qilnx - updated to version 1.8 * Mon Nov 10 2003 Davide Madrisan 1.7.9-1qilnx - updated to version 1.7.9 * Wed Oct 08 2003 Davide Madrisan 1.7.8-1qilnx - updated to version 1.7.8; various RPM improvements * Mon Sep 22 2003 Davide Madrisan 1.7.7-1qilnx - updated to version 1.7.7 * Fri Jul 11 2003 Silvan Calarco 1.7.6-1qilnx - updated to version 1.7.6 * Tue May 13 2003 Silvan Calarco 1.7.4-1qilnx - updated to version 1.7.4 * Mon Apr 22 2003 Silvan Calarco 1.7.3-3qilnx - fixed position of info dir * Fri Apr 18 2003 Silvan Calarco 1.7.3-2qilnx - changed make install to correct an erroneous hardcoded link to $RPM_BUILD_ROOT