dejagnu-vl.spec 4.8 KB

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