From e6ae940fa7de76d2e47300733cda3e0b1ed578d4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:42:03 +0100 Subject: [PATCH] update to 1.13.4 [release 1.13.4-1mamba;Fri Oct 18 2013] --- README.md | 4 + automake-1.11.2-use_mktemp.patch | 18 +++ automake1.13.spec | 205 +++++++++++++++++++++++++++++++ 3 files changed, 227 insertions(+) create mode 100644 automake-1.11.2-use_mktemp.patch create mode 100644 automake1.13.spec diff --git a/README.md b/README.md index 26c141c..d5a2774 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # automake1.13 +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. + diff --git a/automake-1.11.2-use_mktemp.patch b/automake-1.11.2-use_mktemp.patch new file mode 100644 index 0000000..32875df --- /dev/null +++ b/automake-1.11.2-use_mktemp.patch @@ -0,0 +1,18 @@ +diff -Nru automake-1.11.2.orig/lib/ylwrap automake-1.11.2/lib/ylwrap +--- automake-1.11.2.orig/lib/ylwrap 2011-12-13 18:02:57.000000000 +0100 ++++ automake-1.11.2/lib/ylwrap 2012-01-25 16:34:28.863942637 +0100 +@@ -98,13 +98,12 @@ + + # FIXME: add hostname here for parallel makes that run commands on + # other machines. But that might take us over the 14-char limit. +-dirname=ylwrap$$ ++dirname=`mktemp -d ylwrap.XXXXXX` + do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 +-mkdir $dirname || exit 1 + + cd $dirname + diff --git a/automake1.13.spec b/automake1.13.spec new file mode 100644 index 0000000..80d265d --- /dev/null +++ b/automake1.13.spec @@ -0,0 +1,205 @@ +%define majversion %(echo %version | cut -d. -f 1-2) + +Name: automake1.13 +Version: 1.13.4 +Release: 1mamba +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.xz +Patch: automake-1.11.2-use_mktemp.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: autoconf +BuildRequires: bash +BuildRequires: gawk +BuildRequires: perl, perl-devel +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 > find_provides.sh << _EOF +#! /bin/sh +%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} | \ +grep -v "perl(Automake::" +exit 0 +_EOF +chmod +x find_provides.sh + +%define __find_requires %{_builddir}/automake-%{version}/find_requires.sh +cat > 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 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 -rf %{buildroot}%{_infodir} +rm -rf %{buildroot}%{_mandir} +rm -rf %{buildroot}%{_datadir}/aclocal +rm -f %{buildroot}%{_datadir}/doc/automake/amhello-1.0.tar.gz + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/aclocal-%{majversion} +%{_bindir}/automake-%{majversion} +%dir %{_datadir}/aclocal-%{majversion} +%{_datadir}/aclocal-%{majversion}/* +%dir %{_datadir}/automake-%{majversion} +%{_datadir}/automake-%{majversion}/* +%doc AUTHORS COPYING + +%changelog +* Fri Oct 18 2013 Silvan Calarco 1.13.4-1mamba +- update to 1.13.4 + +* Sun Jan 27 2013 Silvan Calarco 1.12.6-2mamba +- renamed and rebuilt as legacy package + +* Sun Dec 16 2012 Automatic Build System 1.12.6-1mamba +- automatic version update by autodist + +* Sun Nov 18 2012 Automatic Build System 1.12.5-1mamba +- automatic version update by autodist + +* Tue Sep 18 2012 Automatic Build System 1.12.4-1mamba +- automatic version update by autodist + +* Tue Aug 14 2012 Automatic Build System 1.12.3-1mamba +- automatic version update by autodist + +* Tue Jul 10 2012 Automatic Build System 1.12.2-1mamba +- automatic version update by autodist + +* Fri Jun 01 2012 Automatic Build System 1.12.1-1mamba +- automatic version update by autodist + +* Wed May 23 2012 Automatic Build System 1.12-1mamba +- automatic version update by autodist + +* Sat Apr 14 2012 Automatic Build System 1.11.5-1mamba +- automatic version update by autodist + +* Mon Apr 02 2012 Automatic Build System 1.11.4-1mamba +- automatic version update by autodist + +* Sun Feb 12 2012 Automatic Build System 1.11.3-1mamba +- update to 1.11.3 + +* Wed Jan 25 2012 Automatic Build System 1.11.2-1mamba +- automatic version update by autodist + +* Wed Dec 09 2009 Automatic Build System 1.11.1-1mamba +- automatic update to 1.11.1 by autodist + +* Mon May 18 2009 Automatic Build System 1.11-1mamba +- automatic update to 1.11 by autodist + +* 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