update to 1.8.1 [release 1.8.1-1mamba;Thu Aug 15 2019]
This commit is contained in:
parent
c97d19b457
commit
8096130c12
36
gmock.spec
36
gmock.spec
@ -1,5 +1,5 @@
|
|||||||
Name: gmock
|
Name: gmock
|
||||||
Version: 1.7.0
|
Version: 1.8.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Google C++ Mocking Framework
|
Summary: Google C++ Mocking Framework
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -7,7 +7,8 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://code.google.com/p/googlemock/
|
URL: http://code.google.com/p/googlemock/
|
||||||
Source: http://googlemock.googlecode.com/files/gmock-%{version}.zip
|
Source: https://github.com/google/googletest.git/release-%{version}/googletest-%{version}.tar.bz2
|
||||||
|
#Source: http://googlemock.googlecode.com/files/gmock-%{version}.zip
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -53,7 +54,7 @@ Google Mock:
|
|||||||
- is easy to learn and use.
|
- is easy to learn and use.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n googletest-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
@ -61,14 +62,15 @@ Google Mock:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -D -m0755 build/libgmock.so %{buildroot}%{_libdir}/libgmock.so
|
%makeinstall -C build
|
||||||
install -D -m0755 build/libgmock_main.so %{buildroot}%{_libdir}/libgmock_main.so
|
|
||||||
install -D -m0755 build/gtest/libgtest.so %{buildroot}%{_libdir}/libgtest.so
|
|
||||||
install -D -m0755 build/gtest/libgtest_main.so %{buildroot}%{_libdir}/libgtest_main.so
|
|
||||||
install -d -m0755 %{buildroot}/%{_includedir}
|
|
||||||
cp -a include/gmock %{buildroot}/%{_includedir}/
|
|
||||||
cp -a gtest/include/gtest %{buildroot}/%{_includedir}/
|
|
||||||
|
|
||||||
|
#install -D -m0755 build/libgmock.so %{buildroot}%{_libdir}/libgmock.so
|
||||||
|
#install -D -m0755 build/libgmock_main.so %{buildroot}%{_libdir}/libgmock_main.so
|
||||||
|
#install -D -m0755 build/gtest/libgtest.so %{buildroot}%{_libdir}/libgtest.so
|
||||||
|
#install -D -m0755 build/gtest/libgtest_main.so %{buildroot}%{_libdir}/libgtest_main.so
|
||||||
|
#install -d -m0755 %{buildroot}/%{_includedir}
|
||||||
|
#cp -a include/gmock %{buildroot}/%{_includedir}/
|
||||||
|
#cp -a gtest/include/gtest %{buildroot}/%{_includedir}/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -79,6 +81,7 @@ cp -a gtest/include/gtest %{buildroot}/%{_includedir}/
|
|||||||
%{_libdir}/libgmock_main.so
|
%{_libdir}/libgmock_main.so
|
||||||
%{_libdir}/libgtest.so
|
%{_libdir}/libgtest.so
|
||||||
%{_libdir}/libgtest_main.so
|
%{_libdir}/libgtest_main.so
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -88,15 +91,26 @@ cp -a gtest/include/gtest %{buildroot}/%{_includedir}/
|
|||||||
%dir %{_includedir}/gmock/internal
|
%dir %{_includedir}/gmock/internal
|
||||||
%{_includedir}/gmock/internal/*.h
|
%{_includedir}/gmock/internal/*.h
|
||||||
%{_includedir}/gmock/internal/*.pump
|
%{_includedir}/gmock/internal/*.pump
|
||||||
|
%dir %{_includedir}/gmock/internal/custom
|
||||||
|
%{_includedir}/gmock/internal/custom/*
|
||||||
%dir %{_includedir}/gtest
|
%dir %{_includedir}/gtest
|
||||||
%{_includedir}/gtest/*.h
|
%{_includedir}/gtest/*.h
|
||||||
%{_includedir}/gtest/*.pump
|
%{_includedir}/gtest/*.pump
|
||||||
%dir %{_includedir}/gtest/internal
|
%dir %{_includedir}/gtest/internal
|
||||||
%{_includedir}/gtest/internal/*.h
|
%{_includedir}/gtest/internal/*.h
|
||||||
%{_includedir}/gtest/internal/*.pump
|
%{_includedir}/gtest/internal/*.pump
|
||||||
%doc CHANGES CONTRIBUTORS README
|
%dir %{_includedir}/gtest/internal/custom
|
||||||
|
%{_includedir}/gtest/internal/custom/*
|
||||||
|
%{_libdir}/cmake/GTest/GTest*.cmake
|
||||||
|
%{_libdir}/pkgconfig/gmock.pc
|
||||||
|
%{_libdir}/pkgconfig/gmock_main.pc
|
||||||
|
%{_libdir}/pkgconfig/gtest.pc
|
||||||
|
%{_libdir}/pkgconfig/gtest_main.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
||||||
|
- update to 1.8.1
|
||||||
|
|
||||||
* Tue Aug 09 2016 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
* Tue Aug 09 2016 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user