Name: aws-c-s3 Version: 0.5.7 Release: 1%{?dist} Summary: C99 library implementation for communicating with the S3 service License: Apache-2.0 URL: https://github.com/awslabs/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: aws-c-s3-cmake.patch Patch1: 0001-disable-tests-that-require-internet-connectivity.patch BuildRequires: gcc BuildRequires: cmake BuildRequires: openssl-devel BuildRequires: aws-c-auth-devel BuildRequires: aws-c-http-devel BuildRequires: aws-checksums-devel BuildRequires: aws-c-sdkutils-devel Requires: openssl-libs Requires: aws-c-auth-libs Requires: aws-c-http-libs Requires: aws-checksums-libs Requires: aws-c-sdkutils-libs %description The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing throughput and network utilization. %package libs Summary: C99 library implementation for communicating with the S3 service Requires: %{name}%{?_isa} = %{version}-%{release} %description libs The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing throughput and network utilization. %package devel Summary: C99 library implementation for communicating with the S3 service Requires: openssl-devel Requires: aws-c-auth-devel Requires: aws-c-http-devel Requires: aws-checksums-devel Requires: aws-c-sdkutils-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing throughput and network utilization. %package doc Summary: C99 library implementation for communicating with the S3 service %description doc The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing throughput and network utilization. %prep %autosetup -p1 %build %cmake -DBUILD_SHARED_LIBS=ON %cmake_build %install %cmake_install # install documentation mkdir -p %{buildroot}/%{_docdir}/aws-c-s3/docs mkdir -p %{buildroot}/%{_docdir}/aws-c-s3/docs/images install -p -m 644 docs/*.md %{buildroot}/%{_docdir}/aws-c-s3/docs/ install -p -m 644 docs/images/*.svg %{buildroot}/%{_docdir}/aws-c-s3/docs/images/ %check %ctest %files %license LICENSE NOTICE %doc README.md %{_bindir}/s3 %files libs %{_libdir}/libaws-c-s3.so.1{,.*} %{_libdir}/libaws-c-s3.so.0unstable %files devel %{_libdir}/libaws-c-s3.so %dir %{_includedir}/aws/s3 %{_includedir}/aws/s3/*.h %dir %{_libdir}/cmake/aws-c-s3 %dir %{_libdir}/cmake/aws-c-s3/shared %{_libdir}/cmake/aws-c-s3/aws-c-s3-config.cmake %{_libdir}/cmake/aws-c-s3/shared/aws-c-s3-targets-noconfig.cmake %{_libdir}/cmake/aws-c-s3/shared/aws-c-s3-targets.cmake %files doc %license LICENSE NOTICE %dir %{_docdir}/aws-c-s3/docs/ %dir %{_docdir}/aws-c-s3/docs/images/ %{_docdir}/aws-c-s3/docs/*.md %{_docdir}/aws-c-s3/docs/images/*.svg %changelog * Fri May 03 2024 Dominik Wombacher - 0.5.7-1 - update to 0.5.7 * Tue Feb 22 2022 David Duncan - 0.1.27-5 - Updated for package review * Tue Feb 22 2022 Kyle Knapp - 0.1.27-4 - Include missing devel directories * Thu Feb 03 2022 Kyle Knapp - 0.1.27-3 - Update specfile based on review feedback * Wed Feb 02 2022 David Duncan - 0.1.27-2 - Prepare for package review * Tue Jan 18 2022 Kyle Knapp - 0.1.27-1 - Initial package development