abseil-cpp/abseil-cpp.spec

86 lines
2.5 KiB
RPMSpec
Raw Normal View History

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