forked from pool/dejagnu
- Update to dejagnu 1.5.1 1. The runtest.1 man page has been brought up to date. 2. The Docbook/SGML documentation files were removed in favour of the Docbook/XML documentation. The Texinfo source for the Info pages is now automatically generated from the Docbook source. 3. The Makefile structure has been substantially simplified. There is now a single top-level Makefile.am. The use of recursive make has been eliminated. 4. lib/mondfe.exp and lib/xsh.exp have been removed. Users requiring these communication modes can still use the DejaGnu 1.4 branch or can contact dejagnu@gnu.org to discuss reinstating these files. 5. The configure script now ensures that Expect is installed and that it is linked against Tcl 8.3 or greater. 6. The runtest program now gracefully handles the possibility of the expect binary vanishing after DejaGnu has been installed (for example, by the user altering their PATH). 7. The user-visible utility procedures `absolute', `prune', `psource' and `slay' are deprecated and will be removed in the next release. If a testsuite uses any of these procedures, a copy of the procedure should be made and placed in the lib directory of the testsuite. - dejagnu-ignore-libwarning.patch: Removed - dejagnu-make_doc.patch: Removed - Build as noarch OBS-URL: https://build.opensuse.org/request/show/229388 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dejagnu?expand=0&rev=13
92 lines
2.9 KiB
RPMSpec
92 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package dejagnu
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: dejagnu
|
|
BuildRequires: expect
|
|
Requires: expect
|
|
Requires: info
|
|
Requires: tcl
|
|
Version: 1.5.1
|
|
Release: 0
|
|
Summary: Framework for Running Test Suites on Software Tools
|
|
License: GPL-2.0+
|
|
Group: Development/Tools/Building
|
|
Url: http://www.gnu.org/software/dejagnu/
|
|
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
|
Source1: site.exp
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
DejaGnu is a framework for testing other programs. Its purpose is to
|
|
provide a single front-end for all tests. Beyond this, DejaGnu offers
|
|
several advantages for testing:
|
|
|
|
1. The flexibility and consistency of the DejaGnu framework make it
|
|
easy to write tests for any program.
|
|
|
|
1. DejaGnu provides a layer of abstraction that allows you to write
|
|
tests that are portable to any host or target where a program
|
|
must be tested. For instance, a test for GDB can run (from any
|
|
Unix-based host) on any target architecture that DejaGnu
|
|
supports.
|
|
|
|
1. All tests have the same output format. This makes it easy to
|
|
integrate testing into other software development processes.
|
|
DejaGnu's output is designed to be parsed by other filtering
|
|
scripts and it is also human-readable.
|
|
|
|
DejaGnu is written in expect, which in turn uses "Tcl"--Tool command
|
|
language.
|
|
|
|
Running tests requires two things: the testing framework and the test
|
|
suites themselves.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu
|
|
install %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu/site.exp
|
|
ln -s -f %{_sysconfdir}/dejagnu/site.exp $RPM_BUILD_ROOT%{_datadir}/dejagnu/site.exp
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/dejagnu.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/dejagnu.info.gz
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc ChangeLog COPYING NEWS README AUTHORS TODO
|
|
%dir %{_datadir}/dejagnu
|
|
%dir %{_sysconfdir}/dejagnu
|
|
/usr/bin/runtest
|
|
%doc %{_mandir}/man1/*.gz
|
|
%doc %{_infodir}/*.gz
|
|
/usr/include/*
|
|
%config(noreplace) %{_sysconfdir}/dejagnu/site.exp
|
|
%{_datadir}/dejagnu/*
|
|
|
|
%changelog
|