forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdejagnu.spec
68 lines (57 loc) · 1.85 KB
/
dejagnu.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Summary: DejaGnu test framework
Name: dejagnu
Version: 1.6
Release: 1%{?dist}
License: GPLv2+
URL: http://www.gnu.org/software/%{name}
Source0: https://ftp.gnu.org/pub/gnu/dejagnu/%{name}-%{version}.tar.gz
%define sha1 dejagnu=03a40e5bf964383af3fb56a07cc7605cb9aaab97
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
Requires: expect
BuildRequires: expect-devel
Requires(post): texinfo
Requires(postun): texinfo
%description
DejaGnu is a framework for testing other programs. Its purpose is to provide
a single front end for all tests. Think of it as a custom library of Tcl
procedures crafted to support writing a test harness. A test harness is the
testing infrastructure that is created to support a specific program or tool.
Each program can have multiple testsuites, all supported by a single test
harness. DejaGnu is written in Expect, which in turn uses Tcl.
%package devel
Summary: Headers and development libraries for dejagnu
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: expect-devel
%description devel
Headers and development libraries for dejagnu
%prep
%setup -q
%build
./configure \
--prefix=%{_prefix}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%post
%{_bindir}/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%{_bindir}/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/dejagnu/*
%{_infodir}/*
%exclude %{_infodir}/dir
%{_mandir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%changelog
* Mon Sep 10 2018 Ajay Kaher <[email protected]> 1.6-1
- Upgraded to version 1.6
* Thu Jul 13 2017 Alexey Makhalov <[email protected]> 1.5.3-1
- Initial build. First version