6a6be2
Summary: A front end for testing other programs
6a6be2
Name: dejagnu
6a6be2
Version: 1.6.1
6a6be2
Release: 2%{?dist}
6a6be2
Epoch: 1
6a6be2
License: GPLv3+
6a6be2
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
6a6be2
Group: Development/Tools
6a6be2
URL: http://www.gnu.org/software/dejagnu/
6a6be2
Requires: expect
6a6be2
BuildArch: noarch
6a6be2
BuildRequires: expect screen texinfo
6a6be2
6a6be2
%description
6a6be2
DejaGnu is an Expect/Tcl based framework for testing other programs.
6a6be2
DejaGnu has several purposes: to make it easy to write tests for any
6a6be2
program; to allow you to write tests which will be portable to any
6a6be2
host or target where a program must be tested; and to standardize the
6a6be2
output format of all tests (making it easier to integrate the testing
6a6be2
into software development).
6a6be2
6a6be2
%prep
6a6be2
%setup -q
6a6be2
6a6be2
%build
6a6be2
%configure -v
6a6be2
6a6be2
%check
6a6be2
echo ============TESTING===============
6a6be2
# Dejagnu test suite also has to test reporting to user.  It needs a
6a6be2
# terminal for that.  That doesn't compute in mock.  Work around it by
6a6be2
# running the test under screen and communicating back to test runner
6a6be2
# via temporary file.  If you have better idea, we accept patches.
6a6be2
TMP=`mktemp`
6a6be2
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> '$TMP
6a6be2
RESULT=`tail -n 1 $TMP`
6a6be2
cat $TMP
6a6be2
rm -f $TMP
6a6be2
echo ============END TESTING===========
6a6be2
exit $RESULT
6a6be2
6a6be2
%install
6a6be2
make DESTDIR=$RPM_BUILD_ROOT install
6a6be2
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
6a6be2
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
6a6be2
make DESTDIR=$RPM_BUILD_ROOT install-man
6a6be2
install -D -m 644 doc/dejagnu.info $RPM_BUILD_ROOT/%{_infodir}/%{name}.info
6a6be2
6a6be2
%post
6a6be2
/sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir &> /dev/null
6a6be2
:
6a6be2
6a6be2
%preun
6a6be2
if [ $1 = 0 ]; then
6a6be2
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir &> /dev/null
6a6be2
fi
6a6be2
:
6a6be2
6a6be2
%clean
6a6be2
rm -rf $RPM_BUILD_ROOT
6a6be2
6a6be2
%files
6a6be2
%doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi
6a6be2
%{_bindir}/runtest
6a6be2
%{_datadir}/dejagnu
6a6be2
%{_includedir}/dejagnu.h
6a6be2
%{_mandir}/*/*
6a6be2
%{_infodir}/dejagnu*
6a6be2
6a6be2
%changelog
6a6be2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-2
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6a6be2
6a6be2
* Tue Jan 23 2018 Matej Mužila <mmuzila@redhat.com> - 1:1.6.1-1
6a6be2
- Update to 1.6.1
6a6be2
6a6be2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6-3
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6a6be2
6a6be2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6-2
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6a6be2
6a6be2
* Thu Apr 21 2016 Matej Mužila <mmuzila@redhat.com> - 1:1.6-1
6a6be2
- Rebase to new upstream version
6a6be2
6a6be2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.3-4
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6a6be2
6a6be2
* Mon Aug 31 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.3-3
6a6be2
- Backport upstream patch making dejagnu not to kill wrong process due to
6a6be2
  PID-reuse races
6a6be2
- Resolves rhbz#1258142
6a6be2
6a6be2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.3-2
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6a6be2
6a6be2
* Tue Mar 31 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.3-1
6a6be2
- Update to 1.5.3
6a6be2
6a6be2
* Thu Feb 12 2015 Matej Muzila <mmuzila@redhat.com> 1:1.5.2-1
6a6be2
- Update to 1.5.2
6a6be2
6a6be2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.1-4
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6a6be2
6a6be2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5.1-3
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6a6be2
6a6be2
* Mon Mar 25 2013 Honza Horak <hhorak@redhat.com> - 1:1.5.1-2
6a6be2
- add aarch64 support into config.guess and config.sub
6a6be2
6a6be2
* Fri Mar 22 2013 Honza Horak <hhorak@redhat.com> - 1:1.5.1-1
6a6be2
- Update to 1.5.1
6a6be2
6a6be2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-7
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a6be2
6a6be2
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> 1:1.5-6
6a6be2
- Spec file cleanup
6a6be2
- Use dejagnu.texi from upstream source
6a6be2
6a6be2
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-5
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6a6be2
6a6be2
* Mon May 14 2012 Honza Horak <hhorak@redhat.com> 1:1.5-4
6a6be2
- gfortran support added
6a6be2
  Resolves: #635651
6a6be2
6a6be2
* Thu Mar 15 2012 Honza Horak <hhorak@redhat.com> 1:1.5-3
6a6be2
- fixed search runtest.exp after usrmove
6a6be2
  Resolves: #788811
6a6be2
6a6be2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.5-2
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6a6be2
6a6be2
* Tue Mar 22 2011 Honza Horak <hhorak@redhat.com> 1:1.5-1
6a6be2
- Update to 1.5, license changed to GPLv3+
6a6be2
6a6be2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-18
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6a6be2
6a6be2
* Fri Jan 22 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4.4-17
6a6be2
- added utils speedup patch from jakub@redhat.com
6a6be2
- Resolves: #557564
6a6be2
6a6be2
* Fri Oct 16 2009 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4.4-16
6a6be2
- fixed installation with --excludedocs rhbz#515949
6a6be2
6a6be2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-15
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6a6be2
6a6be2
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.4-14
6a6be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6a6be2
6a6be2
* Wed Aug 27 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1:1.4.4-13
6a6be2
- rewriten patch to work with fuzz=0
6a6be2
6a6be2
* Wed Aug 27 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1:1.4.4-12
6a6be2
- fixed runtest (patch from jan.kratochvil@redhat.com)
6a6be2
- Resolves: #460153
6a6be2
6a6be2
* Mon Nov 12 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-11
6a6be2
- Install info file.
6a6be2
- Resolves: #230652
6a6be2
6a6be2
* Thu Oct  4 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-10
6a6be2
- A few more cleanups after discussion with reviewer.
6a6be2
- Resolves: #225679
6a6be2
6a6be2
* Wed Oct  3 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-9
6a6be2
- Clean up spec per merge review comments.
6a6be2
- Fix testsuite.
6a6be2
- Resolves: #225679
6a6be2
6a6be2
* Thu Aug 16 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-8
6a6be2
- Fix licesing tag.
6a6be2
6a6be2
* Wed Mar  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-7
6a6be2
- Remove mention of dejagnu.info from manpage, per comments in
6a6be2
  doc/Makefile.
6a6be2
- Resolves: #230652
6a6be2
6a6be2
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-6
6a6be2
- Tidy up the specfile per rpmlint comments
6a6be2
6a6be2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.4.4-5.1
6a6be2
- rebuild
6a6be2
6a6be2
* Thu Feb 2 2006 Petr Machata <pmachata@redhat.com> 1:1.4.4-5
6a6be2
- Applying H.J. Lu's race condition patch. (#166000)
6a6be2
6a6be2
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
6a6be2
- rebuilt
6a6be2
6a6be2
* Sat Mar  5 2005 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-4
6a6be2
- rebuilt with GCC 4
6a6be2
6a6be2
* Mon Nov  8 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-3
6a6be2
- add URL (#138280)
6a6be2
6a6be2
* Mon Sep 27 2004 Warren Togami <wtogami@redhat.com> 1:1.4.4-2
6a6be2
- remove INSTALL & redundant copies of overview
6a6be2
6a6be2
* Tue Aug  3 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-1
6a6be2
- update to 1.4.4
6a6be2
- run make check during rpm build
6a6be2
6a6be2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
6a6be2
- rebuilt
6a6be2
6a6be2
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
6a6be2
- rebuilt
6a6be2
6a6be2
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
6a6be2
- rebuilt
6a6be2
6a6be2
* Mon Dec 30 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-9
6a6be2
- more missing BuildRequires
6a6be2
6a6be2
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-8
6a6be2
- Add jadetex Buildrequires
6a6be2
6a6be2
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 1:1.4.2-7
6a6be2
- include dejagnu.h
6a6be2
- move %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu 
6a6be2
- include overview docs (bug #59095)
6a6be2
6a6be2
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
6a6be2
- automated rebuild
6a6be2
6a6be2
* Thu May 23 2002 Tim Powers <timp@redhat.com>
6a6be2
- automated rebuild
6a6be2
6a6be2
* Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-4
6a6be2
- fix makefile style variable passing (#63984)
6a6be2
6a6be2
* Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-3
6a6be2
- rebuild
6a6be2
6a6be2
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
6a6be2
- automated rebuild
6a6be2
6a6be2
* Wed Nov 28 2001 Jakub Jelinek <jakub@redhat.com> 1.4.2-1
6a6be2
- update to 1.4.2, mainly so that it can be built with gcc3+
6a6be2
6a6be2
* Fri Sep  7 2001 Jakub Jelinek <jakub@redhat.com> 1.4.1-3
6a6be2
- make it noarch again
6a6be2
6a6be2
* Wed Aug 29 2001 Jakub Jelinek <jakub@redhat.com>
6a6be2
- fix a typo (#52404)
6a6be2
6a6be2
* Thu Jun 28 2001 Tim Powers <timp@redhat.com>
6a6be2
- rebuilt for the distro
6a6be2
6a6be2
* Tue Feb 27 2001 Tim Powers <timp@redhat.com>
6a6be2
- minor modifications to the spec file. Built for Powertools.
6a6be2
- added Epoch
6a6be2
6a6be2
* Wed Feb 21 2001 Rob Savoye <rob@welcomehome.org>
6a6be2
- Fixed Requires line, and changed the URL to the new ftp site.
6a6be2
6a6be2
* Sun Oct 31 1999 Rob Savoye <rob@welcomehome.org>
6a6be2
- updated to the latest snapshot
6a6be2
- added doc files
6a6be2
- added the site.exp config file
6a6be2
6a6be2
* Mon Jul 12 1999 Tim Powers <timp@redhat.com>
6a6be2
- updated to 19990628
6a6be2
- updated patches as needed
6a6be2
- added %%defattr in files section
6a6be2
6a6be2
* Wed Mar 10 1999 Jeff Johnson <jbj@redhat.com>
6a6be2
- add alpha expect patch (#989)
6a6be2
- use %%configure
6a6be2
6a6be2
* Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
6a6be2
- Update to 19981215.
6a6be2
6a6be2
* Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
6a6be2
- Update to 1998-10-29.
6a6be2
6a6be2
* Wed Jul  8 1998 Jeff Johnson <jbj@redhat.com>
6a6be2
- Update to 1998-05-28.
6a6be2
6a6be2
* Sun Feb  1 1998 Jeff Johnson <jbj@jbj.org>
6a6be2
- Create.
6a6be2