dejagnu-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Summary: A front end for testing other programs.
  2. Summary(ja): 各種プログラムをテストするためのフロントエンド
  3. Name: dejagnu
  4. Version: 1.4.4
  5. Release: 2%{?_dist_release}
  6. Epoch: 1
  7. Group: Development/Tools
  8. License: GPLv2
  9. Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
  10. Source2: dejagnu.texi
  11. Patch1: dejagnu-1.4.4-smp-1.patch
  12. Patch3: dejagnu-1.4.4-testsuite.patch
  13. Patch4: dejagnu-1.4.4-runtest.patch
  14. Requires: tcl >= 8.0, expect >= 5.21
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildArch: noarch
  17. BuildRequires: jadetex docbook-utils-pdf
  18. BuildRequires: texinfo
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  22. %description
  23. DejaGnu is an Expect/Tcl based framework for testing other programs.
  24. DejaGnu has several purposes: to make it easy to write tests for any
  25. program; to allow you to write tests which will be portable to any
  26. host or target where a program must be tested; and to standardize the
  27. output format of all tests (making it easier to integrate the testing
  28. into software development).
  29. %prep
  30. %setup -q -n dejagnu-%{version}
  31. find . -name \*.rej -exec rm {} \;
  32. %patch1 -p1
  33. %patch3 -p1
  34. %patch4 -p1
  35. %build
  36. %configure -v
  37. makeinfo %{SOURCE2} -o doc/%{name}.info
  38. make
  39. mv doc/html doc/overview
  40. echo ============TESTING===============
  41. LANG=C make -k check RUNTESTFLAGS="RUNTEST=`pwd`/runtest" || :
  42. echo ============END TESTING===========
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. %makeinstall
  46. chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
  47. pushd doc
  48. make man1dir=%{buildroot}%{_mandir}/man1 install-man
  49. install -D -m 644 dejagnu.info ${RPM_BUILD_ROOT}/%{_infodir}/%{name}.info
  50. popd
  51. mv $RPM_BUILD_ROOT%{_libexecdir}/config.guess $RPM_BUILD_ROOT%{_datadir}/dejagnu
  52. rm -rf $RPM_BUILD_ROOT%{_libexecdir}
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post
  56. /sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir ||:
  57. %preun
  58. if [ $1 = 0 ]; then
  59. /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
  60. fi
  61. %files
  62. %defattr(-,root,root)
  63. %doc COPYING NEWS README AUTHORS INSTALL ChangeLog doc/overview.pdf
  64. %{_bindir}/runtest
  65. %{_datadir}/dejagnu
  66. %{_includedir}/dejagnu.h
  67. %{_mandir}/*/*
  68. %{_infodir}/*
  69. %changelog
  70. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.4-2
  71. - rebuilt with current VineSeed
  72. - added BR: texinfo
  73. * Fri Sep 26 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.4-1
  74. - new versioning policy; spec in UTF-8
  75. - add Source2, Patch3 and Patch4 from Fedora 1.4.4-13
  76. * Sun Mar 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.4-0vl3
  77. - rebuilt with gcc-4.1.x
  78. - imported Patch1 from FC 1.4.4-5
  79. * Sat May 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.4-0vl2
  80. - use License instead of Copyright
  81. * Tue Mar 08 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.4-0vl1
  82. - updated to 1.4.4
  83. * Sun May 09 2004 Satoshi MACHINO <machino@vinelinux.org> 1.4.2-6vl2
  84. - moved %%{_libexecdir}/config.guess into %%{_datadir}/dejagnu
  85. - included overview docs
  86. - added BuildRequires
  87. * Sun Nov 10 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.4.2-6vl1
  88. - based on 1.4.2-6 from Rawhide and built for Vine Linux
  89. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  90. - automated rebuild
  91. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  92. - automated rebuild
  93. * Mon Apr 29 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-4
  94. - fix makefile style variable passing (#63984)
  95. * Thu Feb 28 2002 Jakub Jelinek <jakub@redhat.com> 1.4.2-3
  96. - rebuild
  97. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  98. - automated rebuild
  99. * Wed Nov 28 2001 Jakub Jelinek <jakub@redhat.com> 1.4.2-1
  100. - update to 1.4.2, mainly so that it can be built with gcc3+
  101. * Fri Sep 7 2001 Jakub Jelinek <jakub@redhat.com> 1.4.1-3
  102. - make it noarch again
  103. * Wed Aug 29 2001 Jakub Jelinek <jakub@redhat.com>
  104. - fix a typo (#52404)
  105. * Thu Jun 28 2001 Tim Powers <timp@redhat.com>
  106. - rebuilt for the distro
  107. * Tue Feb 27 2001 Tim Powers <timp@redhat.com>
  108. - minor modifications to the spec file. Built for Powertools.
  109. - added Epoch
  110. * Wed Feb 21 2001 Rob Savoye <rob@welcomehome.org>
  111. - Fixed Requires line, and changed the URL to the new ftp site.
  112. * Sun Oct 31 1999 Rob Savoye <rob@welcomehome.org>
  113. - updated to the latest snapshot
  114. - added doc files
  115. - added the site.exp config file
  116. * Mon Jul 12 1999 Tim Powers <timp@redhat.com>
  117. - updated to 19990628
  118. - updated patches as needed
  119. - added %defattr in files section
  120. * Wed Mar 10 1999 Jeff Johnson <jbj@redhat.com>
  121. - add alpha expect patch (#989)
  122. - use %configure
  123. * Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
  124. - Update to 19981215.
  125. * Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
  126. - Update to 1998-10-29.
  127. * Wed Jul 8 1998 Jeff Johnson <jbj@redhat.com>
  128. - Update to 1998-05-28.
  129. * Sun Feb 1 1998 Jeff Johnson <jbj@jbj.org>
  130. - Create.