Initial import of catch
This commit is contained in:
parent
017e4d6ece
commit
3de6a9a92b
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/catch-1.2.1.tar.gz
|
54
catch.spec
Normal file
54
catch.spec
Normal file
@ -0,0 +1,54 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: catch
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A modern, C++-native, header-only, framework for unit-tests, TDD and BDD
|
||||
|
||||
License: Boost
|
||||
URL: https://github.com/philsquared/Catch
|
||||
Source0: https://github.com/philsquared/Catch/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
%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}
|
||||
|
||||
%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
|
||||
%setup -q -n Catch-%{version}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
cp -pr include %{buildroot}%{_includedir}/catch
|
||||
|
||||
|
||||
%check
|
||||
%make_build -C projects/SelfTest test CXXFLAGS="-I../../include -std=c++11 %{optflags}"
|
||||
|
||||
|
||||
%files devel
|
||||
%doc README.md catch-logo-small.png docs
|
||||
%license LICENSE_1_0.txt
|
||||
%{_includedir}/catch
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 18 2015 Tom Hughes <tom@compton.nu> - 1.2.1-1
|
||||
- Initial build
|
Loading…
Reference in New Issue
Block a user