From a1d7fcbb5e382d20e865a6a3faac172368a8f212 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 27 Nov 2024 03:34:34 +0000 Subject: automatic import of aws-sdk-cpp --- .gitignore | 1 + aws-sdk-cpp.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 aws-sdk-cpp.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e59d0a1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aws-sdk-cpp-1.11.327.tar.gz diff --git a/aws-sdk-cpp.spec b/aws-sdk-cpp.spec new file mode 100644 index 0000000..ff30417 --- /dev/null +++ b/aws-sdk-cpp.spec @@ -0,0 +1,59 @@ +Name: aws-sdk-cpp +Version: 1.11.327 +Release: 3 +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 +Source0: https://github.com/aws/aws-sdk-cpp/archive/refs/tags/%{name}-%{version}.tar.gz + +BuildRequires: cmake gcc-c++ +BuildRequires: libcurl-devel openssl-devel zlib-devel + +%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. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for %{name}. + +%prep +%autosetup -p1 + +%build +%{cmake} \ + -DBUILD_ONLY="s3" \ + -DCMAKE_CXX_FLAGS="%{build_cxxflags} -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \ + -DCMAKE_C_FLAGS="%{build_cflags} -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 + +%cmake_build + +%install +%cmake_install + +%files +%{_libdir}/*.so + +%files devel +%{_includedir}/* +%{_libdir}/*.a +%{_libdir}/pkgconfig/* +%{_libdir}/cmake/* + +%changelog +* Wed Nov 27 2024 Funda Wang - 1.11.327-3 +- adopt to new cmake macro +- split out devel package + +* Fri Nov 22 2024 liuheng - 1.11.327-2 +- fix bug + +* Thu Nov 7 2024 liuheng - 1.11.327-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..390204e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d6b2087648113093c9086183e5183ef9 aws-sdk-cpp-1.11.327.tar.gz -- cgit v1.2.3