150 lines
4.6 KiB
RPMSpec
150 lines
4.6 KiB
RPMSpec
Name: check
|
|
Version: 0.15.2
|
|
Release: 3mamba
|
|
Summary: A unit test framework for C
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://sourceforge.net/projects/check
|
|
Source: https://github.com/libcheck/check/releases/download/%{version}/check-%{version}.tar.gz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires(post):%{__install_info}
|
|
|
|
%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 -n lib%{name}
|
|
Summary: Shared libraries provided with %{name}
|
|
Group: System/Libraries
|
|
|
|
%description -n lib%{name}
|
|
Check is a unit test framework for C.
|
|
This package contains the shared libraries provided with %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Summary: Static libraries and headers for %{name}
|
|
Group: Development/Libraries
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
Check is a unit test framework for C.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make CFLAGS="%{optflags} -fPIC"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
mv %{buildroot}%{_datadir}/doc/check \
|
|
%{buildroot}%{_datadir}/doc/check-%{version}
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post
|
|
%install_info %{pkgname}.info
|
|
:
|
|
|
|
%preun
|
|
%uninstall_info %{pkgname}.info
|
|
:
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/checkmk
|
|
%{_mandir}/man1/checkmk.1*
|
|
%{_infodir}/check.info.*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libcheck.so.*
|
|
%doc AUTHORS COPYING.LESSER
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/check.h
|
|
%{_includedir}/check_stdint.h
|
|
%{_libdir}/libcheck.a
|
|
%{_libdir}/libcheck.so
|
|
%{_libdir}/pkgconfig/check.pc
|
|
%{_datadir}/aclocal/check.m4
|
|
%{_datadir}/doc/check-%{version}/
|
|
|
|
%changelog
|
|
* Sun Apr 12 2026 Silvan Calarco <silvan@openmamba.org> 0.15.2-3mamba
|
|
- source renamed from libcheck to check
|
|
|
|
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.2-2mamba
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 0.15.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 25 2020 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 28 2020 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 22 2019 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 14 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.11.0-1mamba
|
|
- update to 0.11.0
|
|
|
|
* Mon Aug 10 2015 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Aug 20 2014 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 04 2014 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 10 2014 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 09 2013 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat May 04 2013 Automatic Build System <autodist@mambasoft.it> 0.9.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 07 2010 Automatic Build System <autodist@mambasoft.it> 0.9.8-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jan 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jun 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-2mamba
|
|
- specfile updated
|
|
|
|
* Thu Jan 18 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.5-1qilnx
|
|
- update to version 0.9.5 by autospec
|
|
|
|
* Tue Dec 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.3-1qilnx
|
|
- package created by autospec
|