Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37509109
en ru br
ALT Linux repos
S:1.6.2-alt1
5.0: 1.0-alt1

Group :: Development/C
RPM: cgreen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: cgreen
Version: 1.6.2
Release: alt1

Summary: Framework for unit testing, written in C
License: ISC
Group: Development/C
Url: http://www.lastcraft.com/cgreen.php

Source0: %name-%version.tar

BuildRequires: cmake rpm-macros-cmake gcc gcc-c++

%define _unpackaged_files_terminate_build 1

%description
What is it? It's a framework for unit testing, written in C. A tool
for C developers writing tests of their own code.

If you have used JUnit, or any of the xUnit clones, you will find
the concept familiar. In particular the tool supports a range of
assertions, composable test suites and setup/teardown facilities.
Because of the peculiarities of C programming, each test function
is normally run in it's own process.

NOTE: this package includes a slightly modified version of cgreen. Check
http://git.altlinux.ru/people/voins/packages/?p=cgreen.git for list of changes


%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmakeinstall_std

%files
%doc README.md samples

%_bindir/%name-runner
%_bindir/%name-debug

%_includedir/*
%_libdir/*.so*

%_libdir/cmake/%name/*.cmake

%_man1dir/*
%_man5dir/*

%_datadir/bash-completion/completions/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin