summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/autotools/automake.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/autotools/automake.add')
-rw-r--r--contrib/crossrpms/autotools/automake.add91
1 files changed, 0 insertions, 91 deletions
diff --git a/contrib/crossrpms/autotools/automake.add b/contrib/crossrpms/autotools/automake.add
deleted file mode 100644
index 7e500feda5..0000000000
--- a/contrib/crossrpms/autotools/automake.add
+++ /dev/null
@@ -1,91 +0,0 @@
-%define rpmvers @AUTOMAKE_VERS@
-%define srcvers @AUTOMAKE_VERS@
-%define amvers 1.11
-
-%if "%{_prefix}" != "/usr"
-%define name @rpmprefix@automake
-%define requirements @rpmprefix@autoconf >= 2.61
-%else
-%define name automake
-%define requirements autoconf >= 2.61
-%endif
-
-Name: %{name}
-URL: http://sources.redhat.com/automake
-License: GPL
-Group: Development/Tools
-Version: %{rpmvers}
-Release: @AUTOMAKE_RPMREL@
-Summary: Tool for automatically generating GNU style Makefile.in's
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-BuildRequires: %{requirements} perl
-Requires: %{requirements}
-Requires(post): /sbin/install-info
-Requires(preun):/sbin/install-info
-
-@SOURCES@
-
-# remove bogus Automake perl dependencies and provides
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
-%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
-
-%description
-Automake is a tool for automatically generating "Makefile.in"s from
-files called "Makefile.am". "Makefile.am" is basically a series of
-"make" macro definitions (with rules being thrown in occasionally).
-The generated "Makefile.in"s are compatible to the GNU Makefile
-standards.
-
-%prep
-%setup -q -n automake-%{srcvers}
-%{?PATCH0:%patch0 -p1}
-
-%if !%{defined fedora}
-# Work around rpm inserting bogus perl-module deps
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
- sed -e '/^perl(Automake/d'
-EOF
-%global __perl_provides %{_builddir}/automake-%{srcvers}/%{name}-prov
-chmod +x %{__perl_provides}
-
-cat << \EOF > %{name}-requ
-#!/bin/sh
-%{__perl_requires} $* |\
- sed -e '/^perl(Automake/d'
-EOF
-%global __perl_requires %{_builddir}/automake-%{srcvers}/%{name}-requ
-chmod +x %{__perl_requires}
-%endif
-
-%build
-PATH=%{_bindir}:$PATH
-case %_host in
-*-mingw32)
-# MinGW ships obsolete perl-5.6.1, which doesn't support threads
- echo am_cv_prog_PERL_ithreads=no > config.cache
- ;;
-esac
-
-# Don't use %%configure, it replaces config.sub/config.guess with the
-# outdated versions bundled with rpm.
-./configure -C --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \
- --bindir=%{_bindir} --datadir=%{_datadir} \
- --docdir=%{_datadir}/automake-%{amvers}/doc
-make
-
-%install
-rm -rf "$RPM_BUILD_ROOT"
-make DESTDIR=${RPM_BUILD_ROOT} install
-
-%if "%{_prefix}" != "/usr"
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/aclocal
-echo "/usr/share/aclocal" > $RPM_BUILD_ROOT%{_datadir}/aclocal/dirlist
-%endif
-
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-touch $RPM_BUILD_ROOT%{_infodir}/dir
-