package created using the webbuild interface [release 2.13.7-1mamba;Sat Oct 23 2021]
This commit is contained in:
parent
de2e162438
commit
18e6d7cfc6
@ -1,2 +1,4 @@
|
||||
# catch2
|
||||
|
||||
A modern, C++-native, header-only, 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).
|
||||
|
||||
|
58
catch2.spec
Normal file
58
catch2.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: catch2
|
||||
Version: 2.13.7
|
||||
Release: 1mamba
|
||||
Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD
|
||||
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
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
A modern, C++-native, header-only, 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}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
#% debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n Catch2-%{version}
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/catch2/
|
||||
%{_includedir}/catch2/*.hpp
|
||||
%dir %{_libdir}/cmake/Catch2
|
||||
%{_libdir}/cmake/Catch2/*.cmake
|
||||
%{_datadir}/Catch2/gdbinit
|
||||
%{_datadir}/Catch2/lldbinit
|
||||
%dir %{_datadir}/doc/Catch2
|
||||
%{_datadir}/doc/Catch2/*.md
|
||||
%{_datadir}/pkgconfig/catch2.pc
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Oct 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.7-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user