From ebf81f4b4dfa9073c58c6053238a63bb9a7fbc7e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:59:56 +0100 Subject: [PATCH] automatic version update by autodist [release 0.9.12-1mamba;Thu Apr 10 2014] --- README.md | 5 +++ libcheck.spec | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 libcheck.spec diff --git a/README.md b/README.md index 9c30b2d..5df71f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libcheck +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. + diff --git a/libcheck.spec b/libcheck.spec new file mode 100644 index 0000000..8acfd57 --- /dev/null +++ b/libcheck.spec @@ -0,0 +1,120 @@ +%define pkgname check + +Name: libcheck +Version: 0.9.12 +Release: 1mamba +Summary: A unit test framework for C +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://sourceforge.net/projects/check +Source: http://downloads.sourceforge.net/sourceforge/check/check-%{version}.tar.gz +License: LGPL +Requires(post):%{__install_info} +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME : checking for docbook2html... no + +%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 devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n check-%{version} + +%build +%configure +make CFLAGS="%{optflags} -fPIC" + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +mv %{buildroot}%{_datadir}/doc/check \ + %{buildroot}%{_datadir}/doc/check-%{version} + +# libcheck_pic library needed by gstreamer 0.10 +#ln -s libcheck.so %{buildroot}%{_libdir}/libcheck_pic.so +#cp %{buildroot}%{_libdir}/libcheck.la \ +# %{buildroot}%{_libdir}/libcheck_pic.la + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +%install_info %{pkgname}.info +exit 0 + +%preun devel +%uninstall_info %{pkgname}.info +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/checkmk +%{_mandir}/man1/checkmk.1.gz +%{_libdir}/libcheck.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/libcheck.a +%{_libdir}/libcheck.la +#%{_libdir}/libcheck_pic.la +%{_libdir}/libcheck.so +#%{_libdir}/libcheck_pic.so +%{_libdir}/pkgconfig/check.pc +%{_datadir}/aclocal/check.m4 +%{_datadir}/doc/check-%{version}/ +%{_includedir}/check.h +%{_includedir}/check_stdint.h +%{_infodir}/%{pkgname}.info.* + +%changelog +* Thu Apr 10 2014 Automatic Build System 0.9.12-1mamba +- automatic version update by autodist + +* Sat Nov 09 2013 Automatic Build System 0.9.11-1mamba +- automatic update by autodist + +* Sat May 04 2013 Automatic Build System 0.9.10-1mamba +- automatic version update by autodist + +* Sun Dec 02 2012 Automatic Build System 0.9.9-1mamba +- automatic version update by autodist + +* Fri May 07 2010 Automatic Build System 0.9.8-1mamba +- automatic update by autodist + +* Thu Jan 29 2009 Silvan Calarco 0.9.6-1mamba +- automatic update by autodist + +* Thu Jun 05 2008 Silvan Calarco 0.9.5-2mamba +- specfile updated + +* Thu Jan 18 2007 Davide Madrisan 0.9.5-1qilnx +- update to version 0.9.5 by autospec + +* Tue Dec 13 2005 Davide Madrisan 0.9.3-1qilnx +- package created by autospec