From a5ac5b821deb0f965554b3836aecef9ab0ef4f83 Mon Sep 17 00:00:00 2001 From: Rich Mattes Date: Sat, 27 Jun 2020 23:57:28 -0400 Subject: [PATCH] Initial import --- .gitignore | 1 + abseil-cpp.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+) create mode 100644 .gitignore create mode 100644 abseil-cpp.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa909c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/abseil-cpp-20200225.2.tar.gz diff --git a/abseil-cpp.spec b/abseil-cpp.spec new file mode 100644 index 0000000..4b26a9f --- /dev/null +++ b/abseil-cpp.spec @@ -0,0 +1,62 @@ +Name: abseil-cpp +Version: 20200225.2 +Release: 2%{?dist} +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++ + +%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 +%autosetup + + +%build +%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo +%make_build + + +%install +%make_install + + +%files +%license LICENSE +%doc FAQ.md LTS.md README.md UPGRADES.md +%{_libdir}/libabsl_*.so + +%files devel +%{_includedir}/absl +%{_libdir}/cmake/absl + +%changelog +* Wed May 27 2020 Rich Mattes - 20200225.2-2 +- Don't remove buildroot in install + +* Sun May 24 2020 Rich Mattes - 20200225.2-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..3e1be23 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (abseil-cpp-20200225.2.tar.gz) = 75a607dee825e83c10dcd5e509515461f1b12c4aca861e4739ac4d41357b8e893dbfbe33873aa5c05463dde0891dedd7535af2ec59f173de29488e1b1321b335