commit 058c5ceac814824a68584c908d905a12c7f072a7 Author: tigro Date: Thu Dec 14 11:25:23 2023 +0300 import kyua-0.13-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..befc457 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/kyua-0.13.tar.gz diff --git a/.kyua.metadata b/.kyua.metadata new file mode 100644 index 0000000..1de9ebd --- /dev/null +++ b/.kyua.metadata @@ -0,0 +1 @@ +2e437ffdb96dfc6325e283e531a1a3e11bebe4d7 SOURCES/kyua-0.13.tar.gz diff --git a/SPECS/kyua.spec b/SPECS/kyua.spec new file mode 100644 index 0000000..d10400f --- /dev/null +++ b/SPECS/kyua.spec @@ -0,0 +1,85 @@ +%global _testsdir %{_libexecdir}/%{name}/tests +%global _make_args pkgtestsdir=%%{_testsdir} testsdir=%%{_testsdir} + +Name: kyua +Version: 0.13 +Release: 1%{?dist} +Summary: Testing framework for infrastructure software + +License: BSD +URL: https://github.com/jmmv/kyua +Source0: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc-c++ +BuildRequires: libatf-c++-devel >= 0.17 +BuildRequires: libatf-sh-devel >= 0.15 +BuildRequires: pkgconfig(lutok) >= 0.4 +BuildRequires: pkgconfig(sqlite3) >= 3.6.22 + +Obsoletes: kyua-cli < 0.10 +Provides: kyua-cli = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kyua-testers < 0.10 +Obsoletes: kyua-testers-devel < 0.10 + +%description +Kyua is a testing framework for infrastructure software, originally designed +to equip BSD-based operating systems with a test suite. This means that +Kyua is lightweight and simple, and that Kyua integrates well with various +build systems and continuous integration frameworks. + +Kyua features an expressive test suite definition language, a safe runtime +engine for test suites and a powerful report generation engine. + +Kyua is for both developers and users, from the developer applying a simple +fix to a library to the system administrator deploying a new release +on a production machine. + +Kyua is able to execute test programs written with a plethora of +testing libraries and languages. The library of choice is ATF, for which +Kyua was originally designed, but simple, framework-less test programs and +TAP-compliant test programs can also be executed through Kyua. + +%package tests +Summary: Runtime tests of the Kyua toolchain +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kyua-cli-tests < 0.10 +Obsoletes: kyua-testers-tests < 0.10 + +%description tests +%{summary}. + +%prep +%autosetup + +%build +%configure \ + --with-doxygen=no \ + --with-with-atf=yes \ + %{nil} +%make_build %{_make_args} + +%install +%make_install %{_make_args} doc_DATA= + +%check +# Tests expect dumping core to file which is different from machine to machine +HOME=$(pwd)/check %make_build check %{_make_args} || : + +%files +%license LICENSE +%doc AUTHORS CONTRIBUTORS NEWS.md README.md +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_mandir}/man1/%{name}*.1* +%{_mandir}/man5/%{name}*.5* + +%files tests +%{_libexecdir}/%{name}/ + +%changelog +* Thu Dec 14 2023 Arkady L. Shane - 0.13-1 +- Rebuilt for MSVSphere 8.9 + +* Thu Feb 08 2018 Igor Gnatenko - 0.13-1 +- Initial package