]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Initial revision
authorGordon Matzigkeit <gord@gnu.ai.mit.edu>
Sat, 12 Jul 1997 01:37:13 +0000 (01:37 +0000)
committerGordon Matzigkeit <gord@gnu.org>
Sat, 12 Jul 1997 01:37:13 +0000 (01:37 +0000)
libtool.spec [new file with mode: 0644]
tests/nomode.test [new file with mode: 0755]

diff --git a/libtool.spec b/libtool.spec
new file mode 100644 (file)
index 0000000..4ca7628
--- /dev/null
@@ -0,0 +1,44 @@
+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
diff --git a/tests/nomode.test b/tests/nomode.test
new file mode 100755 (executable)
index 0000000..ddc026d
--- /dev/null
@@ -0,0 +1,26 @@
+#! /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