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