Name: aws-sdk-cpp Version: 1.11.327 Release: 2 Summary: The AWS SDK for C++ provides a modern C++ interface for AWS License: Apache-2.0 URL: https://github.com/aws/aws-sdk-cpp.git Source0: https://github.com/aws/aws-sdk-cpp/archive/refs/tags/%{name}-%{version}.tar.gz BuildRequires: tar cmake gcc-c++ gcc BuildRequires: libcurl-devel openssl-devel zlib-devel Requires: libcurl openssl zlib %description The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for Amazon Web Services (AWS). This package contains the S3 component. %global debug_package %{nil} %prep %autosetup -p1 %build mkdir -p tmp_build pushd tmp_build %{cmake} .. \ -DBUILD_ONLY="s3" \ -DCMAKE_CXX_FLAGS="%{optflags} -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \ -DCMAKE_C_FLAGS="%{optflags} -std=c99 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro,-z,now %{build_ldflags}" \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_TYPE=Release \ -DAUTORUN_UNIT_TESTS=OFF %make_build -s %{?_smp_mflags} popd %install pushd tmp_build make install -s %{?_smp_mflags} DESTDIR=%{buildroot} popd %files %doc %defattr(-,root,root) %{_prefix}/include/aws %{_prefix}/include/s2n %{_prefix}/include/s2n.h %{_prefix}/include/smithy %{_libdir}/aws* %{_libdir}/cmake %{_libdir}/libaws* %{_libdir}/libs2n* %{_libdir}/libtesting* %{_libdir}/pkgconfig %{_libdir}/s2n %changelog * Fri Nov 22 2024 liuheng - 1.11.327-2 - fix bug * Thu Nov 7 2024 liuheng - 1.11.327-1 - Initial package