Пакет CUnit: Specfile

Name: CUnit
Version: 2.1.3
Release: alt1.svn20140424
Summary: A lightweight system for unit tests in C

Group: System/Libraries
License: LGPLv2+
Url: http://cunit.sourceforge.net/
Packager: Mykola Grechukh <gns@altlinux.ru>

Source: http://downloads.sourceforge.net/cunit/%name-%version.tar

BuildRequires: libncurses-devel

CUnit is a lightweight system for writing, administering, and running unit
tests in C.  It provides C programmers a basic testing functionality with a
flexible variety of user interfaces.

CUnit is built as a static library which is linked with the user's testing
code. It uses a simple framework for building test structures, and provides
a rich set of assertions for testing common data types.  In addition,
several different interfaces are provided for running tests and reporting

%package devel
Summary: Development files for %name
Group: Development/Other
Requires: %name = %version-%release

%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

sed -i '/^CURSES_OBJECT_FILES_SHARED/ s,$, -l\$\(CURSES_LIB\),' CUnit/Sources/Makefile.am

%configure \
	--enable-curses \


# move /usr/doc/CUnit
mv -f %buildroot%prefix/doc/%name docs
rm -rf docs/headers


%files devel
%doc docs/*

* Fri Sep 05 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1.3-alt1.svn20140424
- Version 2.1-3

* Mon Nov 14 2011 Slava Dubrovskiy <dubrsl@altlinux.org> 2.1.2-alt1
- New version

* Thu Oct 28 2010 Mykola Grechukh <gns@altlinux.ru> 2.1.0-alt1
- initial build for ALT Linux Sisyphus

* Wed May 28 2008 Peter Hanecak <hany@hany.sk> 2.1.0-1
- initial spec