124 lines
3.4 KiB
RPMSpec
124 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package check (Version 0.9.5)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: check
|
|
Version: 0.9.5
|
|
Release: 1
|
|
URL: http://check.sourceforge.net/
|
|
Group: Development/Libraries/C and C++
|
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|
Summary: Unit Test Framework for C
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Arien Malec <arien_malec@yahoo.com>
|
|
Fredrik Hugosson <hugo303@users.sourceforge.net>
|
|
Sven Neumann <sven@convergence.de>
|
|
|
|
%package devel
|
|
Group: Development/Libraries/C and C++
|
|
Summary: Unit Test Framework for C
|
|
Requires: %{name} = %{version}
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Arien Malec <arien_malec@yahoo.com>
|
|
Fredrik Hugosson <hugo303@users.sourceforge.net>
|
|
Sven Neumann <sven@convergence.de>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
|
|
|
|
%install
|
|
%makeinstall docdir=%{_docdir}/%{name}
|
|
cp -a AUTHORS COPYING THANKS TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%post devel
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%postun devel
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%files
|
|
%defattr (-, root, root)
|
|
%doc %dir %{_docdir}/%{name}
|
|
%doc %{_docdir}/%{name}/[ACNRST]*
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_datadir}/aclocal/*.m4
|
|
%{_includedir}/*.h
|
|
%doc %{_infodir}/%{name}.info*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.*a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc %{_docdir}/%{name}/example
|
|
|
|
%changelog
|
|
* Tue Mar 27 2007 - sbrabec@suse.cz
|
|
- Updated to version 0.9.5:
|
|
* Fixed code coverage support.
|
|
* Updated manual and converted from DocBook to Texinfo.
|
|
* Added pkg-config support.
|
|
* Added Libtool support to build both static and shared
|
|
libraries.
|
|
* Updated GNU Build System to use modern Autotools.
|
|
* Added a new kind of test, looping tests.
|
|
* Added possibility to turn off timeout tests.
|
|
* Added coverage analysis for check's own unit tests.
|
|
* More fixes and changes.
|
|
* Fri Feb 24 2006 - sbrabec@suse.cz
|
|
- Fixed format string error (David Binderman, #143293).
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Dec 12 2005 - sbrabec@suse.cz
|
|
- Updated to version 0.9.3.
|
|
- Build with -fPIC.
|
|
* Mon May 30 2005 - sbrabec@suse.cz
|
|
- New SuSE package, version 0.9.2.
|