2024-01-05 21:08:15 +01:00
|
|
|
Name: catch2
|
2024-01-05 21:08:16 +01:00
|
|
|
Version: 3.1.1
|
2024-01-05 21:08:15 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:08:16 +01:00
|
|
|
Summary: A modern, C++-native test framework for unit-tests, TDD and BDD
|
2024-01-05 21:08:15 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/catchorg/Catch2
|
|
|
|
Source: https://github.com/catchorg/Catch2.git/v%{version}/Catch2-%{version}.tar.bz2
|
|
|
|
License: Boost Software License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:08:15 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:08:15 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
2024-01-05 21:08:16 +01:00
|
|
|
A modern, C++-native test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch).
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: pkg-config
|
|
|
|
Provides: catch2
|
|
|
|
Obsoletes: catch2 < 3.1.1
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
A modern, C++-native test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch).
|
2024-01-05 21:08:15 +01:00
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
2024-01-05 21:08:16 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:08:15 +01:00
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 21:08:16 +01:00
|
|
|
%debug_package
|
2024-01-05 21:08:15 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Catch2-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 21:08:16 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libCatch2.so.*
|
|
|
|
%{_libdir}/libCatch2Main.so.*
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/catch2/
|
2024-01-05 21:08:15 +01:00
|
|
|
%{_includedir}/catch2/*
|
2024-01-05 21:08:15 +01:00
|
|
|
%{_libdir}/libCatch2.so
|
|
|
|
%{_libdir}/libCatch2Main.so
|
2024-01-05 21:08:15 +01:00
|
|
|
%dir %{_libdir}/cmake/Catch2
|
|
|
|
%{_libdir}/cmake/Catch2/*.cmake
|
|
|
|
%{_datadir}/Catch2/gdbinit
|
|
|
|
%{_datadir}/Catch2/lldbinit
|
|
|
|
%dir %{_datadir}/doc/Catch2
|
2024-01-05 21:08:15 +01:00
|
|
|
%{_datadir}/pkgconfig/catch2*.pc
|
|
|
|
%{_docdir}/Catch2/*.md
|
2024-01-05 21:08:15 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:08:16 +01:00
|
|
|
* Thu Oct 27 2022 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
* Tue Jul 19 2022 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
* Fri May 20 2022 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
* Wed Apr 13 2022 Automatic Build System <autodist@mambasoft.it> 2.13.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 2.13.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:08:15 +01:00
|
|
|
* Sat Oct 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.7-1mamba
|
|
|
|
- package created using the webbuild interface
|