Name: aws-c-mqtt Version: 0.7.8 Release: 7%{?dist} Summary: C99 implementation of the MQTT 3.1.1 specification License: ASL 2.0 URL: https://github.com/awslabs/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: aws-c-mqtt-reconnect-api.patch Patch1: aws-c-mqtt-cmake.patch BuildRequires: gcc BuildRequires: cmake BuildRequires: openssl-devel BuildRequires: aws-c-common-devel = 0.6.14 BuildRequires: aws-c-cal-devel = 0.5.12 BuildRequires: aws-c-io-devel = 0.10.12 BuildRequires: aws-c-compression-devel = 0.2.14 BuildRequires: aws-c-http-devel = 0.6.8 Requires: openssl-devel Requires: aws-c-common-libs = 0.6.14 Requires: aws-c-cal-libs = 0.5.12 Requires: aws-c-io-libs = 0.10.12 Requires: aws-c-compression-libs = 0.2.14 Requires: aws-c-http-libs = 0.6.8 Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description C99 implementation of the MQTT 3.1.1 specification %package libs Summary: C99 implementation of the MQTT 3.1.1 specification %description libs C99 implementation of the MQTT 3.1.1 specification %package devel Summary: C99 implementation of the MQTT 3.1.1 specification Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel C99 implementation of the MQTT 3.1.1 specification %prep %autosetup -p1 %build %cmake -DBUILD_SHARED_LIBS=ON %cmake_build %install %cmake_install %files %{_bindir}/elastipubsub %files libs %license LICENSE %doc README.md %{_libdir}/libaws-c-mqtt.so.1.0.0 %files devel %dir %{_includedir}/aws/mqtt %dir %{_includedir}/aws/mqtt/private %{_includedir}/aws/mqtt/*.h %{_includedir}/aws/mqtt/private/mqtt_client_test_helper.h %dir %{_libdir}/cmake/aws-c-mqtt %dir %{_libdir}/cmake/aws-c-mqtt/shared %{_libdir}/libaws-c-mqtt.so %{_libdir}/cmake/aws-c-mqtt/aws-c-mqtt-config.cmake %{_libdir}/cmake/aws-c-mqtt/shared/aws-c-mqtt-targets-noconfig.cmake %{_libdir}/cmake/aws-c-mqtt/shared/aws-c-mqtt-targets.cmake %changelog * Tue Feb 22 2022 David Duncan - 0.7.8-7 - Updated for package review * Tue Feb 22 2022 Kyle Knapp - 0.7.8-6 - Include missing devel directories * Thu Feb 03 2022 Kyle Knapp - 0.7.8-5 - Move elastipubsub executable to standard package * Thu Feb 03 2022 Kyle Knapp - 0.7.8-4 - Update specfile based on review feedback * Wed Feb 02 2022 David Duncan - 0.7.8-3 - Prepare for package review * Tue Jan 25 2022 Kyle Knapp - 0.7.8-2 - Add patch to make missing API accessible when a shared library * Tue Jan 18 2022 Kyle Knapp - 0.7.8-1 - Initial package development