Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dliw:branches:Emulators
abseil-cpp
abseil-cpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File abseil-cpp.spec of Package abseil-cpp
# # spec file for package abseil-cpp # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: abseil-cpp Version: 20211102.0 Release: 0 Summary: C++11 libraries which augment the C++ stdlib License: Apache-2.0 URL: https://abseil.io/ Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options Patch0: options-old.patch # PATCH-FIX-UPSTREAM Fix-maes-msse41-leaking-into-pkgconfig.patch Patch1: Fix-maes-msse41-leaking-into-pkgconfig.patch BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: fdupes BuildRequires: pkgconfig %if 0%{suse_version} < 1500 BuildRequires: gcc11-c++ %endif %description Abseil is 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 devel Summary: Header files for Abseil Requires: %{name} = %{version} %description devel Abseil is a collection of C++11 libraries which augment the C++ standard library. This package contains headers and build system files for it. %prep %autosetup -p1 %build # let rpm/OBS have some versioning to work with when it comes to upgrades and rebuilds cat >"%{_builddir}/abslx.sym" <<-EOF ABSL_%{version} { global: *; }; EOF %define build_ldflags -Wl,--version-script=%{_builddir}/abslx.sym %if 0%{suse_version} < 1500 export CXX=g++-11 %endif %cmake %cmake_build %install %cmake_install %fdupes %{buildroot}/%{_prefix} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %{_libdir}/libabsl_*.so.* %files devel %doc README.md %{_includedir}/absl %{_libdir}/cmake/absl %{_libdir}/libabsl_*.so %{_libdir}/pkgconfig/absl_*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor