2 Summary: Google C++ Testing Framework
6 # ==========================================================
8 # ==========================================================
10 Group: Definition/Libraries/C and C++
11 Source0: %{name}-%{version}.tar.gz
12 Source1001: %{name}.manifest
14 # ==========================================================
16 # specifies build-time dependencies for the package
17 # ==========================================================
19 Provides: libgtest_main.so.0 libgtest.so.0
20 Provides: libgmock_main.so.0 libgmock.so.0
23 Google's framework for writing C++ tests on a variety of platforms (Linux, Mac
24 OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit
25 architecture. Supports automatic test discovery, a rich set of assertions,
26 user-defined assertions, death tests, fatal and non-fatal failures, value- and
27 type-parameterized tests, various options for running the tests, and XML test
32 Summary: Google C++ Testing Framework
33 Requires: %{name} = %{version}
36 Google C++ Testing Framework
43 # ==========================================================
45 # how to actually build the software we are packaging
46 # ==========================================================
51 %{__make} %{?_smp_mflags}
55 # ==========================================================
57 # how to actually build the software we are packaging
58 # ==========================================================
64 rm -f %{buildroot}/%{_includedir}/gmock/internal/custom/README.md
65 rm -f %{buildroot}/%{_includedir}/gtest/internal/custom/README.md
69 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
73 # ==========================================================
75 # The list of files that will be installed in the end
77 # ==========================================================
79 %manifest %{name}.manifest
84 %manifest %{name}.manifest
86 %{_libdir}/pkgconfig/*.pc
87 %{_includedir}/gmock/*.h
88 %{_includedir}/gmock/*.h.pump
89 %{_includedir}/gmock/internal/*.h
90 %{_includedir}/gmock/internal/custom/*.h
91 %{_includedir}/gmock/internal/custom/*.h.pump
92 %{_includedir}/gtest/*.h
93 %{_includedir}/gtest/internal/*.h
94 %{_includedir}/gtest/internal/*.h.pump
95 %{_includedir}/gtest/internal/custom/*.h
96 %{_libdir}/cmake/GTest/*.cmake