summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:23:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:23:51 +0000
commitbe499b0d76e077c88b7cf5c9fb16818f576641cb (patch)
treecb7c3b90b6f93e2e5ad35527077ba6b12f05417c
parentc31deebf76eaace234811de5a161a027b2cc489d (diff)
downloadrtems-be499b0d76e077c88b7cf5c9fb16818f576641cb.tar.bz2
2002-03-06 Ralf Corsepius <corsepiu@faw-uni-ulm.de>
* PR151 * autotools/automake-rtems.spec.in: New. * autotools/automake-rtems.spec: Removed. * configure.ac: Reflect changes above.
-rw-r--r--scripts/autotools/automake-rtems.spec.in (renamed from scripts/autotools/automake-rtems.spec)32
1 files changed, 18 insertions, 14 deletions
diff --git a/scripts/autotools/automake-rtems.spec b/scripts/autotools/automake-rtems.spec.in
index b8e57a0e27..a2b2ac9363 100644
--- a/scripts/autotools/automake-rtems.spec
+++ b/scripts/autotools/automake-rtems.spec.in
@@ -2,21 +2,22 @@
# spec file for automake
#
-%define rpmvers 1.5
-%define srcvers 1.5
+%define rpmvers 1.6
+%define srcvers 1.6
+%define amvers 1.6
-%define _defaultbuildroot /var/tmp/%{name}-%{srcvers}-root
-%define _prefix /opt/rtems
+%define _defaultbuildroot %{_tmppath}/%{name}-%{srcvers}-root
+%define _prefix @prefix@
%define _name automake
%if "%{_prefix}" != "/usr"
%define name %{_name}-rtems
-%define requirements autoconf-rtems
+%define requirements autoconf-rtems >= 2.52
%define _infodir %{_prefix}/info
%define _mandir %{_prefix}/man
%else
%define name %{_name}
-%define requirements autoconf
+%define requirements autoconf >= 2.52
%endif
Vendor: http://www.rtems.com
@@ -32,11 +33,11 @@ Release: 0
Summary: Tool for automatically generating GNU style Makefile.in's
BuildArch: noarch
BuildRoot: %{_defaultbuildroot}
-BuildPreReq: autoconf perl help2man
+BuildPreReq: %{requirements} perl help2man
Requires: %{requirements}
PreReq: /sbin/install-info
-Source: automake-%{srcvers}.tar.bz2
+Source: ftp://ftp.gnu.org/gnu/automake/automake-%{srcvers}.tar.gz
%description
Automake is a tool for automatically generating "Makefile.in"s from
@@ -56,8 +57,10 @@ make
%makeinstall
install -m 755 -d $RPM_BUILD_ROOT/%{_mandir}/man1
-for i in $RPM_BUILD_ROOT%{_bindir}/*; do
- perllibdir=$RPM_BUILD_ROOT/%{_datadir}/automake \
+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
@@ -79,9 +82,10 @@ fi
%files
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
-%{_bindir}/aclocal
-%{_bindir}/automake
+%{_bindir}/aclocal*
+%{_bindir}/automake*
%doc %{_infodir}/automake.info*.gz
%doc %{_mandir}/man?/*
-%{_datadir}/aclocal
-%{_datadir}/automake
+%{_datadir}/aclocal-%{amvers}
+%{_datadir}/automake-%{amvers}
+