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