diff --git a/catch2-2.13.10.tar.gz b/catch2-2.13.10.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..39b8703a49cb3930b867e0a33f225f964059f13a Binary files /dev/null and b/catch2-2.13.10.tar.gz differ diff --git a/catch2.spec b/catch2.spec new file mode 100644 index 0000000000000000000000000000000000000000..a65f4bd0d21d07e4c3b083a18cb7bee3b0d0f8c3 --- /dev/null +++ b/catch2.spec @@ -0,0 +1,61 @@ +%global debug_package %{nil} + +Name: catch2 +Version: 2.13.10 +Release: 1 +Summary: Modern, C++-native, header-only, framework for unit-tests, TDD and BDD + +License: BSL-1.0 +URL: https://github.com/catchorg/Catch2 +Source0: https://github.com/catchorg/Catch2/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake make gcc-c++ python3 + +%description +Catch stands for C++ Automated Test Cases in Headers and is a +multi-paradigm automated test framework for C++ and Objective-C (and, +maybe, C). It is implemented entirely in a set of header files, but +is packaged up as a single header for extra convenience. + + +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} +Conflicts: catch-devel + +%description devel +Catch stands for C++ Automated Test Cases in Headers and is a +multi-paradigm automated test framework for C++ and Objective-C (and, +maybe, C). It is implemented entirely in a set of header files, but +is packaged up as a single header for extra convenience. + + +%prep +%autosetup -p 1 -n Catch2-%{version} + + +%build +%cmake \ + -DCATCH_BUILD_EXTRA_TESTS=ON \ + -DCATCH_ENABLE_WERROR=OFF \ + -DCATCH_INSTALL_DOCS=OFF \ + -DBUILD_SHARED_LIBS=OFF . +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%files devel +%doc README.md CODE_OF_CONDUCT.md docs +%license LICENSE.txt +%{_includedir}/catch2/ +%{_datadir}/Catch2/ +%{_datadir}/pkgconfig/catch2.pc +%{_libdir}/cmake/Catch2/ + +%changelog +* Tue Aug 5 2025 mimanchiok - 2.13.10-1 +- project init diff --git a/catch2.src.rpm b/catch2.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..ff1b7fd1f80dedd990fdd27ccc54b97eb0277114 Binary files /dev/null and b/catch2.src.rpm differ diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..0684e476ce678240c2593b185825fc31046b35d5 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +catch2-2.13.10.tar.gz +catch2.spec