diff --git a/abseil-cpp-20210324.2.tar.gz b/abseil-cpp-20210324.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..57dbb8dcf7a445a306553fa55df11ee2d9d2e61a Binary files /dev/null and b/abseil-cpp-20210324.2.tar.gz differ diff --git a/abseil-cpp.spec b/abseil-cpp.spec new file mode 100644 index 0000000000000000000000000000000000000000..e1e4bd392d985de4849e00456015779bb5d2a447 --- /dev/null +++ b/abseil-cpp.spec @@ -0,0 +1,66 @@ +# Force out of source build +%undefine __cmake_in_source_build +%lib_version 2103.0.1 +Name: abseil-cpp +Version: 20210324.2 +Release: 1 +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 + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: make +Conflicts: grpc < 1.31.0-5 + +%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} +Conflicts: grpc < 1.31.0-5 + +%description devel +Development headers for %{name} + +%prep +%autosetup -p1 + +%build +%cmake + +%install +%make_install + +%files +%license LICENSE +%doc FAQ.md README.md UPGRADES.md +%{_libdir}/libabsl_*.so.%{lib_version} + +%files devel +%{_includedir}/absl +%{_libdir}/cmake/absl +%{_libdir}/libabsl_*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Fri Oct 15 2021 licihua - 20210324.2-1 +- update to 20210324.2 + +* Mon Sep 27 2021 licihua - 20200923.3-1 +- package init diff --git a/abseil-cpp.yaml b/abseil-cpp.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5414edbbc14f73a38e3c524e1a5b8159db62df27 --- /dev/null +++ b/abseil-cpp.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: abseil/abseil-cpp +tag_prefix: ^v +separator: .