2 Summary: A unit test framework for C
5 Group: Development/Tools
7 URL: http://check.sourceforge.net/
8 Source0: %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: autoconf, automake, libtool, texinfo
14 Check is a unit test framework for C. It features a simple interface for
15 defining unit tests, putting little in the way of the developer. Tests
16 are run in a separate address space, so Check can catch both assertion
17 failures and code errors that cause segmentation faults or other signals.
18 The output from unit tests can be used within source code editors and IDEs.
23 Summary: Libraries and headers for developing programs with check
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
29 Libraries and headers for developing programs with check
33 %setup -q -n %{name}-%{version}
39 # Call make instruction with smp support
46 rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
53 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
60 %defattr(-,root,root,-)
61 %doc COPYING.LESSER README
62 %{_libdir}/libcheck.so.*
63 %doc %{_infodir}/check*
64 %doc /usr/share/doc/check
68 %defattr(-,root,root,-)
69 %{_includedir}/check.h
70 %{_libdir}/libcheck.so
71 %{_libdir}/pkgconfig/check.pc
72 %{_datadir}/aclocal/check.m4