]> git.pld-linux.org Git - packages/cmocka.git/blob - cmocka.spec
- updated to 1.1.7
[packages/cmocka.git] / cmocka.spec
1 Summary:        Fork of Google's cmockery unit testing framework
2 Summary(pl.UTF-8):      Odgałęzienie szkieletu testów jednostkowych cmockery Google'a
3 Name:           cmocka
4 Version:        1.1.1
5 Release:        1
6 License:        Apache v2.0
7 Group:          Libraries
8 Source0:        https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz
9 # Source0-md5:  6fbff4e42589566eda558db98b97623e
10 URL:            https://cmocka.org/
11 BuildRequires:  cmake >= 2.6.0
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  xz
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 cmocka is a fork for Google's cmockery unit testing framework
18 (<https://github.com/google/cmockery>) to fix bugs and support it in
19 future.
20
21 %description -l pl.UTF-8
22 cmocka to odgałęzienie szkieletu testów jednostkowych cmockery
23 Google'a (<https://github.com/google/cmockery>) mające na celu
24 poprawienie błędów i wsparcie w przyszłości.
25
26 %package devel
27 Summary:        Development files for cmocka framework
28 Summary(pl.UTF-8):      Pliki programistyczne szkieletu cmocka
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Development files for cmocka framework.
34
35 %description devel -l pl.UTF-8
36 Pliki programistyczne szkieletu cmocka.
37
38 %prep
39 %setup -q
40
41 %build
42 install -d build
43 cd build
44 %cmake ..
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} -C build install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README
62 %attr(755,root,root) %{_libdir}/libcmocka.so.*.*.*
63 %attr(755,root,root) %ghost %{_libdir}/libcmocka.so.0
64
65 %files devel
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_libdir}/libcmocka.so
68 %{_includedir}/cmocka.h
69 %{_includedir}/cmocka_pbc.h
70 %{_pkgconfigdir}/cmocka.pc
71 %{_libdir}/cmake/cmocka
This page took 0.054788 seconds and 3 git commands to generate.