diff --git a/README.md b/README.md index 1d7b4d5..f76e2ee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # dejagnu +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 -- Tool command language. + diff --git a/dejagnu.spec b/dejagnu.spec new file mode 100644 index 0000000..8a7d6e8 --- /dev/null +++ b/dejagnu.spec @@ -0,0 +1,67 @@ +Name: dejagnu +Version: 1.5.1 +Release: 1mamba +Summary: A framework for testing other programs +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.gnu.org/software/dejagnu +Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz +License: GPL +BuildRequires: libtcl +Requires(post): %{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 -- Tool command language. + +%prep +%setup -q + +%build +%configure \ + --verbose + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%post +%install_info %{name}.info + +%preun +%uninstall_info %{name}.info +exit 0 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/runtest +%{_includedir}/%{name}.h +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* +%{_mandir}/man1/* +%{_infodir}/dejagnu.info.gz +%doc AUTHORS COPYING +# ChangeLog NEWS README TODO +#%doc doc/overview doc/overview.pdf + +%changelog +* Sat Mar 16 2013 Automatic Build System 1.5.1-1mamba +- update to 1.5.1 + +* Sat Jun 16 2012 Automatic Build System 1.5-1mamba +- automatic version update by autodist + +* Sun Jun 17 2007 Stefano Cotta Ramusino 1.4.4-1mamba +- package created by autospec