63c98b4
# Force out of source build
63c98b4
%undefine __cmake_in_source_build
63c98b4
a5ac5b8
Name:           abseil-cpp
5a8fbe6
Version:        20200225.3
5a8fbe6
Release:        1%{?dist}
a5ac5b8
Summary:        C++ Common Libraries
a5ac5b8
a5ac5b8
License:        ASL 2.0
a5ac5b8
URL:            https://abseil.io
a5ac5b8
Source0:        https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
a5ac5b8
a5ac5b8
BuildRequires:  cmake
a5ac5b8
BuildRequires:  gcc-c++
a5ac5b8
a5ac5b8
%description
a5ac5b8
Abseil is an open-source collection of C++ library code designed to augment
a5ac5b8
the C++ standard library. The Abseil library code is collected from
a5ac5b8
Google's own C++ code base, has been extensively tested and used in
a5ac5b8
production, and is the same code we depend on in our daily coding lives.
a5ac5b8
a5ac5b8
In some cases, Abseil provides pieces missing from the C++ standard; in
a5ac5b8
others, Abseil provides alternatives to the standard for special needs we've
a5ac5b8
found through usage in the Google code base. We denote those cases clearly
a5ac5b8
within the library code we provide you.
a5ac5b8
a5ac5b8
Abseil is not meant to be a competitor to the standard library; we've just
a5ac5b8
found that many of these utilities serve a purpose within our code base,
a5ac5b8
and we now want to provide those resources to the C++ community as a whole.
a5ac5b8
a5ac5b8
%package devel
a5ac5b8
Summary: Development files for %{name}
a5ac5b8
Requires: %{name}%{?_isa} = %{version}-%{release}
a5ac5b8
a5ac5b8
%description devel
a5ac5b8
Development headers for %{name}
a5ac5b8
a5ac5b8
%prep
a5ac5b8
%autosetup
a5ac5b8
a5ac5b8
a5ac5b8
%build
63c98b4
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
63c98b4
%cmake_build
a5ac5b8
a5ac5b8
a5ac5b8
%install
63c98b4
%cmake_install
a5ac5b8
a5ac5b8
a5ac5b8
%files
a5ac5b8
%license LICENSE
a5ac5b8
%doc FAQ.md LTS.md README.md UPGRADES.md
a5ac5b8
%{_libdir}/libabsl_*.so
a5ac5b8
a5ac5b8
%files devel
a5ac5b8
%{_includedir}/absl
a5ac5b8
%{_libdir}/cmake/absl
a5ac5b8
a5ac5b8
%changelog
5a8fbe6
* Sat Dec 19 2020 Rich Mattes <richmattes@gmail.com> - 20200225.3-1
5a8fbe6
- Update to release 20200225.3
5a8fbe6
- Rebuild to fix koji tagging issue (rhbz#1885561)
5a8fbe6
0c16b9e
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200225.2-4
0c16b9e
- Second attempt - Rebuilt for
0c16b9e
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0c16b9e
71cf974
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200225.2-3
71cf974
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
71cf974
a5ac5b8
* Wed May 27 2020 Rich Mattes <richmattes@gmail.com> - 20200225.2-2
a5ac5b8
- Don't remove buildroot in install
a5ac5b8
a5ac5b8
* Sun May 24 2020 Rich Mattes <richmattes@gmail.com> - 20200225.2-1
a5ac5b8
- Initial package.