Initial revision

This commit is contained in:
Gordon Matzigkeit 1997-07-12 01:37:13 +00:00 committed by Gordon Matzigkeit
parent df08f180b1
commit 9f8c5dd5f7
2 changed files with 70 additions and 0 deletions

44
libtool.spec Normal file
View File

@ -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

26
tests/nomode.test Executable file
View File

@ -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