Summary: A front end for testing other programs. Summary(ja): 各種プログラムをテストするためのフロントエンド Name: dejagnu Epoch: 1 Version: 1.6.3 Release: 1%{?_dist_release} Group: programming Vendor: Project Vine Distribution: Vine Linux Packager: shaolin License: GPLv2 URL: https://www.gnu.org/software/dejagnu/ Source: https://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz Requires: tcl >= 8.6, expect >= 5.21 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: expect screen texinfo %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). %debug_package %prep %setup -q -n dejagnu-%{version} find . -name \*.rej -exec rm {} \; %build mkdir %{_vpath_builddir} pushd %{_vpath_builddir} %define _configure ../configure %configure -v popd %install rm -rf %{buildroot} pushd %{_vpath_builddir} %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 popd %check pushd %{_vpath_builddir} 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` export SCREENDIR=`mktemp -d` #screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP screen -D -m sh -c '(make check; echo $?) >> '$TMP RESULT=`tail -n 1 $TMP` cat $TMP rm -f $TMP rm -rf $SCREENDIR echo ============END TESTING=========== popd exit $RESULT %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) %license COPYING %doc NEWS README AUTHORS INSTALL ChangeLog doc/dejagnu.texi %{_bindir}/dejagnu %{_bindir}/runtest %{_datadir}/dejagnu %{_includedir}/dejagnu.h %{_mandir}/*/* %{_infodir}/* %changelog * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO - 1:1.6.3-1 - new upstream release. * Fri Oct 04 2019 Tomohiro "Tomo-p" KATO - 1:1.6.2-1 - new upstream release. - dropped all patches. * 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.