Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-cmocka
mingw64-cmocka.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-cmocka.spec of Package mingw64-cmocka
# # spec file for package mingw64-cmocka # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global _mingw64_find_requires_exclude cmocka.dll %define _basename cmocka Name: mingw64-%{_basename} Version: 0.2.0 Release: 0 #!BuildIgnore: post-build-checks Summary: Lightweight library to simplify and generalize unit tests for C License: Apache-2.0 Group: Development/Libraries/C and C++ Url: http://open.cryptomilk.org/cmocka Source0: %{_basename}-%{version}.tar.bz2 Patch0: cmocka_win32.dif BuildRequires: mingw64-cross-cmake BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem %_mingw64_package_header_debug BuildArch: noarch %description There are a variety of C unit testing frameworks available however many of them are fairly complex and require the latest compiler technology. Some development requires the use of old compilers which makes it difficult to use some unit testing frameworks. In addition many unit testing frameworks assume the code being tested is an application or module that is targeted to the same platform that will ultimately execute the test. Because of this assumption many frameworks require the inclusion of standard C library headers in the code module being tested which may collide with the custom or incomplete implementation of the C library utilized by the code under test. Cmocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. Also, CMocka tries to avoid the use of some of the newer features of C compilers. This results in CMocka being a relatively small library that can be used to test a variety of exotic code. If a developer wishes to simply test an application with the latest compiler then other unit testing frameworks may be preferable. This is the successor of Google's Cmockery. %package devel Summary: Development headers Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel There are a variety of C unit testing frameworks available however many of them are fairly complex and require the latest compiler technology. Some development requires the use of old compilers which makes it difficult to use some unit testing frameworks. In addition many unit testing frameworks assume the code being tested is an application or module that is targeted to the same platform that will ultimately execute the test. Because of this assumption many frameworks require the inclusion of standard C library headers in the code module being tested which may collide with the custom or incomplete implementation of the C library utilized by the code under test. CMocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. Also, CMocka tries to avoid the use of some of the newer features of C compilers. This results in CMocka being a relatively small library that can be used to test a variety of exotic code. If a developer wishes to simply test an application with the latest compiler then other unit testing frameworks may be preferable. This is the successor of Google's Cmockery. %_mingw64_debug_package %prep %setup -q -n %{_basename}-%{version} %patch -P 0 -p1 %build %{_mingw64_cmake} %{_mingw64_cmake_build} %install %{_mingw64_cmake_install} %files %defattr(-,root,root,-) %{_mingw64_bindir}/libcmocka.dll %doc AUTHORS README ChangeLog COPYING %files devel %defattr(-,root,root,-) %{_mingw64_libdir}/libcmocka.dll.a %{_mingw64_includedir}/cmocka.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor