Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:GA
googletest
googletest.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File googletest.spec of Package googletest
# # spec file for package googletest # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _name googlemock Name: googletest Version: 1.8.0 Release: 0 Summary: Google C++ Testing Framework License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: https://github.com/google/googletest # download URL: https://github.com/google/googletest/archive/release-%{version}.tar.gz Source0: %{name}-release-%{version}.tar.gz Source1: googletest-rpmlintrc # PATCH-FIX-UPSTREAM googletest-fix-cmake-libdir-install.patch luc14n0@linuxmail.org -- enable the use of /usr/lib(64) instead of /usr/local/lib(64). Patch0: googletest-fix-cmake-libdir-install.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: python BuildRequires: pkgconfig(pthread-stubs) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Google\'s framework for writing C++ tests on a variety of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation. %package -n gtest Summary: Google C++ Testing Framework - Development files Group: Development/Libraries/C and C++ Recommends: %{_name} = %{version} Obsoletes: %{name}-devel < %{version} Obsoletes: lib%{name}0 < %{version} Provides: %{name}-devel = %{version} %description -n gtest Google\'s framework for writing C++ tests on a variety of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation. This package provides shared libraries and header files for development with googletest. %package -n gmock Summary: Google C++ Mocking Framework - Development files Group: Development/Libraries/C and C++ Recommends: %{name} = %{version} Provides: %{_name}-devel %description -n gmock 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. This package provides shared libraries and header files for development with googlemock. %prep %setup -q -n %{name}-release-%{version} %patch0 -p1 %build %cmake %make_jobs %install %cmake_install # Install the source code needed by some applications mkdir -p %{buildroot}%{_includedir}/gmock/src && install -m 0644 googlemock/src/* %{buildroot}%{_includedir}/gmock/src mkdir -p %{buildroot}%{_includedir}/gtest/src && install -m 0644 googletest/src/* %{buildroot}%{_includedir}/gtest/src %files -n gtest %defattr(-, root, root) %doc %{name}/CHANGES %{name}/CONTRIBUTORS %{name}/LICENSE %{name}/README.md %{_libdir}/libgtest.so %{_libdir}/libgtest_main.so %{_includedir}/gtest %files -n gmock %defattr(-, root, root) %doc %{_name}/CHANGES %{_name}/CONTRIBUTORS %{_name}/LICENSE %{_name}/README.md %{_libdir}/libgmock.so %{_libdir}/libgmock_main.so %{_includedir}/gmock %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