summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/autotools
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/autotools')
-rw-r--r--contrib/crossrpms/autotools/.cvsignore4
-rw-r--r--contrib/crossrpms/autotools/Makefile.am13
-rw-r--r--contrib/crossrpms/autotools/autoconf.add84
-rw-r--r--contrib/crossrpms/autotools/autoconf.am18
-rw-r--r--contrib/crossrpms/autotools/automake.add92
-rw-r--r--contrib/crossrpms/autotools/automake.am18
-rw-r--r--contrib/crossrpms/autotools/target-autoconf.add23
-rw-r--r--contrib/crossrpms/autotools/target-automake.add27
8 files changed, 0 insertions, 279 deletions
diff --git a/contrib/crossrpms/autotools/.cvsignore b/contrib/crossrpms/autotools/.cvsignore
deleted file mode 100644
index c3dcdce8bd..0000000000
--- a/contrib/crossrpms/autotools/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-Makefile
-Makefile.in
-*.spec
-*.spec.in
diff --git a/contrib/crossrpms/autotools/Makefile.am b/contrib/crossrpms/autotools/Makefile.am
deleted file mode 100644
index b4e5d5ed1e..0000000000
--- a/contrib/crossrpms/autotools/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-##
-## $Id$
-##
-
-include $(top_srcdir)/mkspec.am
-
-AUTOCONF_VERS = 2.60
-AUTOCONF_RPMREL = 4
-include ./autoconf.am
-
-AUTOMAKE_VERS = 1.10
-AUTOMAKE_RPMREL = 5
-include ./automake.am
diff --git a/contrib/crossrpms/autotools/autoconf.add b/contrib/crossrpms/autotools/autoconf.add
deleted file mode 100644
index 9ce28147e3..0000000000
--- a/contrib/crossrpms/autotools/autoconf.add
+++ /dev/null
@@ -1,84 +0,0 @@
-%define rpmvers 2.60
-%define srcvers 2.60
-
-%if "%{_prefix}" != "/usr"
-%define name @rpmprefix@autoconf
-%else
-%define name autoconf
-%endif
-
-
-Name: %{name}
-License: GPL
-URL: http://www.gnu.org/software/autoconf
-Group: Development/Tools
-Version: %{rpmvers}
-Release: @AUTOCONF_RPMREL@%{?dist}
-Summary: Tool for automatically generating GNU style Makefile.in's
-
-%if "%{_prefix}" != "/usr"
-Obsoletes: @rpmprefix@autoconf-rtems < %{version}-%{release}
-Provides: @rpmprefix@autoconf-rtems = %{version}-%{release}
-%endif
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-BuildRequires: perl m4 gawk emacs
-Requires: m4 gawk
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
-
-Source0: ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{srcvers}.tar.bz2
-
-%description
-GNU's Autoconf is a tool for configuring source code and Makefiles.
-Using Autoconf, programmers can create portable and configurable
-packages, since the person building the package is allowed to
-specify various configuration options.
-You should install Autoconf if you are developing software and you'd
-like to use it to create shell scripts which will configure your
-source code packages.
-Note that the Autoconf package is not required for the end user who
-may be configuring software with an Autoconf-generated script;
-Autoconf is only required for the generation of the scripts, not
-their use.
-
-%prep
-%setup -q -n autoconf-%{srcvers}
-
-# Work around rpm inserting bogus perl-module deps
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
- sed -e '/^perl(Autom4te/d'
-EOF
-%define __perl_provides %{_builddir}/autoconf-%{srcvers}/%{name}-prov
-chmod +x %{__perl_provides}
-
-cat << \EOF > %{name}-requ
-#!/bin/sh
-%{__perl_requires} $* |\
- sed -e '/^perl(Autom4te/d'
-EOF
-%define __perl_requires %{_builddir}/autoconf-%{srcvers}/%{name}-requ
-chmod +x %{__perl_requires}
-
-%build
-./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} \
- --bindir=%{_bindir} --datadir=%{_datadir}
-make
-
-%install
-rm -rf "${RPM_BUILD_ROOT}"
-make DESTDIR=${RPM_BUILD_ROOT} install
-
-# Create this directory to prevent the corresponding line
-# in %%files below to fail
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp
-
-# RTEMS's standards.info comes from binutils
-rm -f $RPM_BUILD_ROOT%{_infodir}/standards.info*
-
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-touch $RPM_BUILD_ROOT%{_infodir}/dir
-
diff --git a/contrib/crossrpms/autotools/autoconf.am b/contrib/crossrpms/autotools/autoconf.am
deleted file mode 100644
index cdd77f7f88..0000000000
--- a/contrib/crossrpms/autotools/autoconf.am
+++ /dev/null
@@ -1,18 +0,0 @@
-AUTOCONF_SUBPACKAGES = $(top_srcdir)/common/common.add
-AUTOCONF_SUBPACKAGES += $(top_srcdir)/autotools/autoconf.add
-AUTOCONF_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
-AUTOCONF_SUBPACKAGES += $(top_srcdir)/common/clean.add
-AUTOCONF_SUBPACKAGES += $(top_srcdir)/autotools/target-autoconf.add
-
-autoconf.spec.in: $(AUTOCONF_SUBPACKAGES) Makefile.in
- cat $(AUTOCONF_SUBPACKAGES) | sed \
- -e "s/[@]AUTOCONF_RPMREL[@]/$(AUTOCONF_RPMREL)/" > $@
-CLEANFILES += autoconf.spec.in
-
-
-@rpmprefix@autoconf.spec: autoconf.spec.in
- $(MKSPEC) autoconf.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@autoconf.spec
-noinst_DATA += @rpmprefix@autoconf.spec
-
-EXTRA_DIST += $(AUTOCONF_SUBPACKAGES)
diff --git a/contrib/crossrpms/autotools/automake.add b/contrib/crossrpms/autotools/automake.add
deleted file mode 100644
index ba8c72cb77..0000000000
--- a/contrib/crossrpms/autotools/automake.add
+++ /dev/null
@@ -1,92 +0,0 @@
-%define rpmvers 1.10
-%define srcvers 1.10
-%define amvers 1.10
-
-%if "%{_prefix}" != "/usr"
-%define name @rpmprefix@automake
-%define requirements @rpmprefix@autoconf >= 2.60
-%else
-%define name automake
-%define requirements autoconf >= 2.60
-%endif
-
-Name: %{name}
-URL: http://sources.redhat.com/automake
-License: GPL
-Group: Development/Tools
-Version: %{rpmvers}
-Release: @AUTOMAKE_RPMREL@%{?dist}
-Summary: Tool for automatically generating GNU style Makefile.in's
-
-%if "%{_prefix}" != "/usr"
-Obsoletes: @rpmprefix@automake-rtems < %{version}-%{release}
-Provides: @rpmprefix@automake-rtems = %{version}-%{release}
-%endif
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
-BuildRequires: %{requirements} perl help2man
-Requires: %{requirements}
-Requires(post): /sbin/install-info
-Requires(preun):/sbin/install-info
-
-Source0: ftp://ftp.gnu.org/gnu/automake/automake-%{srcvers}.tar.bz2
-
-%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}
-
-# Work around rpm inserting bogus perl-module deps
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
- sed -e '/^perl(Automake/d'
-EOF
-%define __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
-%define __perl_requires %{_builddir}/automake-%{srcvers}/%{name}-requ
-chmod +x %{__perl_requires}
-
-
-%build
-PATH=%{_bindir}:$PATH
-# Don't use %%configure, it replaces config.sub/config.guess with the
-# outdated versions bundled with rpm.
-./configure --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
-
-install -m 755 -d $RPM_BUILD_ROOT/%{_mandir}/man1
-for i in $RPM_BUILD_ROOT%{_bindir}/aclocal \
- $RPM_BUILD_ROOT%{_bindir}/automake ;
-do
- perllibdir=$RPM_BUILD_ROOT/%{_datadir}/automake-%{amvers} \
- help2man $i > `basename $i`.1
- install -m 644 `basename $i`.1 $RPM_BUILD_ROOT/%{_mandir}/man1
-done
-
-%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
-
diff --git a/contrib/crossrpms/autotools/automake.am b/contrib/crossrpms/autotools/automake.am
deleted file mode 100644
index bcf7dc4648..0000000000
--- a/contrib/crossrpms/autotools/automake.am
+++ /dev/null
@@ -1,18 +0,0 @@
-AUTOMAKE_SUBPACKAGES = $(top_srcdir)/common/common.add
-AUTOMAKE_SUBPACKAGES += $(top_srcdir)/autotools/automake.add
-AUTOMAKE_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
-AUTOMAKE_SUBPACKAGES += $(top_srcdir)/common/clean.add
-AUTOMAKE_SUBPACKAGES += $(top_srcdir)/autotools/target-automake.add
-
-automake.spec.in: $(AUTOMAKE_SUBPACKAGES) Makefile.in
- cat $(AUTOMAKE_SUBPACKAGES) | sed \
- -e "s/[@]AUTOMAKE_RPMREL[@]/$(AUTOMAKE_RPMREL)/" > $@
-CLEANFILES += automake.spec.in
-
-
-@rpmprefix@automake.spec: automake.spec.in
- $(MKSPEC) automake.spec.in | $(SPECSTRIP) > $@
-CLEANFILES += @rpmprefix@automake.spec
-noinst_DATA += @rpmprefix@automake.spec
-
-EXTRA_DIST += $(AUTOMAKE_SUBPACKAGES)
diff --git a/contrib/crossrpms/autotools/target-autoconf.add b/contrib/crossrpms/autotools/target-autoconf.add
deleted file mode 100644
index e8d850841b..0000000000
--- a/contrib/crossrpms/autotools/target-autoconf.add
+++ /dev/null
@@ -1,23 +0,0 @@
-%post
-/sbin/install-info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz ||:
-
-%preun
-if [ $1 -eq 0 ]; then
- /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz ||:
-fi
-
-%files
-%defattr(-,root,root)
-# %doc AUTHORS COPYING ChangeLog NEWS README THANKS
-%sysdir %{_bindir}
-%{_bindir}/*
-%sysdir %{_infodir}
-%ghost %{_infodir}/dir
-
-%{_infodir}/autoconf.info*
-%sysdir %{_mandir}
-%sysdir %{_mandir}/man1
-%{_mandir}/man1/*
-%sysdir %{_datadir}
-%{_datadir}/autoconf
-%exclude %{_datadir}/emacs/site-lisp
diff --git a/contrib/crossrpms/autotools/target-automake.add b/contrib/crossrpms/autotools/target-automake.add
deleted file mode 100644
index 4658da4c8f..0000000000
--- a/contrib/crossrpms/autotools/target-automake.add
+++ /dev/null
@@ -1,27 +0,0 @@
-%post
-/sbin/install-info --info-dir=%{_infodir} %{_infodir}/automake.info.gz ||:
-
-%preun
-if [ $1 -eq 0 ]; then
- /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz ||:
-fi
-
-%files
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README THANKS
-%sysdir %{_bindir}
-%{_bindir}/aclocal*
-%{_bindir}/automake*
-%sysdir %{_infodir}
-%ghost %{_infodir}/dir
-%{_infodir}/automake.info*.gz
-%sysdir %{_mandir}
-%sysdir %{_mandir}/man1
-%{_mandir}/man1/*
-%sysdir %{_datadir}
-%if "%{_prefix}" != "/usr"
-%{_datadir}/aclocal
-%endif
-%{_datadir}/aclocal-%{amvers}
-%{_datadir}/automake-%{amvers}
-