source: projects/specs/branches/6/d/dejagnu/dejagnu-vl.spec @ 3937

Revision 3937, 4.9 KB checked in by inagaki, 13 years ago (diff)

update: dejagnu, manadic, taper

Line 
1Summary:       A front end for testing other programs.
2Summary(ja):   各種プログラムをテストするためのフロントエンド
3Name:          dejagnu
4Version:       1.4.4
5Release:       2%{?_dist_release}
6Epoch:         1
7
8Group:         Development/Tools
9License:       GPLv2
10
11Source:        ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
12Source2:       dejagnu.texi
13Patch1:        dejagnu-1.4.4-smp-1.patch
14Patch3:        dejagnu-1.4.4-testsuite.patch
15Patch4:        dejagnu-1.4.4-runtest.patch
16
17Requires:      tcl >= 8.0, expect >= 5.21
18BuildRoot:     %{_tmppath}/%{name}-%{version}-root
19BuildArch:     noarch
20BuildRequires: jadetex docbook-utils-pdf
21BuildRequires: texinfo
22
23Vendor:       Project Vine
24Distribution: Vine Linux
25Packager:     MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
26
27
28%description
29DejaGnu is an Expect/Tcl based framework for testing other programs.
30DejaGnu has several purposes: to make it easy to write tests for any
31program; to allow you to write tests which will be portable to any
32host or target where a program must be tested; and to standardize the
33output format of all tests (making it easier to integrate the testing
34into software development).
35
36
37%prep
38%setup -q -n dejagnu-%{version}
39find . -name \*.rej -exec rm {} \;
40%patch1 -p1
41%patch3 -p1
42%patch4 -p1
43
44
45%build
46%configure -v
47makeinfo %{SOURCE2} -o doc/%{name}.info
48
49make
50mv doc/html doc/overview
51echo ============TESTING===============
52LANG=C make -k check RUNTESTFLAGS="RUNTEST=`pwd`/runtest" || :
53echo ============END TESTING===========
54
55
56%install
57rm -rf $RPM_BUILD_ROOT
58%makeinstall
59chmod a-x $RPM_BUILD_ROOT/%{_datadir}/dejagnu/runtest.exp
60
61pushd doc
62make man1dir=%{buildroot}%{_mandir}/man1 install-man
63install -D -m 644 dejagnu.info ${RPM_BUILD_ROOT}/%{_infodir}/%{name}.info
64popd
65
66mv $RPM_BUILD_ROOT%{_libexecdir}/config.guess $RPM_BUILD_ROOT%{_datadir}/dejagnu                                                                               
67rm -rf $RPM_BUILD_ROOT%{_libexecdir}
68
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73
74%post
75/sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir ||:
76
77
78%preun
79if [ $1 = 0 ]; then
80    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
81fi
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
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
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 
Note: See TracBrowser for help on using the repository browser.