Accepting request 738575 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/738575 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=6
This commit is contained in:
parent
1fd9cb7619
commit
802c351a64
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3
|
||||
size 182055
|
1
_service
1
_service
@ -5,6 +5,7 @@
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">abseil-cpp</param>
|
||||
<param name="versionformat">%cd</param>
|
||||
<param name="revision">61c9bf3e3e1c28a4aa6d7f1be4b37fd473bb5529</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/abseil/abseil-cpp</param>
|
||||
<param name="changesrevision">13327debebc5c2d1d4991b69fe50450e340e50e4</param></service></servicedata>
|
||||
<param name="changesrevision">61c9bf3e3e1c28a4aa6d7f1be4b37fd473bb5529</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c74cc6de56af6e1ad2c4deda41e273f1cbc2599a631b568a10d4a3412ab0b9b5
|
||||
size 797244
|
3
abseil-cpp-20190605.tar.xz
Normal file
3
abseil-cpp-20190605.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8126ae4baf000ada03730fdd849a41ecc83012186e493534192994e8ed1b13db
|
||||
size 872468
|
5
abseil-cpp-rpmlintrc
Normal file
5
abseil-cpp-rpmlintrc
Normal file
@ -0,0 +1,5 @@
|
||||
# This is a source package and /usr/src, warnings below are not important in
|
||||
# that case.
|
||||
addFilter("abseil-cpp-source.* suse-filelist-forbidden-fhs23")
|
||||
addFilter("abseil-cpp-source.* hidden-file-or-dir")
|
||||
addFilter("abseil-cpp-source.* non-executable-script")
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 11:07:09 UTC 2019 - mrostecki@opensuse.org
|
||||
|
||||
- Update to version 20190605:
|
||||
* avoid use of undefined ABSL_HAVE_ELF_MEM_IMAGE
|
||||
* Avoid undefined behavior when nullptr is passed to memcpy with size 0
|
||||
* CMake: Set correct flags for clang-cl
|
||||
* Adding linking of CoreFoundation to CMakeLists in absl/time as
|
||||
time_zone_lookup.cc includes CoreFoundation
|
||||
* Implement Span::first and Span::last from C++20
|
||||
* Changed HTTP URLs to HTTPS where possible
|
||||
* Fix GCC8 warnings
|
||||
* Fix library order for Conan package
|
||||
* _umul128 is not available on Windows ARM64
|
||||
* Add note at top that this is supported best-effort
|
||||
* Update Conan author
|
||||
* Add Conan topics
|
||||
* Remove cctz as external dependency
|
||||
* Add Conan recipe
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 17:14:48 UTC 2019 - Michał Rostecki <mrostecki@opensuse.org>
|
||||
|
||||
- Add source package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 11:22:19 UTC 2019 - Michał Rostecki <mrostecki@opensuse.org>
|
||||
|
||||
|
323
abseil-cpp.spec
323
abseil-cpp.spec
@ -19,27 +19,24 @@
|
||||
%define sover 0
|
||||
%define libname libabseil%{sover}
|
||||
|
||||
%define build_folder bazel-bin/_solib_%{_arch}/
|
||||
%ifarch x86_64
|
||||
%define build_folder bazel-bin/_solib_k8/
|
||||
%endif
|
||||
%ifarch ppc64 ppc64le
|
||||
%define build_folder bazel-bin/_solib_ppc/
|
||||
%endif
|
||||
%define src_install_dir /usr/src/%{name}
|
||||
|
||||
Name: abseil-cpp
|
||||
Version: 20181127
|
||||
Version: 20190605
|
||||
Release: 0
|
||||
Summary: C++11 libraries which augment the C++ stdlib
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://abseil.io/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/bazelbuild/bazel-toolchains/archive/bc09b995c137df042bb80a395b73d7ce6f26afbe.tar.gz
|
||||
Source2: https://github.com/google/googletest/archive/b4d4438df9479675a632b2f11125e57133822ece.zip
|
||||
Source3: https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip
|
||||
BuildRequires: bazel0.19
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRequires: bazel-rules-cc-source
|
||||
BuildRequires: bazel-workspaces
|
||||
BuildRequires: bazel0.29
|
||||
BuildRequires: benchmark-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gmock
|
||||
BuildRequires: gtest
|
||||
BuildRequires: patchelf
|
||||
|
||||
@ -67,214 +64,158 @@ Development files for Abseil, a collection of C++11 libraries
|
||||
which augment the C++ standard library. It also provides
|
||||
features incorporated into C++14 and C++17 standards.
|
||||
|
||||
%package source
|
||||
Summary: Source code of Abseil
|
||||
Group: Development/Sources
|
||||
|
||||
%description source
|
||||
Source code of Abseil, a collection of C++11 libraries
|
||||
which augment the C++ standard library. It also provides
|
||||
features incorporated into C++14 and C++17 standards.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
TARGETS=$(bazel query '//... except kind(.*test, //...)')
|
||||
bazel build \
|
||||
-c dbg \
|
||||
--color=no \
|
||||
%(for opt in %{optflags}; do echo -e "--copt=${opt} \c"; done) \
|
||||
--curses=no \
|
||||
--distdir=%{_sourcedir} \
|
||||
--genrule_strategy=standalone \
|
||||
--host_javabase=@local_jdk//:jdk \
|
||||
--override_repository="com_github_google_benchmark=%{_datadir}/bazel-workspaces/benchmark" \
|
||||
--override_repository="com_google_googletest=%{_datadir}/bazel-workspaces/gtest" \
|
||||
--override_repository="rules_cc=/usr/src/bazel-rules-cc" \
|
||||
--spawn_strategy=standalone \
|
||||
--strip=never \
|
||||
--verbose_failures \
|
||||
//...
|
||||
${TARGETS}
|
||||
bazel shutdown
|
||||
|
||||
%install
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibbase.so %{buildroot}%{_libdir}/libabsl_base_libbase.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibdynamic_Uannotations.so %{buildroot}%{_libdir}/libabsl_base_libdynamic_annotations.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibexception_Usafety_Utesting.so %{buildroot}%{_libdir}/libabsl_base_libexception_safety_testing.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibmalloc_Uinternal.so %{buildroot}%{_libdir}/libabsl_base_libmalloc_internal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibspinlock_Uwait.so %{buildroot}%{_libdir}/libabsl_base_libspinlock_wait.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sbase_Slibthrow_Udelegate.so %{buildroot}%{_libdir}/libabsl_base_libthrow_delegate.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Scontainer_Slibhash_Ugenerator_Utesting.so %{buildroot}%{_libdir}/libabsl_container_libhash_generator_testing.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Scontainer_Slibraw_Uhash_Uset.so %{buildroot}%{_libdir}/libabsl_container_libraw_hash_set.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Scontainer_Slibtest_Uinstance_Utracker.so %{buildroot}%{_libdir}/libabsl_container_libtest_instance_tracker.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibdebugging_Uinternal.so %{buildroot}%{_libdir}/libabsl_debugging_libdebugging_internal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibdemangle_Uinternal.so %{buildroot}%{_libdir}/libabsl_debugging_libdemangle_internal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibexamine_Ustack.so %{buildroot}%{_libdir}/libabsl_debugging_libexamine_stack.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibfailure_Usignal_Uhandler.so %{buildroot}%{_libdir}/libabsl_debugging_libfailure_signal_handler.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibleak_Ucheck_Uapi_Udisabled_Ufor_Utesting.so %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_disabled_for_testing.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibleak_Ucheck_Uapi_Uenabled_Ufor_Utesting.so %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_enabled_for_testing.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibstacktrace.so %{buildroot}%{_libdir}/libabsl_debugging_libstacktrace.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibstack_Uconsumption.so %{buildroot}%{_libdir}/libabsl_debugging_libstack_consumption.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sdebugging_Slibsymbolize.so %{buildroot}%{_libdir}/libabsl_debugging_libsymbolize.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Shash_Slibcity.so %{buildroot}%{_libdir}/libabsl_hash_libcity.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Shash_Slibhash.so %{buildroot}%{_libdir}/libabsl_hash_libhash.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Snumeric_Slibint128.so %{buildroot}%{_libdir}/libabsl_numeric_libint128.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sstrings_Slibinternal.so %{buildroot}%{_libdir}/libabsl_strings_libinternal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sstrings_Slibstrings.so %{buildroot}%{_libdir}/libabsl_strings_libstrings.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Sstrings_Slibstr_Uformat_Uinternal.so %{buildroot}%{_libdir}/libabsl_strings_libstr_format_internal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Ssynchronization_Slibgraphcycles_Uinternal.so %{buildroot}%{_libdir}/libabsl_synchronization_libgraphcycles_internal.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Ssynchronization_Slibper_Uthread_Usem_Utest_Ucommon.so %{buildroot}%{_libdir}/libabsl_synchronization_libper_thread_sem_test_common.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Ssynchronization_Slibsynchronization.so %{buildroot}%{_libdir}/libabsl_synchronization_libsynchronization.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stime_Sinternal_Scctz_Slibcivil_Utime.so %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libcivil_time.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stime_Sinternal_Scctz_Slibtime_Uzone.so %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libtime_zone.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stime_Slibtest_Uutil.so %{buildroot}%{_libdir}/libabsl_time_libtest_util.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stime_Slibtime.so %{buildroot}%{_libdir}/libabsl_time_libtime.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stypes_Slibbad_Uany_Ucast_Uimpl.so %{buildroot}%{_libdir}/libabsl_types_libbad_any_cast_impl.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stypes_Slibbad_Uoptional_Uaccess.so %{buildroot}%{_libdir}/libabsl_types_libbad_optional_access.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stypes_Slibbad_Uvariant_Uaccess.so %{buildroot}%{_libdir}/libabsl_types_libbad_variant_access.so.%{sover}
|
||||
install -D -m0755 %{build_folder}/libabsl_Stypes_Sliboptional.so %{buildroot}%{_libdir}/libabsl_types_liboptional.so.%{sover}
|
||||
# We can't patchelf libraries in the build step, because bazel saves the build
|
||||
# output in protected read-only directory.
|
||||
patchelf --set-soname libabsl_base_libbase.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libbase.so.%{sover}
|
||||
patchelf --set-soname libabsl_base_libdynamic_annotations.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libdynamic_annotations.so.%{sover}
|
||||
patchelf --set-soname libabsl_base_libexception_safety_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libexception_safety_testing.so.%{sover}
|
||||
patchelf --set-soname libabsl_base_libmalloc_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libmalloc_internal.so.%{sover}
|
||||
patchelf --set-soname libabsl_base_libspinlock_wait.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libspinlock_wait.so.%{sover}
|
||||
patchelf --set-soname libabsl_base_libthrow_delegate.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libthrow_delegate.so.%{sover}
|
||||
patchelf --set-soname libabsl_container_libhash_generator_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libhash_generator_testing.so.%{sover}
|
||||
patchelf --set-soname libabsl_container_libraw_hash_set.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libraw_hash_set.so.%{sover}
|
||||
patchelf --set-soname libabsl_container_libtest_instance_tracker.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libtest_instance_tracker.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libdebugging_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libdebugging_internal.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libdemangle_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libdemangle_internal.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libexamine_stack.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libexamine_stack.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libfailure_signal_handler.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libfailure_signal_handler.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libleak_check_api_disabled_for_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_disabled_for_testing.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libleak_check_api_enabled_for_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_enabled_for_testing.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libstacktrace.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libstacktrace.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libstack_consumption.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libstack_consumption.so.%{sover}
|
||||
patchelf --set-soname libabsl_debugging_libsymbolize.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libsymbolize.so.%{sover}
|
||||
patchelf --set-soname libabsl_hash_libcity.so.%{sover} %{buildroot}%{_libdir}/libabsl_hash_libcity.so.%{sover}
|
||||
patchelf --set-soname libabsl_hash_libhash.so.%{sover} %{buildroot}%{_libdir}/libabsl_hash_libhash.so.%{sover}
|
||||
patchelf --set-soname libabsl_numeric_libint128.so.%{sover} %{buildroot}%{_libdir}/libabsl_numeric_libint128.so.%{sover}
|
||||
patchelf --set-soname libabsl_strings_libinternal.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libinternal.so.%{sover}
|
||||
patchelf --set-soname libabsl_strings_libstrings.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libstrings.so.%{sover}
|
||||
patchelf --set-soname libabsl_strings_libstr_format_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libstr_format_internal.so.%{sover}
|
||||
patchelf --set-soname libabsl_synchronization_libgraphcycles_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libgraphcycles_internal.so.%{sover}
|
||||
patchelf --set-soname libabsl_synchronization_libper_thread_sem_test_common.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libper_thread_sem_test_common.so.%{sover}
|
||||
patchelf --set-soname libabsl_synchronization_libsynchronization.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libsynchronization.so.%{sover}
|
||||
patchelf --set-soname libabsl_time_internal_cctz_libcivil_time.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libcivil_time.so.%{sover}
|
||||
patchelf --set-soname libabsl_time_internal_cctz_libtime_zone.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libtime_zone.so.%{sover}
|
||||
patchelf --set-soname libabsl_time_libtest_util.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_libtest_util.so.%{sover}
|
||||
patchelf --set-soname libabsl_time_libtime.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_libtime.so.%{sover}
|
||||
patchelf --set-soname libabsl_types_libbad_any_cast_impl.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_any_cast_impl.so.%{sover}
|
||||
patchelf --set-soname libabsl_types_libbad_optional_access.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_optional_access.so.%{sover}
|
||||
patchelf --set-soname libabsl_types_libbad_variant_access.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_variant_access.so.%{sover}
|
||||
patchelf --set-soname libabsl_types_liboptional.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_liboptional.so.%{sover}
|
||||
ln -sf libabsl_base_libbase.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libbase.so
|
||||
ln -sf libabsl_base_libdynamic_annotations.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libdynamic_annotations.so
|
||||
ln -sf libabsl_base_libexception_safety_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libexception_safety_testing.so
|
||||
ln -sf libabsl_base_libmalloc_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libmalloc_internal.so
|
||||
ln -sf libabsl_base_libspinlock_wait.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libspinlock_wait.so
|
||||
ln -sf libabsl_base_libthrow_delegate.so.%{sover} %{buildroot}%{_libdir}/libabsl_base_libthrow_delegate.so
|
||||
ln -sf libabsl_container_libhash_generator_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libhash_generator_testing.so
|
||||
ln -sf libabsl_container_libraw_hash_set.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libraw_hash_set.so
|
||||
ln -sf libabsl_container_libtest_instance_tracker.so.%{sover} %{buildroot}%{_libdir}/libabsl_container_libtest_instance_tracker.so
|
||||
ln -sf libabsl_debugging_libdebugging_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libdebugging_internal.so
|
||||
ln -sf libabsl_debugging_libdemangle_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libdemangle_internal.so
|
||||
ln -sf libabsl_debugging_libexamine_stack.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libexamine_stack.so
|
||||
ln -sf libabsl_debugging_libfailure_signal_handler.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libfailure_signal_handler.so
|
||||
ln -sf libabsl_debugging_libleak_check_api_disabled_for_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_disabled_for_testing.so
|
||||
ln -sf libabsl_debugging_libleak_check_api_enabled_for_testing.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libleak_check_api_enabled_for_testing.so
|
||||
ln -sf libabsl_debugging_libstacktrace.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libstacktrace.so
|
||||
ln -sf libabsl_debugging_libstack_consumption.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libstack_consumption.so
|
||||
ln -sf libabsl_debugging_libsymbolize.so.%{sover} %{buildroot}%{_libdir}/libabsl_debugging_libsymbolize.so
|
||||
ln -sf libabsl_hash_libcity.so.%{sover} %{buildroot}%{_libdir}/libabsl_hash_libcity.so
|
||||
ln -sf libabsl_hash_libhash.so.%{sover} %{buildroot}%{_libdir}/libabsl_hash_libhash.so
|
||||
ln -sf libabsl_numeric_libint128.so.%{sover} %{buildroot}%{_libdir}/libabsl_numeric_libint128.so
|
||||
ln -sf libabsl_strings_libinternal.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libinternal.so
|
||||
ln -sf libabsl_strings_libstrings.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libstrings.so
|
||||
ln -sf libabsl_strings_libstr_format_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_strings_libstr_format_internal.so
|
||||
ln -sf libabsl_synchronization_libgraphcycles_internal.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libgraphcycles_internal.so
|
||||
ln -sf libabsl_synchronization_libper_thread_sem_test_common.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libper_thread_sem_test_common.so
|
||||
ln -sf libabsl_synchronization_libsynchronization.so.%{sover} %{buildroot}%{_libdir}/libabsl_synchronization_libsynchronization.so
|
||||
ln -sf libabsl_time_internal_cctz_libcivil_time.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libcivil_time.so
|
||||
ln -sf libabsl_time_internal_cctz_libtime_zone.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_internal_cctz_libtime_zone.so
|
||||
ln -sf libabsl_time_libtest_util.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_libtest_util.so
|
||||
ln -sf libabsl_time_libtime.so.%{sover} %{buildroot}%{_libdir}/libabsl_time_libtime.so
|
||||
ln -sf libabsl_types_libbad_any_cast_impl.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_any_cast_impl.so
|
||||
ln -sf libabsl_types_libbad_optional_access.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_optional_access.so
|
||||
ln -sf libabsl_types_libbad_variant_access.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_libbad_variant_access.so
|
||||
ln -sf libabsl_types_liboptional.so.%{sover} %{buildroot}%{_libdir}/libabsl_types_liboptional.so
|
||||
for lib in $(find bazel-bin/absl -name "*.so"); do
|
||||
lib_basename=$(basename ${lib} | sed -e "s|^lib|libabsl_|")
|
||||
install -D -m0755 ${lib} %{buildroot}%{_libdir}/${lib_basename}.%{sover}
|
||||
patchelf --set-soname ${lib_basename}.%{sover} %{buildroot}%{_libdir}/${lib_basename}.%{sover}
|
||||
ln -sf ${lib_basename}.%{sover} %{buildroot}%{_libdir}/${lib_basename}
|
||||
done
|
||||
for header in $(find . \( -name "*.h" -o -name "*.inc" \) -printf "%%P\n"); do
|
||||
install -D -m0644 $header %{buildroot}%{_includedir}/$header
|
||||
done
|
||||
|
||||
mkdir -p %{buildroot}%{src_install_dir}
|
||||
tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
|
||||
%fdupes %{buildroot}%{src_install_dir}
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libabsl_base_libbase.so.%{sover}
|
||||
%{_libdir}/libabsl_base_libdynamic_annotations.so.%{sover}
|
||||
%{_libdir}/libabsl_base_libexception_safety_testing.so.%{sover}
|
||||
%{_libdir}/libabsl_base_libmalloc_internal.so.%{sover}
|
||||
%{_libdir}/libabsl_base_libspinlock_wait.so.%{sover}
|
||||
%{_libdir}/libabsl_base_libthrow_delegate.so.%{sover}
|
||||
%{_libdir}/libabsl_container_libhash_generator_testing.so.%{sover}
|
||||
%{_libdir}/libabsl_container_libraw_hash_set.so.%{sover}
|
||||
%{_libdir}/libabsl_container_libtest_instance_tracker.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libdebugging_internal.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libdemangle_internal.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libexamine_stack.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libfailure_signal_handler.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libleak_check_api_disabled_for_testing.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libleak_check_api_enabled_for_testing.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libstacktrace.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libstack_consumption.so.%{sover}
|
||||
%{_libdir}/libabsl_debugging_libsymbolize.so.%{sover}
|
||||
%{_libdir}/libabsl_hash_libcity.so.%{sover}
|
||||
%{_libdir}/libabsl_hash_libhash.so.%{sover}
|
||||
%{_libdir}/libabsl_numeric_libint128.so.%{sover}
|
||||
%{_libdir}/libabsl_strings_libinternal.so.%{sover}
|
||||
%{_libdir}/libabsl_strings_libstrings.so.%{sover}
|
||||
%{_libdir}/libabsl_strings_libstr_format_internal.so.%{sover}
|
||||
%{_libdir}/libabsl_synchronization_libgraphcycles_internal.so.%{sover}
|
||||
%{_libdir}/libabsl_synchronization_libper_thread_sem_test_common.so.%{sover}
|
||||
%{_libdir}/libabsl_synchronization_libsynchronization.so.%{sover}
|
||||
%{_libdir}/libabsl_time_internal_cctz_libcivil_time.so.%{sover}
|
||||
%{_libdir}/libabsl_time_internal_cctz_libtime_zone.so.%{sover}
|
||||
%{_libdir}/libabsl_time_libtest_util.so.%{sover}
|
||||
%{_libdir}/libabsl_time_libtime.so.%{sover}
|
||||
%{_libdir}/libabsl_types_libbad_any_cast_impl.so.%{sover}
|
||||
%{_libdir}/libabsl_types_libbad_optional_access.so.%{sover}
|
||||
%{_libdir}/libabsl_types_libbad_variant_access.so.%{sover}
|
||||
%{_libdir}/libabsl_types_liboptional.so.%{sover}
|
||||
%{_libdir}/libabsl_bad_any_cast_impl.so.0
|
||||
%{_libdir}/libabsl_bad_optional_access.so.0
|
||||
%{_libdir}/libabsl_bad_variant_access.so.0
|
||||
%{_libdir}/libabsl_base.so.0
|
||||
%{_libdir}/libabsl_city.so.0
|
||||
%{_libdir}/libabsl_civil_time.so.0
|
||||
%{_libdir}/libabsl_config.so.0
|
||||
%{_libdir}/libabsl_debugging_internal.so.0
|
||||
%{_libdir}/libabsl_demangle_internal.so.0
|
||||
%{_libdir}/libabsl_dynamic_annotations.so.0
|
||||
%{_libdir}/libabsl_examine_stack.so.0
|
||||
%{_libdir}/libabsl_exception_safety_testing.so.0
|
||||
%{_libdir}/libabsl_failure_signal_handler.so.0
|
||||
%{_libdir}/libabsl_flag.so.0
|
||||
%{_libdir}/libabsl_graphcycles_internal.so.0
|
||||
%{_libdir}/libabsl_handle.so.0
|
||||
%{_libdir}/libabsl_hash.so.0
|
||||
%{_libdir}/libabsl_hash_generator_testing.so.0
|
||||
%{_libdir}/libabsl_hashtablez_sampler.so.0
|
||||
%{_libdir}/libabsl_int128.so.0
|
||||
%{_libdir}/libabsl_internal.so.0
|
||||
%{_libdir}/libabsl_leak_check.so.0
|
||||
%{_libdir}/libabsl_leak_check_api_disabled_for_testing.so.0
|
||||
%{_libdir}/libabsl_leak_check_api_enabled_for_testing.so.0
|
||||
%{_libdir}/libabsl_malloc_internal.so.0
|
||||
%{_libdir}/libabsl_marshalling.so.0
|
||||
%{_libdir}/libabsl_mutex_benchmark_common.so.0
|
||||
%{_libdir}/libabsl_parse.so.0
|
||||
%{_libdir}/libabsl_per_thread_sem_test_common.so.0
|
||||
%{_libdir}/libabsl_pow10_helper.so.0
|
||||
%{_libdir}/libabsl_raw_hash_set.so.0
|
||||
%{_libdir}/libabsl_registry.so.0
|
||||
%{_libdir}/libabsl_scoped_set_env.so.0
|
||||
%{_libdir}/libabsl_spinlock_benchmark_common.so.0
|
||||
%{_libdir}/libabsl_spinlock_test_common.so.0
|
||||
%{_libdir}/libabsl_spinlock_wait.so.0
|
||||
%{_libdir}/libabsl_stack_consumption.so.0
|
||||
%{_libdir}/libabsl_stacktrace.so.0
|
||||
%{_libdir}/libabsl_str_format_internal.so.0
|
||||
%{_libdir}/libabsl_strings.so.0
|
||||
%{_libdir}/libabsl_symbolize.so.0
|
||||
%{_libdir}/libabsl_synchronization.so.0
|
||||
%{_libdir}/libabsl_test_instance_tracker.so.0
|
||||
%{_libdir}/libabsl_test_util.so.0
|
||||
%{_libdir}/libabsl_throw_delegate.so.0
|
||||
%{_libdir}/libabsl_time.so.0
|
||||
%{_libdir}/libabsl_time_zone.so.0
|
||||
%{_libdir}/libabsl_usage.so.0
|
||||
|
||||
%files devel
|
||||
%{_includedir}/absl
|
||||
%{_libdir}/libabsl_base_libbase.so
|
||||
%{_libdir}/libabsl_base_libdynamic_annotations.so
|
||||
%{_libdir}/libabsl_base_libexception_safety_testing.so
|
||||
%{_libdir}/libabsl_base_libmalloc_internal.so
|
||||
%{_libdir}/libabsl_base_libspinlock_wait.so
|
||||
%{_libdir}/libabsl_base_libthrow_delegate.so
|
||||
%{_libdir}/libabsl_container_libhash_generator_testing.so
|
||||
%{_libdir}/libabsl_container_libraw_hash_set.so
|
||||
%{_libdir}/libabsl_container_libtest_instance_tracker.so
|
||||
%{_libdir}/libabsl_debugging_libdebugging_internal.so
|
||||
%{_libdir}/libabsl_debugging_libdemangle_internal.so
|
||||
%{_libdir}/libabsl_debugging_libexamine_stack.so
|
||||
%{_libdir}/libabsl_debugging_libfailure_signal_handler.so
|
||||
%{_libdir}/libabsl_debugging_libleak_check_api_disabled_for_testing.so
|
||||
%{_libdir}/libabsl_debugging_libleak_check_api_enabled_for_testing.so
|
||||
%{_libdir}/libabsl_debugging_libstacktrace.so
|
||||
%{_libdir}/libabsl_debugging_libstack_consumption.so
|
||||
%{_libdir}/libabsl_debugging_libsymbolize.so
|
||||
%{_libdir}/libabsl_hash_libcity.so
|
||||
%{_libdir}/libabsl_hash_libhash.so
|
||||
%{_libdir}/libabsl_numeric_libint128.so
|
||||
%{_libdir}/libabsl_strings_libinternal.so
|
||||
%{_libdir}/libabsl_strings_libstrings.so
|
||||
%{_libdir}/libabsl_strings_libstr_format_internal.so
|
||||
%{_libdir}/libabsl_synchronization_libgraphcycles_internal.so
|
||||
%{_libdir}/libabsl_synchronization_libper_thread_sem_test_common.so
|
||||
%{_libdir}/libabsl_synchronization_libsynchronization.so
|
||||
%{_libdir}/libabsl_time_internal_cctz_libcivil_time.so
|
||||
%{_libdir}/libabsl_time_internal_cctz_libtime_zone.so
|
||||
%{_libdir}/libabsl_time_libtest_util.so
|
||||
%{_libdir}/libabsl_time_libtime.so
|
||||
%{_libdir}/libabsl_types_libbad_any_cast_impl.so
|
||||
%{_libdir}/libabsl_types_libbad_optional_access.so
|
||||
%{_libdir}/libabsl_types_libbad_variant_access.so
|
||||
%{_libdir}/libabsl_types_liboptional.so
|
||||
%{_libdir}/libabsl_bad_any_cast_impl.so
|
||||
%{_libdir}/libabsl_bad_optional_access.so
|
||||
%{_libdir}/libabsl_bad_variant_access.so
|
||||
%{_libdir}/libabsl_base.so
|
||||
%{_libdir}/libabsl_city.so
|
||||
%{_libdir}/libabsl_civil_time.so
|
||||
%{_libdir}/libabsl_config.so
|
||||
%{_libdir}/libabsl_debugging_internal.so
|
||||
%{_libdir}/libabsl_demangle_internal.so
|
||||
%{_libdir}/libabsl_dynamic_annotations.so
|
||||
%{_libdir}/libabsl_examine_stack.so
|
||||
%{_libdir}/libabsl_exception_safety_testing.so
|
||||
%{_libdir}/libabsl_failure_signal_handler.so
|
||||
%{_libdir}/libabsl_flag.so
|
||||
%{_libdir}/libabsl_graphcycles_internal.so
|
||||
%{_libdir}/libabsl_handle.so
|
||||
%{_libdir}/libabsl_hash.so
|
||||
%{_libdir}/libabsl_hash_generator_testing.so
|
||||
%{_libdir}/libabsl_hashtablez_sampler.so
|
||||
%{_libdir}/libabsl_int128.so
|
||||
%{_libdir}/libabsl_internal.so
|
||||
%{_libdir}/libabsl_leak_check.so
|
||||
%{_libdir}/libabsl_leak_check_api_disabled_for_testing.so
|
||||
%{_libdir}/libabsl_leak_check_api_enabled_for_testing.so
|
||||
%{_libdir}/libabsl_malloc_internal.so
|
||||
%{_libdir}/libabsl_marshalling.so
|
||||
%{_libdir}/libabsl_mutex_benchmark_common.so
|
||||
%{_libdir}/libabsl_parse.so
|
||||
%{_libdir}/libabsl_per_thread_sem_test_common.so
|
||||
%{_libdir}/libabsl_pow10_helper.so
|
||||
%{_libdir}/libabsl_raw_hash_set.so
|
||||
%{_libdir}/libabsl_registry.so
|
||||
%{_libdir}/libabsl_scoped_set_env.so
|
||||
%{_libdir}/libabsl_spinlock_benchmark_common.so
|
||||
%{_libdir}/libabsl_spinlock_test_common.so
|
||||
%{_libdir}/libabsl_spinlock_wait.so
|
||||
%{_libdir}/libabsl_stack_consumption.so
|
||||
%{_libdir}/libabsl_stacktrace.so
|
||||
%{_libdir}/libabsl_str_format_internal.so
|
||||
%{_libdir}/libabsl_strings.so
|
||||
%{_libdir}/libabsl_symbolize.so
|
||||
%{_libdir}/libabsl_synchronization.so
|
||||
%{_libdir}/libabsl_test_instance_tracker.so
|
||||
%{_libdir}/libabsl_test_util.so
|
||||
%{_libdir}/libabsl_throw_delegate.so
|
||||
%{_libdir}/libabsl_time.so
|
||||
%{_libdir}/libabsl_time_zone.so
|
||||
%{_libdir}/libabsl_usage.so
|
||||
|
||||
%files source
|
||||
%{src_install_dir}
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5aaa5d566517cae711e2a3505ea9a6438be1b37fcaae0ebcb96ccba9aa56f23a
|
||||
size 1303670
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4329663fe6c523425ad4d3c989a8ac026b04e1acedeceb56aa4b190fa7f3973c
|
||||
size 320134
|
Loading…
Reference in New Issue
Block a user