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