2f1b49c
Summary: A front end for testing other programs
2f1b49c
Name: dejagnu
2f1b49c
Version: 1.4.4
7491a00
Release: 7
2f1b49c
Epoch: 1
2f1b49c
License: GPL
2f1b49c
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-1.4.4.tar.gz
2f1b49c
Group: Development/Tools
2f1b49c
URL: http://www.gnu.org/software/dejagnu/
2f1b49c
Requires: tcl >= 8.0, expect >= 5.21
2f1b49c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2f1b49c
BuildArchitectures: noarch
2f1b49c
BuildRequires: jadetex docbook-utils-pdf tetex-dvips
2f1b49c
Patch1: dejagnu-1.4.4-smp-1.patch
7491a00
Patch2: dejagnu-1.4.4-no-info.patch
2f1b49c
2f1b49c
%description
2f1b49c
DejaGnu is an Expect/Tcl based framework for testing other programs.
2f1b49c
DejaGnu has several purposes: to make it easy to write tests for any
2f1b49c
program; to allow you to write tests which will be portable to any
2f1b49c
host or target where a program must be tested; and to standardize the
2f1b49c
output format of all tests (making it easier to integrate the testing
2f1b49c
into software development).
2f1b49c
2f1b49c
%prep
2f1b49c
%setup -q -n dejagnu-%{version}
2f1b49c
%patch1 -p1
7491a00
%patch2 -p1
2f1b49c
2f1b49c
%build
2f1b49c
%configure -v
2f1b49c
make
2f1b49c
mv doc/html doc/overview
2f1b49c
2f1b49c
%check
2f1b49c
echo ============TESTING===============
2f1b49c
make -k check RUNTESTFLAGS="RUNTEST=`pwd`/runtest" || :
2f1b49c
echo ============END TESTING===========
2f1b49c
2f1b49c
%install
2f1b49c
rm -rf $RPM_BUILD_ROOT
2f1b49c
make DESTDIR=$RPM_BUILD_ROOT install
2f1b49c
chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
2f1b49c
2f1b49c
pushd doc
2f1b49c
make docs
2f1b49c
make man1dir=%{buildroot}%{_mandir}/man1 install-man
2f1b49c
popd
2f1b49c
2f1b49c
%clean
2f1b49c
rm -rf $RPM_BUILD_ROOT
2f1b49c
2f1b49c
%files
2f1b49c
%defattr(-,root,root)
2f1b49c
%doc COPYING NEWS README AUTHORS ChangeLog doc/overview.pdf
2f1b49c
%{_bindir}/runtest
2f1b49c
%{_datadir}/dejagnu
2f1b49c
%{_includedir}/dejagnu.h
2f1b49c
%{_mandir}/*/*
2f1b49c
2f1b49c
 
2f1b49c
%changelog
7491a00
* Wed Mar  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-7
7491a00
- Remove mention of dejagnu.info from manpage, per comments in
7491a00
  doc/Makefile.
7491a00
- Resolves: #230652
7491a00
2f1b49c
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 1:1.4.4-6
2f1b49c
- Tidy up the specfile per rpmlint comments
2f1b49c
2f1b49c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.4.4-5.1
2f1b49c
- rebuild
2f1b49c
2f1b49c
* Wed Feb 2 2006 Petr Machata <pmachata@redhat.com> 1:1.4.4-5
2f1b49c
- Applying H.J. Lu's race condition patch. (#166000)
2f1b49c
2f1b49c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2f1b49c
- rebuilt
2f1b49c
2f1b49c
* Sat Mar  5 2005 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-4
2f1b49c
- rebuilt with GCC 4
2f1b49c
2f1b49c
* Mon Nov  8 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-3
2f1b49c
- add URL (#138280)
2f1b49c
2f1b49c
* Mon Sep 27 2004 Warren Togami <wtogami@redhat.com> 1:1.4.4-2
2f1b49c
- remove INSTALL & redundant copies of overview
2f1b49c
2f1b49c
* Tue Aug  3 2004 Jakub Jelinek <jakub@redhat.com> 1:1.4.4-1
2f1b49c
- update to 1.4.4
2f1b49c
- run make check during rpm build
2f1b49c
2f1b49c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
2f1b49c
- rebuilt
2f1b49c
2f1b49c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
2f1b49c
- rebuilt
2f1b49c
2f1b49c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
2f1b49c
- rebuilt
2f1b49c
2f1b49c
* Mon Dec 30 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-9
2f1b49c
- more missing BuildRequires
2f1b49c
2f1b49c
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de> 1:1.4.2-8
2f1b49c
- Add jadetex Buildrequires
2f1b49c
2f1b49c
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 1:1.4.2-7
2f1b49c
- include dejagnu.h
2f1b49c
- move %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu 
2f1b49c
- include overview docs (bug #59095)
2f1b49c
2f1b49c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
2f1b49c
- automated rebuild
2f1b49c
2f1b49c
* Thu May 23 2002 Tim Powers <timp@redhat.com>
2f1b49c
- automated rebuild
2f1b49c
2f1b49c
* Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-4
2f1b49c
- fix makefile style variable passing (#63984)
2f1b49c
2f1b49c
* Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-3
2f1b49c
- rebuild
2f1b49c
2f1b49c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
2f1b49c
- automated rebuild
2f1b49c
2f1b49c
* Wed Nov 28 2001 Jakub Jelinek <jakub@redhat.com> 1.4.2-1
2f1b49c
- update to 1.4.2, mainly so that it can be built with gcc3+
2f1b49c
2f1b49c
* Fri Sep  7 2001 Jakub Jelinek <jakub@redhat.com> 1.4.1-3
2f1b49c
- make it noarch again
2f1b49c
2f1b49c
* Wed Aug 29 2001 Jakub Jelinek <jakub@redhat.com>
2f1b49c
- fix a typo (#52404)
2f1b49c
2f1b49c
* Thu Jun 28 2001 Tim Powers <timp@redhat.com>
2f1b49c
- rebuilt for the distro
2f1b49c
2f1b49c
* Tue Feb 27 2001 Tim Powers <timp@redhat.com>
2f1b49c
- minor modifications to the spec file. Built for Powertools.
2f1b49c
- added Epoch
2f1b49c
2f1b49c
* Wed Feb 21 2001 Rob Savoye <rob@welcomehome.org>
2f1b49c
- Fixed Requires line, and changed the URL to the new ftp site.
2f1b49c
2f1b49c
* Sun Oct 31 1999 Rob Savoye <rob@welcomehome.org>
2f1b49c
- updated to the latest snapshot
2f1b49c
- added doc files
2f1b49c
- added the site.exp config file
2f1b49c
2f1b49c
* Mon Jul 12 1999 Tim Powers <timp@redhat.com>
2f1b49c
- updated to 19990628
2f1b49c
- updated patches as needed
2f1b49c
- added %%defattr in files section
2f1b49c
2f1b49c
* Wed Mar 10 1999 Jeff Johnson <jbj@redhat.com>
2f1b49c
- add alpha expect patch (#989)
2f1b49c
- use %%configure
2f1b49c
2f1b49c
* Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
2f1b49c
- Update to 19981215.
2f1b49c
2f1b49c
* Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
2f1b49c
- Update to 1998-10-29.
2f1b49c
2f1b49c
* Wed Jul  8 1998 Jeff Johnson <jbj@redhat.com>
2f1b49c
- Update to 1998-05-28.
2f1b49c
2f1b49c
* Sun Feb  1 1998 Jeff Johnson <jbj@jbj.org>
2f1b49c
- Create.
2f1b49c