Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
1e242743fe
!7 use standard macro
From: @fundawang 
Reviewed-by: @dillon_chen, @zhang_xubo 
Signed-off-by: @zhang_xubo, @dillon_chen
2024-12-30 05:56:55 +00:00
Funda Wang
8e7e09643f use standard macro 2024-12-28 20:02:40 +08:00
openeuler-ci-bot
50e8cf28e7
!6 Revert "adopt to new cmake macro"
From: @hengliue 
Reviewed-by: @zhang_xubo, @zhengzhenyu 
Signed-off-by: @zhang_xubo, @zhengzhenyu
2024-12-28 09:55:32 +00:00
liuheng
af93d9a113 Revert "adopt to new cmake macro"
This reverts commit 95f313503fa287c7d514bb79c769ff78e4b3833a.
2024-12-28 10:19:36 +08:00
openeuler-ci-bot
68a5fe7a69
!5 [sync] PR-3: adopt to new cmake macro
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-11-27 07:31:35 +00:00
Funda Wang
95f313503f adopt to new cmake macro
(cherry picked from commit a669edb3629998f55fe66cb5e8f53d16b41898f5)
2024-11-27 14:59:47 +08:00
openeuler-ci-bot
0a92604947
!3 adopt to new cmake macro
From: @fundawang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-11-27 06:59:27 +00:00
Funda Wang
a669edb362 adopt to new cmake macro 2024-11-27 11:56:09 +08:00
openeuler-ci-bot
2c122eaad0
!2 修改门禁失败
From: @hengliue 
Reviewed-by: @zhengzhenyu 
Signed-off-by: @zhengzhenyu
2024-11-25 09:46:29 +00:00
liuheng
960965243d 修改门禁失败 2024-11-25 16:31:12 +08:00
openeuler-ci-bot
2c48d7f537
!1 init package
From: @hengliue 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-11-21 06:47:50 +00:00
2 changed files with 39 additions and 23 deletions

View File

@ -1,51 +1,63 @@
Name: aws-sdk-cpp
Version: 1.11.327
Release: 1
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.git
URL: https://github.com/aws/aws-sdk-cpp
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
BuildRequires: cmake >= 3.13
BuildRequires: gcc gcc-c++
BuildRequires: libcurl-devel
BuildRequires: openssl-devel
BuildRequires: 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
install -d %{_vpath_builddir}
cd %{_vpath_builddir}
%{cmake} .. \
%{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_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
cd ..
%make_build -s %{?_smp_mflags} -C %{_vpath_builddir}
%make_build
%install
make install -s %{?_smp_mflags} -C %{_vpath_builddir} DESTDIR=%{buildroot}
%make_install
%files
%doc
%defattr(644,root,root,-)
%{_prefix}/include/*
%{_libdir}/*.so
%defattr(755,root,root,-)
%{_prefix}/lib64/*
%{_prefix}/lib/*
%{_prefix}/src/*
%files devel
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/pkgconfig/*
%{_libdir}/cmake/*
%{_libdir}/*/cmake
%changelog
* Thu Nov 7 2024 liuheng <hengliue@163.com> - 1.11.327-9
- Initial package
* Wed Nov 27 2024 Funda Wang <fundawang@yeah.net> - 1.11.327-3
- adopt to new cmake macro
- split out devel package
* Fri Nov 22 2024 liuheng <hengliue@163.com> - 1.11.327-2
- fix bug
* Thu Nov 7 2024 liuheng <hengliue@163.com> - 1.11.327-1
- Initial package

4
aws-sdk-cpp.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: aws/aws-sdk-cpp
tag_prefix:
separator: .