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