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