%define version 1.4.1 Summary: A front end for testing other programs. Name: dejagnu Version: %{version} Release: 1 Copyright: GPL Source: ftp://ftp.gnu.org/gnu/dejagnu/snapshots/dejagnu-%{version}.tar.gz #Patch0: dejagnu-1.4.1-rth.patch #Patch1: dejagnu-1.4.1-glibc21.patch Group: Development/Tools # Since we're building this on a debian system, we can't require these. Requires: tcl >= 8.0, expect >= 5.21 BuildRoot: /tmp/%{name}-root %description DejaGnu is an Expect/Tcl based framework for testing other programs. DejaGnu has several purposes: to make it easy to write tests for any program; to allow you to write tests which will be portable to any host or target where a program must be tested; and to standardize the output format of all tests (making it easier to integrate the testing into software development). %prep %setup -q -n dejagnu-%{version} %build ./configure -v make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr mkdir -p $RPM_BUILD_ROOT/usr/include mkdir -p $RPM_BUILD_ROOT/usr/share/dejagnu mkdir -p $RPM_BUILD_ROOT/usr/doc/dejagnu-%{version} make prefix=$RPM_BUILD_ROOT/usr install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/runtest /usr/include/dejagnu.h /usr/share/dejagnu/* # %config site.exp %doc COPYING NEWS README AUTHORS INSTALL ChangeLog doc/overview %changelog * Wed Apr 11 2001 Rob Savoye - Added installing dejagnu.h. * Wed Feb 21 2001 Rob Savoye - Fixed Requires line, and changed the URL to the new ftp site. * Sun Oct 31 1999 Rob Savoye - updated to the latest snapshot - added doc files - added the site.exp config file * Mon Jul 12 1999 Tim Powers - updated to 19990628 - updated patches as needed - added %defattr in files section * Wed Mar 10 1999 Jeff Johnson - add alpha expect patch (#989) - use %configure * Thu Dec 17 1998 Jeff Johnson - Update to 19981215. * Thu Nov 12 1998 Jeff Johnson - Update to 1998-10-29. * Wed Jul 8 1998 Jeff Johnson - Update to 1998-05-28. * Sun Feb 1 1998 Jeff Johnson - Create.