1 Summary: Google C++ Mocking Framework
6 Group: Development/Libraries
7 Source0: https://googlemock.googlecode.com/files/%{name}-%{version}.zip
8 # Source0-md5: f547f47321ca88d3965ca2efdcc2a3c1
10 URL: http://code.google.com/p/googlemock/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: gtest-devel >= 1.5.0
14 BuildRequires: libtool
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
20 specifics in mind, Google C++ Mocking Framework (or Google Mock for
21 short) is a library for writing and using C++ mock classes.
25 o lets you create mock classes trivially using simple macros,
26 o supports a rich set of matchers and actions,
27 o handles unordered, partially ordered, or completely ordered
29 o is extensible by users, and
30 o works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} -j1 install \
50 INSTALL="%{__install} -p" \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %defattr(644,root,root,755)
61 %doc CHANGES CONTRIBUTORS COPYING README
62 %attr(755,root,root) %{_bindir}/gmock-config
63 %{_includedir}/%{name}
65 %dir %{_datadir}/%{name}
66 %dir %{_datadir}/%{name}/generator
67 %attr(755,root,root) %{_datadir}/%{name}/generator/gmock_gen.py
68 %dir %{_datadir}/%{name}/generator/cpp
69 %attr(755,root,root) %{_datadir}/%{name}/generator/cpp/*.py
70 %{_prefix}/src/%{name}