Bump to abseil-cpp 20210324.2 04/264404/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix sandbox/dh0128.kwak/abseil-cpp-20210324.2 tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/7.0/base/20221116.030003 accepted/tizen/7.0/base/hotfix/20221116.055412 accepted/tizen/base/20211115.010732 accepted/tizen/base/20211121.213035 accepted/tizen/base/20221115.103837 accepted/tizen/base/dev/20230602.080927 submit/tizen/20211116.024555 submit/tizen/20211116.025029 submit/tizen_base/20211109.222358 submit/tizen_base/20211116.134050 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 17 Sep 2021 05:22:27 +0000 (14:22 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 17 Sep 2021 05:22:27 +0000 (14:22 +0900)
Change-Id: I08063743def5410aa7f6970c065898fe6337a01a

packaging/abseil-cpp.manifest [new file with mode: 0644]
packaging/abseil-cpp.spec [new file with mode: 0644]

diff --git a/packaging/abseil-cpp.manifest b/packaging/abseil-cpp.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/abseil-cpp.spec b/packaging/abseil-cpp.spec
new file mode 100644 (file)
index 0000000..b0ede06
--- /dev/null
@@ -0,0 +1,68 @@
+#
+# spec file for package abseil-cpp
+#
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# 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:        20210324.2
+Release:        0
+Summary:        C++11 libraries which augment the C++ stdlib
+License:        Apache-2.0
+URL:            https://abseil.io/
+Source0:        %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+
+%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
+%setup -q
+
+%build
+mkdir -p cmake/build
+CXXFLAGS=${CXXFLAGS/-march=armv8-a+crc/-march=armv7-a}
+CXXFLAGS=${CXXFLAGS/-mtune=cortex-a53/-mtune=cortex-a8}
+CXXFLAGS=${CXXFLAGS/-mcpu=cortex-a53/}
+CXXFLAGS=${CXXFLAGS/-mfpu=neon-vfpv4/-mfpu=neon}
+cd cmake/build
+%{cmake} -DABSL_USE_GOOGLETEST_HEAD=OFF ../..
+make %{?_smp_mflags}
+
+%install
+cd cmake/build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
+
+%files
+%license LICENSE
+%doc README.md
+%{_libdir}/libabsl_*.so.*
+
+%files devel
+%{_includedir}/absl/
+%{_libdir}/cmake/
+%{_libdir}/libabsl_*.so
+%{_libdir}/pkgconfig/absl_*.pc