--- /dev/null
+Summary: GNU libtool - shared library support for source packages
+Name: libtool
+Version: 1.0
+Release: 1
+Copyright: GPL
+Group: Development/Build
+Source: ftp://prep.ai.mit.edu/pub/gnu/libtool-1.0.tar.gz
+BuildRoot: /tmp/libtool.root
+
+%description
+This is GNU libtool, a generic library support script. Libtool hides
+the complexity of using shared libraries behind a consistent
+interface.
+
+To use libtool, add the new generic library building commands to your
+Makefile, Makefile.in, or Makefile.am. See the documentation for
+details.
+
+%prep
+%setup
+
+%build
+./configure --prefix=/usr
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install prefix=$RPM_BUILD_ROOT/usr
+gzip -9nf $RPM_BUILD_ROOT/usr/info/libtool.info*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%attr(0644, root, root) %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+
+%attr(0755, root, root) /usr/bin/libtool
+%attr(0755, root, root) /usr/bin/libtoolize
+%attr(0644, root, root) /usr/info/libtool.info*
+%attr(0755, root, root) /usr/share/libtool/config.guess
+%attr(0755, root, root) /usr/share/libtool/config.sub
+%attr(0755, root, root) /usr/share/libtool/ltconfig
+%attr(0644, root, root) /usr/share/libtool/ltmain.sh
+%attr(0644, root, root) /usr/share/aclocal/libtool.m4
--- /dev/null
+#! /bin/sh
+# nomode.test - check that we can actually get help
+
+# Test script header.
+need_prefix=no
+if test -z "$srcdir"; then
+ srcdir=`echo "$0" | sed 's%/[^/]*$%%'`
+ test "$srcdir" = "$0" && srcdir=.
+ test "${VERBOSE+set}" != "set" && VERBOSE=yes
+fi
+. $srcdir/defs || exit 1
+
+status=0
+if $libtool --help 2>&1 | grep '^Usage:' >/dev/null; then :
+else
+ echo "cannot get top-level help"
+ status=1
+fi
+
+if $libtool 2>&1 | grep 'you must specify a MODE' >/dev/null; then :
+else
+ echo "invalid error when no mode is specified"
+ status=1
+fi
+
+exit $status