From 14f3287ff4680110cbec922c555445555292f891 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 9 Aug 2024 00:10:11 +0200 Subject: [PATCH] legacy package [release 20240116.2-3mamba;Tue Aug 06 2024] --- README.md | 2 + abseil-cpp-20230802.1-scoped-mock-log.patch | 12 ++ abseil-cpp2401.spec | 134 ++++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 abseil-cpp-20230802.1-scoped-mock-log.patch create mode 100644 abseil-cpp2401.spec diff --git a/README.md b/README.md index 0101289..e113a3e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # abseil-cpp2401 +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. + diff --git a/abseil-cpp-20230802.1-scoped-mock-log.patch b/abseil-cpp-20230802.1-scoped-mock-log.patch new file mode 100644 index 0000000..6eb93cf --- /dev/null +++ b/abseil-cpp-20230802.1-scoped-mock-log.patch @@ -0,0 +1,12 @@ +diff --git a/absl/log/CMakeLists.txt b/absl/log/CMakeLists.txt +index 78adbf1d..b64822dd 100644 +--- a/absl/log/CMakeLists.txt ++++ b/absl/log/CMakeLists.txt +@@ -637,7 +637,6 @@ absl_cc_library( + GTest::gmock + GTest::gtest + PUBLIC +- TESTONLY + ) + + absl_cc_library( diff --git a/abseil-cpp2401.spec b/abseil-cpp2401.spec new file mode 100644 index 0000000..2d06c86 --- /dev/null +++ b/abseil-cpp2401.spec @@ -0,0 +1,134 @@ +Name: abseil-cpp2401 +Version: 20240116.2 +Release: 3mamba +Summary: An open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://abseil.io/ +Source: https://github.com/abseil/abseil-cpp.git/%{version}/abseil-cpp-%{version}.tar.bz2 +Patch0: abseil-cpp-20230802.1-scoped-mock-log.patch +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libgmock-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: libgmock-devel >= 0:1.15.0-1mamba +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. + +%package -n lib%{name} +Group: System/Libraries +Summary: An open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library + +%description -n lib%{name} +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +# Don't clean build at the end +%global __spec_rmbuild_cmd /bin/true + +%global __requires_exclude ^pkgconfig\\(absl_random_internal_mock_overload_set\\) + +%prep +%setup -q -n abseil-cpp-%{version} +%patch 0 -p1 -b .scoped-mock-log + +%build +%cmake -d build \ + -DCMAKE_CXX_STANDARD=17 \ + -DBUILD_SHARED_LIBS=ON \ + -DABSL_BUILD_TEST_HELPERS=ON \ + -DABSL_USE_EXTERNAL_GOOGLETEST=ON \ + -DABSL_FIND_GOOGLETEST=ON + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libabsl_*.so.* +%doc AUTHORS LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/absl +%{_includedir}/absl/* +%{_libdir}/libabsl_*.so +%{_libdir}/pkgconfig/absl_*.pc +%dir %{_libdir}/cmake/absl +%{_libdir}/cmake/absl/absl*.cmake +%doc README.md + +%changelog +* Tue Aug 06 2024 Silvan Calarco 20240116.2-3mamba +- legacy package + +* Sat Jul 27 2024 Automatic Build System 20240116.2-2mamba +- rebuilt by autoport with build requirements: libgmock-devel>=0:1.15.0-1mamba + +* Tue Apr 09 2024 Automatic Build System 20240116.2-1mamba +- automatic version update by autodist + +* Fri Feb 16 2024 Automatic Build System 20240116.1-1mamba +- automatic version update by autodist + +* Tue Jan 30 2024 Automatic Build System 20240116.0-1mamba +- automatic version update by autodist + +* Thu Sep 21 2023 Silvan Calarco 20230802.1-2mamba +- path: scoped-mock-log: fix protobuf build (ref. https://github.com/abseil/abseil-cpp/issues/1407) + +* Tue Sep 19 2023 Automatic Build System 20230802.1-1mamba +- automatic version update by autodist + +* Sat Aug 12 2023 Automatic Build System 20230802.0-1mamba +- automatic version update by autodist + +* Fri May 05 2023 Automatic Build System 20230125.3-1mamba +- automatic version update by autodist + +* Tue Mar 28 2023 Automatic Build System 20230125.2-1mamba +- automatic version update by autodist + +* Sat Feb 18 2023 Automatic Build System 20230125.1-1mamba +- automatic version update by autodist + +* Sat Jan 28 2023 Automatic Build System 20230125.0-1mamba +- automatic version update by autodist + +* Thu Sep 01 2022 Automatic Build System 20220623.1-1mamba +- automatic version update by autodist + +* Thu Jun 30 2022 Automatic Build System 20220623.0-1mamba +- automatic version update by autodist + +* Sun Feb 06 2022 Silvan Calarco 20211102.0-1mamba +- package created using the webbuild interface