Sisyphus repository
Last update: 20 september 2019 | SRPMs: 17474 | Visits: 15134086
en ru br
ALT Linux repos
S:0.12.0-alt1
5.0: 0.9.5-alt8
4.1: 0.9.5-alt7
4.0: 0.9.5-alt4
3.0: 0.8.4-alt1

Other repositories
Upstream:0.9.5

Group :: Development/C
RPM: check

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: check
Version: 0.9.5
Release: alt7
Epoch: 20070412

Summary: A unit test framework for C
License: LGPL
Group: Development/C

Url: http://check.sourceforge.net
Source: %name-%version.tar.gz
Patch0: check-0.9.5-m4-AM_PATH_CHECK.patch
Packager: Michael Shigorin <mike at altlinux.org>

BuildRequires: common-licenses docbook-utils
Requires: lib%name = %epoch:%version-%release lib%name-devel = %epoch:%version-%release
Requires: info-install

%add_optflags %optflags_shared

%description
Check is a unit test framework for C. It features a simple interface for
defining unit tests, putting little in the way of the developer. Tests are run
in a separate address space, so Check can catch both assertion failures and
code errors that cause segmentation faults or other signals. The output from
unit tests can be used within source code editors and IDEs.

%package -n lib%name
Summary: A unit test framework for C (core library)
Group: Development/C
Conflicts: %name < 20070219:0.9.5-alt4

%description -n lib%name
Check is a unit test framework for C.

This package contains check library.

%package -n lib%name-devel
Summary: A unit test framework for C (development headers)
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: %name < 20070219:0.9.5-alt4

%description -n lib%name-devel
Check is a unit test framework for C.

This package contains library header files needed to build
software against libcheck.

%prep
%setup -q

%patch0 -p1

%build
%configure --disable-static
%make_build

%install
%make_install DESTDIR=%buildroot install

%post -n lib%name
%post_ldconfig
%install_info %name.info

%postun -n lib%name
%postun_ldconfig
%uninstall_info %name.info

%files

%files -n lib%name
%doc AUTHORS NEWS THANKS TODO
%_libdir/*.so.*
%_infodir/*info*

%files -n lib%name-devel
%doc doc/example/
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_datadir/aclocal/*

%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