Репозитории ALT
S: | 1.6.2-alt2 |
5.1: | 1.4.4-alt3 |
4.1: | 1.4.4-alt2 |
4.0: | 1.4.4-alt2 |
3.0: | 1.4.4-alt2 |
Группа :: Разработка/Прочее
Пакет: dejagnu
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: dejagnu
Version: 1.4.4
Release: alt3
Epoch: 1
Summary: A front end for testing other programs
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/%name/
BuildArch: noarch
# ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.gz
Source: %name-%version.tar
Patch1: dejagnu-1.4.4-rh-smp.patch
Patch2: dejagnu-1.4.4-rh-testsuite.patch
Patch3: dejagnu-1.4.4-rh-runtest.patch
Requires: expect
BuildRequires: docbook-utils-print expect gcc-c++
%{?!_without_check:%{?!_disable_check:BuildRequires: screen, /dev/pts}}
%description
DejaGnu is an Expect/Tcl based framework for testing other programs.
DejaGnu has several purposes: to make it easy to write tests for any
program; to allow you to write tests which will be portable to any
host or target where a program must be tested; and to standardize the
output format of all tests (making it easier to integrate the testing
into software development).
%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure
%make_build
pushd doc
mv html overview
makeinfo --no-split %name.texi
popd
%check
[ -w /dev/ptmx ] || exit 0
# Dejagnu test suite also has to test reporting to user. It needs a
# terminal for that. That doesn't compute in mock. Work around it by
# running the test under screen and communicating back to test runner
# via temporary file. If you have better idea, we accept patches.
t=$(mktemp %name.XXXXXXXX)
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=$PWD/runtest"; echo $?) >'$t
r=$(tail -n1 $t)
cat $t
rm $t
exit $r
%install
%makeinstall
install -pD -m644 doc/%name.info %buildroot%_infodir/%name.info
rm %buildroot/usr/lib/config.guess
%files
%_bindir/*
%_datadir/%name
%_includedir/*
%_infodir/*
%_mandir/man?/*
%doc NEWS README AUTHORS ChangeLog doc/overview.pdf
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.4.4
Release: alt3
Epoch: 1
Summary: A front end for testing other programs
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/%name/
BuildArch: noarch
# ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.gz
Source: %name-%version.tar
Patch1: dejagnu-1.4.4-rh-smp.patch
Patch2: dejagnu-1.4.4-rh-testsuite.patch
Patch3: dejagnu-1.4.4-rh-runtest.patch
Requires: expect
BuildRequires: docbook-utils-print expect gcc-c++
%{?!_without_check:%{?!_disable_check:BuildRequires: screen, /dev/pts}}
%description
DejaGnu is an Expect/Tcl based framework for testing other programs.
DejaGnu has several purposes: to make it easy to write tests for any
program; to allow you to write tests which will be portable to any
host or target where a program must be tested; and to standardize the
output format of all tests (making it easier to integrate the testing
into software development).
%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure
%make_build
pushd doc
mv html overview
makeinfo --no-split %name.texi
popd
%check
[ -w /dev/ptmx ] || exit 0
# Dejagnu test suite also has to test reporting to user. It needs a
# terminal for that. That doesn't compute in mock. Work around it by
# running the test under screen and communicating back to test runner
# via temporary file. If you have better idea, we accept patches.
t=$(mktemp %name.XXXXXXXX)
screen -D -m sh -c '(make check RUNTESTFLAGS="RUNTEST=$PWD/runtest"; echo $?) >'$t
r=$(tail -n1 $t)
cat $t
rm $t
exit $r
%install
%makeinstall
install -pD -m644 doc/%name.info %buildroot%_infodir/%name.info
rm %buildroot/usr/lib/config.guess
%files
%_bindir/*
%_datadir/%name
%_includedir/*
%_infodir/*
%_mandir/man?/*
%doc NEWS README AUTHORS ChangeLog doc/overview.pdf
%changelog
…
Полный changelog можно просмотреть здесь