[521] | 1 | Summary: A unit test framework for C |
---|
| 2 | Summary(ja): C 言語用単体テストフレームワーク |
---|
| 3 | Name: check |
---|
[9086] | 4 | Version: 0.9.14 |
---|
[7064] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: LGPL |
---|
[9086] | 7 | Group: System Environment/Libraries |
---|
[521] | 8 | URL: http://check.sourceforge.net/ |
---|
[9086] | 9 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
[521] | 10 | Patch0: %{name}-examples-bootstrap.patch |
---|
[9086] | 11 | |
---|
[521] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: docbook-utils |
---|
[9086] | 14 | BuildRequires: texinfo |
---|
[521] | 15 | Requires(post,preun): /sbin/install-info |
---|
| 16 | |
---|
[890] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: USAMI Kosuke <usami-k@yc5.so-net.ne.jp> |
---|
[521] | 20 | |
---|
| 21 | %description |
---|
| 22 | Check is a unit test framework for C. It features a simple interface |
---|
| 23 | for defining unit tests, putting little in the way of the developer. |
---|
| 24 | Tests are run in a separate address space, so Check can catch both |
---|
| 25 | assertion failures and code errors that cause segmentation faults or |
---|
| 26 | other signals. The output from unit tests can be used within source |
---|
| 27 | code editors and IDEs. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Libraries and headers for developing programs with check |
---|
| 32 | Summary(ja): Check を使ったプログラム開発用ライブラリとヘッダファイル |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: pkgconfig |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | Libraries and headers for developing programs with check |
---|
| 39 | |
---|
| 40 | |
---|
[7064] | 41 | %package tools |
---|
| 42 | Summary: The tools for %{name} |
---|
| 43 | Summary(ja): Check 用のツール |
---|
[9086] | 44 | Group: Development/Tools |
---|
[7064] | 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | |
---|
| 47 | %description tools |
---|
| 48 | This package contains check tool "chkckmk". |
---|
| 49 | checkmk, a tool for reducing "boilerplate coding" when writing unit tests with check. |
---|
| 50 | |
---|
| 51 | |
---|
[521] | 52 | %prep |
---|
| 53 | %setup -q |
---|
| 54 | %patch0 -p1 |
---|
| 55 | |
---|
| 56 | %build |
---|
[890] | 57 | %configure --disable-static |
---|
| 58 | make %{?_smp_mflags} |
---|
[521] | 59 | |
---|
| 60 | |
---|
| 61 | %install |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | %makeinstall |
---|
| 64 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 65 | rm -rf $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 66 | |
---|
| 67 | rm -rf example |
---|
| 68 | cp -pr $RPM_BUILD_ROOT%{_datadir}/doc/check/example . |
---|
| 69 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/check |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %post |
---|
| 77 | /sbin/ldconfig |
---|
| 78 | /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %postun -p /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | %preun |
---|
| 84 | if [ $1 = 0 ]; then |
---|
| 85 | /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
| 86 | fi |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %files |
---|
| 90 | %defattr(-,root,root) |
---|
| 91 | %doc AUTHORS COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog |
---|
| 92 | %{_libdir}/libcheck.so.* |
---|
| 93 | %{_infodir}/check.info* |
---|
| 94 | |
---|
| 95 | %files devel |
---|
| 96 | %defattr(-,root,root) |
---|
| 97 | %doc example |
---|
| 98 | %{_includedir}/check.h |
---|
[8369] | 99 | %{_includedir}/check_stdint.h |
---|
[521] | 100 | %{_libdir}/libcheck.so |
---|
| 101 | %{_libdir}/pkgconfig/check.pc |
---|
| 102 | %{_datadir}/aclocal/check.m4 |
---|
| 103 | |
---|
[7064] | 104 | %files tools |
---|
| 105 | %defattr(-,root,root) |
---|
| 106 | %{_bindir}/checkmk |
---|
| 107 | %{_mandir}/man1/checkmk.1.gz |
---|
| 108 | |
---|
| 109 | |
---|
[521] | 110 | %changelog |
---|
[9086] | 111 | * Thu Nov 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.14-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[8369] | 114 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[7064] | 117 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1 |
---|
| 118 | - new upstream release |
---|
| 119 | - create %{name}-tools sub package |
---|
| 120 | |
---|
[1958] | 121 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.8-2 |
---|
| 122 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 123 | |
---|
[890] | 124 | * Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.8-1 |
---|
| 125 | - new upstream release |
---|
| 126 | - dropt Patch1 |
---|
| 127 | |
---|
[521] | 128 | * Mon May 26 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.5-2 |
---|
| 129 | - spec in UTF-8 |
---|
| 130 | - split devel subpackage |
---|
| 131 | |
---|
| 132 | * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.5-1vl5 |
---|
| 133 | - new upstream release |
---|
| 134 | - updated Patch1 |
---|
| 135 | |
---|
| 136 | * Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.9.3-0vl2 |
---|
| 137 | - enable -fPIC to build gstreamer on x86_64 |
---|
| 138 | |
---|
| 139 | * Mon Jan 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.9.3-0vl1 |
---|
| 140 | - upstream release |
---|
| 141 | - add BuildRequires: docbook-utils instead of lyx |
---|
| 142 | |
---|
| 143 | * Fri Aug 1 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.8.4-0vl2 |
---|
| 144 | - Rebuild for new Vine. |
---|
| 145 | |
---|
| 146 | * Wed Jun 18 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 0.8.4-0vl1 |
---|
| 147 | - Initial build. |
---|
| 148 | |
---|