3de6a9
%global debug_package %{nil}
3de6a9
3de6a9
Name:           catch
d5b68a
Version:        1.7.0
e46134
Release:        2%{?dist}
3de6a9
Summary:        A modern, C++-native, header-only, framework for unit-tests, TDD and BDD
3de6a9
3de6a9
License:        Boost
3de6a9
URL:            https://github.com/philsquared/Catch
99b2c4
Source0:        https://github.com/philsquared/Catch/archive/v%{version}/%{name}-%{version}.tar.gz
3de6a9
7ec019
BuildRequires:  cmake make gcc-c++
7ec019
3de6a9
%description
3de6a9
Catch stands for C++ Automated Test Cases in Headers and is a
3de6a9
multi-paradigm automated test framework for C++ and Objective-C (and,
3de6a9
maybe, C). It is implemented entirely in a set of header files, but
3de6a9
is packaged up as a single header for extra convenience.
3de6a9
3de6a9
3de6a9
%package        devel
3de6a9
Summary:        Development files for %{name}
3de6a9
Provides:       %{name}-static = %{version}-%{release}
3de6a9
3de6a9
%description    devel
3de6a9
Catch stands for C++ Automated Test Cases in Headers and is a
3de6a9
multi-paradigm automated test framework for C++ and Objective-C (and,
3de6a9
maybe, C). It is implemented entirely in a set of header files, but
3de6a9
is packaged up as a single header for extra convenience.
3de6a9
3de6a9
3de6a9
%prep
1ba202
%autosetup -p 1 -n Catch-%{version}
3de6a9
3de6a9
3de6a9
%build
7ec019
%cmake . -Bbuild
7ec019
%make_build -Cbuild
3de6a9
3de6a9
3de6a9
%install
3de6a9
mkdir -p %{buildroot}%{_includedir}
3de6a9
cp -pr include  %{buildroot}%{_includedir}/catch
3de6a9
3de6a9
3de6a9
%check
7ec019
cd build
7ec019
ctest -V %{?_smp_mflags}
3de6a9
3de6a9
3de6a9
%files devel
3de6a9
%doc README.md catch-logo-small.png docs
3de6a9
%license LICENSE_1_0.txt
3de6a9
%{_includedir}/catch
3de6a9
3de6a9
3de6a9
%changelog
e46134
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
e46134
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e46134
d5b68a
* Fri Feb  3 2017 Tom Hughes <tom@compton.nu> - 1.7.0-1
d5b68a
- Update to 1.7.0 upstream release
d5b68a
7ec019
* Sun Jan 29 2017 Tom Hughes <tom@compton.nu> - 1.6.1-1
7ec019
- Update to 1.6.1 upstream release
7ec019
dca1d0
* Sun Jan 15 2017 Tom Hughes <tom@compton.nu> - 1.6.0-1
dca1d0
- Update to 1.6.0 upstream release
dca1d0
99b2c4
* Tue Dec 13 2016 Tom Hughes <tom@compton.nu> - 1.5.9-1
99b2c4
- Update to 1.5.9 upstream release
99b2c4
e4562b
* Thu Nov 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.5.8-1
e4562b
- Update to 1.5.8
e4562b
852980
* Sat May 14 2016 Tom Hughes <tom@compton.nu> - 1.5.4-1
852980
- Update to 1.5.4 upstream release
852980
612628
* Thu Apr 28 2016 Tom Hughes <tom@compton.nu> - 1.5.1-1
612628
- Update to 1.5.1 upstream release
612628
354673
* Sun Apr 24 2016 Tom Hughes <tom@compton.nu> - 1.5.0-1
354673
- Update to 1.5.0 upstream release
354673
1ba202
* Wed Mar 30 2016 Tom Hughes <tom@compton.nu> - 1.4.0-1
1ba202
- Update to 1.4.0 upstream release
1ba202
79e633
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
79e633
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
79e633
3de6a9
* Fri Sep 18 2015 Tom Hughes <tom@compton.nu> - 1.2.1-1
3de6a9
- Initial build