Summary: A front end for testing other programs. Summary(ja): 各種プログラムをテストするためのフロントエンド Name: dejagnu Version: 1.5.1 Release: 1%{?_dist_release} Epoch: 1 Group: Development/Tools License: GPLv2 Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz Patch1: dejagnu-1.5-smp-1.patch Patch2: dejagnu-1.5-runtest.patch Patch3: dejagnu-1.5-usrmove.patch Patch4: dejagnu-1.5-gfortran.patch Patch5: dejagnu-1.5-aarch64.patch Requires: tcl >= 8.0, expect >= 5.21 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: expect screen texinfo Vendor: Project Vine Distribution: Vine Linux Packager: shaolin %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} find . -name \*.rej -exec rm {} \; %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -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 have better idea, we accept patches. TMP=`mktemp` screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP RESULT=`tail -n 1 $TMP` cat $TMP rm -f $TMP echo ============END TESTING=========== exit $RESULT %install rm -rf %{buildroot} %makeinstall rm -f %{buildroot}%{_infodir}/dir chmod a-x %{buildroot}/%{_datadir}/dejagnu/runtest.exp make DESTDIR=%{buildroot} install-man install -D -m 644 doc/dejagnu.info %{buildroot}/%{_infodir}/%{name}.info %clean rm -rf %{buildroot} %post /sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir ||: %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||: fi %files %defattr(-,root,root) %doc COPYING NEWS README AUTHORS INSTALL ChangeLog doc/dejagnu.texi %{_bindir}/runtest %{_datadir}/dejagnu %{_includedir}/dejagnu.h %{_mandir}/*/* %{_infodir}/* %changelog * Mon Jan 13 2014 MATSUBAYASHI Kohji - 1:1.5.1-1 - updated to 1.5.1; import patches from Fedora; spec cleanup * Sun May 22 2011 Ryoichi INAGAKI - 1.4.4-2 - rebuilt with current VineSeed - added BR: texinfo * Fri Sep 26 2008 MATSUBAYASHI Kohji - 1.4.4-1 - new versioning policy; spec in UTF-8 - add Source2, Patch3 and Patch4 from Fedora 1.4.4-13 * Tue Mar 06 2007 MATSUBAYASHI Kohji 1.4.4-0vl3 - rebuilt with gcc-4.1.x - imported Patch1 from FC 1.4.4-5 * Sat May 20 2006 NAKAMURA Kenta 1.4.4-0vl2 - use License instead of Copyright * Tue Mar 08 2005 MATSUBAYASHI Kohji 1.4.4-0vl1 - updated to 1.4.4 * Sun May 09 2004 Satoshi MACHINO 1.4.2-6vl2 - moved %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu - included overview docs - added BuildRequires * Sun Nov 10 2002 MATSUBAYASHI Kohji 1.4.2-6vl1 - based on 1.4.2-6 from Rawhide and built for Vine Linux * 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.