]> git.pld-linux.org Git - packages/dejagnu.git/blob - dejagnu.spec
- added Epoch: 1.
[packages/dejagnu.git] / dejagnu.spec
1 Summary:        A front end for testing other programs
2 Summary(pl):    Platforma do testowania innych programów
3 Name:           dejagnu
4 Version:        1.4.0
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          Development/Tools
9 Source0:        ftp://ftp.gnu.org/gnu/dejagnu/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-am_fixes.patch
11 BuildRewuires:  autoconf
12 BuildRewuires:  automake
13 Requires:       tcl >= 8.0
14 Requires:       expect >= 5.21
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 DejaGnu is an Expect/Tcl based framework for testing other programs.
19 DejaGnu has several purposes: to make it easy to write tests for any
20 program; to allow you to write tests which will be portable to any
21 host or target where a program must be tested; and to standardize the
22 output format of all tests (making it easier to integrate the testing
23 into software development).
24
25 %description -l pl
26 DejaGnu jest platform± bazuj±c± na Expect'ie i Tcl s³u¿±ca do
27 testowania innych programów. DejaGnu umo¿liwia ³atwe tworzenie testów
28 do niemal dowolnego programu, uruchamiania ich na ró¿nych platformach
29 sprzêtowych oraz zapewnia jednolity format raportów z przebiegu
30 testowania.
31
32 %prep
33 %setup -q -n dejagnu-1.4
34 %patch0 -p1
35
36 %build
37 rm -f missing
38 aclocal
39 autoconf
40 automake -a -c -f
41 cd example/calc
42 rm -f missing
43 aclocal
44 autoconf
45 automake -a -c -f
46 cd ../..
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 #install -d$RPM_BUILD_ROOT{%{_datadir}/dejagnu,%{_prefix}/doc/dejagnu-%{version}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 gzip -9nf NEWS README AUTHORS ChangeLog
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 # %config site.exp
65 %doc *.gz doc/overview
66 %attr(755,root,root) %{_bindir}/runtest
67 %dir %{_datadir}/dejagnu
68 %attr(755,root,root) %{_datadir}/dejagnu/config.guess
69 %attr(755,root,root) %{_datadir}/dejagnu/runtest.exp
70 %attr(755,root,root) %{_datadir}/dejagnu/libexec/config.guess
71 %{_datadir}/dejagnu/[^crl]*
72 %{_datadir}/dejagnu/rlogin.exp
73 %{_datadir}/dejagnu/remote.exp
74 %{_datadir}/dejagnu/rsh.exp
75 %{_datadir}/dejagnu/libgloss.exp
76 %{_datadir}/dejagnu/config
This page took 0.028123 seconds and 3 git commands to generate.