Commit c6f0105b authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

tizen: Intial packaging of googletest-1.7.0

Formerly know as gtest,

Change-Id: If95d302cbfd47ba3d63c6acbd008d6b01d0a3ec3
Bug-IoTivity: https://jira.iotivity.org/browse/IOT-2241
Bug-Tizen: https://bugs.tizen.org/browse/SO-1063Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
parent d56b3fc4
Name: googletest
Version: 1.7.0
Release: 0
Summary: Lib for unit testing
Source: %{name}-%{version}.tar.gz
License: BSD-3-Clause
BuildRequires: make
%description
Lib for unit testing
%prep
%setup -q -n %{name}-%{version}
%build
%reconfigure
%__make
echo "TODO: make_install to preserve static lib"
rpm --eval '%make_install'
install -d "%{buildroot}/%{_includedir}/" "%{buildroot}/%{_libdir}/"
cp -rfa include/gtest "%{buildroot}/%{_includedir}/"
cp -a lib/.libs/lib*.a "%{buildroot}/%{_libdir}/"
touch debugsources.list
%clean
%files
%license LICENSE
%{_includedir}/*
%{_libdir}/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment