Blame SPECS/dejagnu.spec

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