Summary: A front end for testing other programs Name: dejagnu Version: 1.4.4 Release: 10 Epoch: 1 License: GPLv2+ Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz Group: Development/Tools URL: http://www.gnu.org/software/dejagnu/ Requires: expect BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: expect screen Patch1: dejagnu-1.4.4-smp-1.patch Patch2: dejagnu-1.4.4-no-info.patch Patch3: dejagnu-1.4.4-testsuite.patch %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 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %configure -v %check echo ============TESTING=============== # Dejagnu test suite also has to test reporting to user. It needs a # terminal for that. That doesn't compute in mock. Work around it by # running the test under screen and communicating back to test runner # via temporary file. If you come with better method, please do tell. TMP=`mktemp` || exit 1 screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP RESULT=`tail -n 1 $TMP` cat $TMP echo ============END TESTING=========== exit $RESULT %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp make -C doc DESTDIR=$RPM_BUILD_ROOT install-man %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING NEWS README AUTHORS ChangeLog doc/overview.pdf %{_bindir}/runtest %{_datadir}/dejagnu %{_includedir}/dejagnu.h %{_mandir}/*/* %changelog * Thu Oct 4 2007 Petr Machata - 1:1.4.4-10 - A few more cleanups after discussion with reviewer. - Resolves: #225679 * Wed Oct 3 2007 Petr Machata - 1:1.4.4-9 - Clean up spec per merge review comments. - Fix testsuite. - Resolves: #225679 * Thu Aug 16 2007 Petr Machata - 1:1.4.4-8 - Fix licesing tag. * Wed Mar 7 2007 Petr Machata - 1:1.4.4-7 - Remove mention of dejagnu.info from manpage, per comments in doc/Makefile. - Resolves: #230652 * Wed Feb 7 2007 Petr Machata - 1:1.4.4-6 - Tidy up the specfile per rpmlint comments * Wed Jul 12 2006 Jesse Keating - 1:1.4.4-5.1 - rebuild * Wed Feb 2 2006 Petr Machata 1:1.4.4-5 - Applying H.J. Lu's race condition patch. (#166000) * Fri Dec 09 2005 Jesse Keating - rebuilt * Sat Mar 5 2005 Jakub Jelinek 1:1.4.4-4 - rebuilt with GCC 4 * Mon Nov 8 2004 Jakub Jelinek 1:1.4.4-3 - add URL (#138280) * Mon Sep 27 2004 Warren Togami 1:1.4.4-2 - remove INSTALL & redundant copies of overview * Tue Aug 3 2004 Jakub Jelinek 1:1.4.4-1 - update to 1.4.4 - run make check during rpm build * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Mon Dec 30 2002 Karsten Hopp 1:1.4.2-9 - more missing BuildRequires * Tue Dec 17 2002 Karsten Hopp 1:1.4.2-8 - Add jadetex Buildrequires * Wed Nov 27 2002 Tim Powers 1:1.4.2-7 - include dejagnu.h - move %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu - include overview docs (bug #59095) * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Mon Apr 29 2002 Jakub Jelinek 1.4.2-4 - fix makefile style variable passing (#63984) * Thu Feb 28 2002 Jakub Jelinek 1.4.2-3 - rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Nov 28 2001 Jakub Jelinek 1.4.2-1 - update to 1.4.2, mainly so that it can be built with gcc3+ * Fri Sep 7 2001 Jakub Jelinek 1.4.1-3 - make it noarch again * Wed Aug 29 2001 Jakub Jelinek - fix a typo (#52404) * Thu Jun 28 2001 Tim Powers - rebuilt for the distro * Tue Feb 27 2001 Tim Powers - minor modifications to the spec file. Built for Powertools. - added Epoch * 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.