Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
check
check.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check.spec of Package check
# # spec file for package check # # Copyright (c) 2017 SUSE LINUX 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/ # Name: check %define lname libcheck0 Version: 0.11.0 Release: 0 Summary: Unit Test Framework for C License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: https://libcheck.github.io/check/ Source: https://github.com/libcheck/check/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: libtool BuildRequires: makeinfo BuildRequires: pkg-config %description Check is a unit test framework for C. It features a simple interface for defining unit tests, limitating the developer the less possible. %package -n %lname Summary: Unit Test Framework for C Group: System/Libraries Obsoletes: check < %version-%release Provides: check = %version-%release %description -n %lname Check is a unit test framework for C. It features a simple interface for defining unit tests, limitating the developer the less possible. Tests are run in a separate address space, so Check cancatch both, assertion failures and code errors that cause segmentationfaults or other signals. The output of unit tests can be used within source code editors and IDEs. %package devel Summary: Development files for the CHECK unit test framework Group: Development/Libraries/C and C++ Requires: %lname = %version Requires: glibc-devel %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. %prep %setup -q %build autoreconf -fiv export CFLAGS="%{optflags} -std=gnu99" export CXXFLAGS="%{optflags} -std=gnu99" export FFLAGS="%{optflags} -std=gnu99" %configure --disable-static make %{?_smp_mflags} docdir=%{_docdir}/%{name} %install %make_install docdir=%{_docdir}/%{name} %{__cp} -a AUTHORS COPYING.LESSER NEWS THANKS TODO %{buildroot}%{_docdir}/%{name} %{__rm} -f %{buildroot}%{_libdir}/*.la # a little duplicate documentation… %fdupes %buildroot/%_datadir %post -n %lname -p /sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun -n %lname -p /sbin/ldconfig %preun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files -n %lname %defattr (-, root, root) %doc COPYING* %{_libdir}/*.so.* %files devel %defattr (-, root, root) %dir %{_datadir}/aclocal %{_datadir}/aclocal/*.m4 %{_includedir}/*.h %doc %{_infodir}/%{name}.info* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_docdir}/%{name}/ %{_bindir}/checkmk %{_mandir}/man1/checkmk.1%{?ext_man} %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