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