A aws-c-sdkutils-cmake.patch => aws-c-sdkutils-cmake.patch +23 -0
@@ 0,0 1,23 @@
+diff -urN aws-c-sdkutils-0.1.1-orig/CMakeLists.txt aws-c-sdkutils-0.1.1/CMakeLists.txt
+--- aws-c-sdkutils-0.1.1-orig/CMakeLists.txt 2021-10-12 23:38:33.000000000 +0000
++++ aws-c-sdkutils-0.1.1/CMakeLists.txt 2022-02-03 17:58:49.294211483 +0000
+@@ -94,16 +94,16 @@
+ endif()
+
+ install(EXPORT "${PROJECT_NAME}-targets"
+- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
++ DESTINATION "${LIBRARY_DIRECTORY}/cmake/${PROJECT_NAME}/${TARGET_DIR}/"
+ NAMESPACE AWS::
+ COMPONENT Development)
+
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
+- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake"
++ DESTINATION "${LIBRARY_DIRECTORY}/cmake/${PROJECT_NAME}"
+ COMPONENT Development)
+
+ install(FILES ${EXPORT_MODULES}
+- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/modules"
++ DESTINATION "${LIBRARY_DIRECTORY}/cmake/${PROJECT_NAME}/modules"
+ COMPONENT Development)
+
+ if (NOT CMAKE_CROSSCOMPILING)
A aws-c-sdkutils.spec => aws-c-sdkutils.spec +80 -0
@@ 0,0 1,80 @@
+Name: aws-c-sdkutils
+Version: 0.1.1
+Release: 5%{?dist}
+Summary: Utility package for AWS SDK for C
+
+License: ASL 2.0
+URL: https://github.com/awslabs/%{name}
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Patch0: aws-c-sdkutils-cmake.patch
+
+BuildRequires: gcc
+BuildRequires: cmake
+BuildRequires: aws-c-common-devel = 0.6.14
+
+Requires: aws-c-common-libs = 0.6.14
+
+%description
+Utility package for AWS SDK for C
+
+
+%package libs
+Summary: Utility package for AWS SDK for C
+
+%description libs
+Utility package for AWS SDK for C
+
+
+%package devel
+Summary: Utility package for AWS SDK for C
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+Utility package for AWS SDK for C
+
+
+%prep
+%autosetup -p1
+
+
+%build
+%cmake -DBUILD_SHARED_LIBS=ON
+%cmake_build
+
+%install
+%cmake_install
+
+
+
+%files libs
+%license LICENSE
+%doc README.md
+%{_libdir}/libaws-c-sdkutils.so.1.0.0
+
+%files devel
+%dir %{_includedir}/aws/sdkutils
+%{_includedir}/aws/sdkutils/*.h
+
+%dir %{_libdir}/cmake/aws-c-sdkutils
+%dir %{_libdir}/cmake/aws-c-sdkutils/shared
+%{_libdir}/libaws-c-sdkutils.so
+%{_libdir}/cmake/aws-c-sdkutils/aws-c-sdkutils-config.cmake
+%{_libdir}/cmake/aws-c-sdkutils/shared/aws-c-sdkutils-targets-noconfig.cmake
+%{_libdir}/cmake/aws-c-sdkutils/shared/aws-c-sdkutils-targets.cmake
+
+
+%changelog
+* Tue Feb 22 2022 David Duncan <davdunc@amazon.com> - 0.1.1-5
+- Updated for package review
+
+* Tue Feb 22 2022 Kyle Knapp <kyleknap@amazon.com> - 0.1.1-4
+- Include missing devel directories
+
+* Thu Feb 03 2022 Kyle Knapp <kyleknap@amazon.com> - 0.1.1-3
+- Update specfile based on review feedback
+
+* Wed Feb 02 2022 David Duncan <davdunc@amazon.com> - 0.1.1-2
+- Prepare for package review
+
+* Tue Jan 18 2022 Kyle Knapp <kyleknap@amazon.com> - 0.1.1-1
+- Initial package development