Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
gmock
gmock.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gmock.spec of Package gmock
%define soname 0 Name: gmock Version: 1.7.0 Release: 0 License: BSD-3-Clause Summary: Google C++ Mocking Framework Url: http://code.google.com/p/googletest Group: Development/Libraries/C and C++ Source: http://googlemock.googlecode.com/files/%{name}-%{version}.zip Patch0: 0001_Allow_make_install.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: unzip BuildRequires: googletest-devel #BuildRequires: pkgconfig(pthread-stubs) BuildRequires: pkgconfig(python2) %description Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in mind, Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes. %package -n libgmock%{soname} Summary: Google C++ Mocking Framework - Shared Libraries Group: System/Libraries %description -n libgmock%{soname} Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in mind, Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes. %package -n lib%{name}-devel Summary: Google C++ Mocking Framework - Development Files Group: Development/Libraries/C and C++ Requires: libgmock%{soname} = %{version}-%{release} %description -n lib%{name}-devel Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in mind, Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes. %prep %setup -q %patch0 -p1 autoreconf -vfi %build %configure --disable-static --enable-external-gtest make %{?_smp_mflags} %install %make_install # Remove libtool files find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -print -type f -delete %post -n libgmock%{soname} -p /sbin/ldconfig %postun -n libgmock%{soname} -p /sbin/ldconfig %files -n libgmock%{soname} %defattr(-,root,root) %doc CHANGES CONTRIBUTORS LICENSE README %{_libdir}/libgmock.so.%{soname}* %{_libdir}/libgmock_main.so.%{soname}* %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/gmock/ %{_libdir}/libgmock.so %{_libdir}/libgmock_main.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor