File aws-sdk-cpp.spec of Package aws-sdk-cpp
#
# spec file for package aws-sdk-cpp
#
# Copyright (c) 2025 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: aws-sdk-cpp
Version: 1.11.584
Release: 0
Summary: AWS SDK for C++
License: Apache-2.0
Group: Development/Languages/Other
URL: https://aws.amazon.com/sdk-for-cpp/
Source0: https://github.com/aws/aws-sdk-cpp/archive/%{version}.tar.gz
Source1: CHANGELOG.git
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: cmake(aws-c-auth)
BuildRequires: cmake(aws-c-cal)
BuildRequires: cmake(aws-c-common)
BuildRequires: cmake(aws-c-compression)
BuildRequires: cmake(aws-c-event-stream)
BuildRequires: cmake(aws-c-http)
BuildRequires: cmake(aws-c-io)
BuildRequires: cmake(aws-c-mqtt)
BuildRequires: cmake(aws-c-s3)
BuildRequires: cmake(aws-c-sdkutils)
BuildRequires: cmake(aws-checksums)
BuildRequires: cmake(aws-crt-cpp)
BuildRequires: cmake(s2n)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(zlib)
%description
The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for
Amazon Web Services (AWS). It is meant to be performant and fully functioning with
low- and high-level SDKs, while minimizing dependencies and providing platform
portability (Windows, OSX, Linux, and mobile).
%package libs
Summary: AWS SDK for C++
Group: Development/Languages/Other
%description libs
The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for
Amazon Web Services (AWS). It is meant to be performant and fully functioning with
low- and high-level SDKs, while minimizing dependencies and providing platform
portability (Windows, OSX, Linux, and mobile).
This package contains the shared libraries.
%package devel
Summary: AWS SDK for C++ - development files
Group: Development/Languages/Other
%description devel
The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for
Amazon Web Services (AWS). It is meant to be performant and fully functioning with
low- and high-level SDKs, while minimizing dependencies and providing platform
portability (Windows, OSX, Linux, and mobile).
This package contains development files.
%prep
%setup -q
cp %{SOURCE1} CHANGELOG.git
%build
%define __builder ninja
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DBUILD_DEPS=OFF \
-DCUSTOM_MEMORY_MANAGEMENT=OFF \
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/aws-c-common \
-DENABLE_TESTING=OFF # Enabling testsuite currently fails: https://github.com/aws/aws-sdk-cpp/issues/929
%cmake_build
%install
%cmake_install
%fdupes -s %{buildroot}%{_libdir}/cmake
%files libs
%doc CHANGELOG.git CHANGELOG.md
%{_libdir}/libaws*so
%files devel
%{_includedir}/aws
%{_includedir}/smithy
%{_libdir}/cmake/aws-*
%{_libdir}/cmake/AWSSDK
%{_libdir}/pkgconfig/aws-*
%changelog