forked from pool/aws-c-event-stream
- Update to version 0.5.1
* chore: Modified bug issue template to add checkbox to report potential regression. by @ashishdhingra in (#116) * Switch CI to use roles by @DmitriyMusatkin in (#118) * A bunch of CMake fixes by @graebm in (#119) - Drop aces_fix-cmake-modules-path.patch, fixed upstream OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-event-stream?expand=0&rev=31
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
43
aces_fix-cmake-modules-path.patch
Normal file
43
aces_fix-cmake-modules-path.patch
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
diff -Nru aws-c-event-stream-0.1.6.orig/CMakeLists.txt aws-c-event-stream-0.1.6/CMakeLists.txt
|
||||||
|
--- aws-c-event-stream-0.1.6.orig/CMakeLists.txt 2020-07-24 02:06:45.000000000 +0200
|
||||||
|
+++ aws-c-event-stream-0.1.6/CMakeLists.txt 2020-08-25 13:17:04.469790864 +0200
|
||||||
|
@@ -11,17 +11,11 @@
|
||||||
|
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-if (UNIX AND NOT APPLE)
|
||||||
|
- include(GNUInstallDirs)
|
||||||
|
-elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
||||||
|
- set(CMAKE_INSTALL_LIBDIR "lib")
|
||||||
|
-endif()
|
||||||
|
+find_package(aws-c-common REQUIRED)
|
||||||
|
+find_package(aws-checksums REQUIRED)
|
||||||
|
+set(CMAKE_MODULE_PATH ${aws-c-common_DIR})
|
||||||
|
|
||||||
|
-# This is required in order to append /lib/cmake to each element in CMAKE_PREFIX_PATH
|
||||||
|
-set(AWS_MODULE_DIR "/${CMAKE_INSTALL_LIBDIR}/cmake")
|
||||||
|
-string(REPLACE ";" "${AWS_MODULE_DIR};" AWS_MODULE_PATH "${CMAKE_PREFIX_PATH}${AWS_MODULE_DIR}")
|
||||||
|
-# Append that generated list to the module search path
|
||||||
|
-list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH})
|
||||||
|
+include(GNUInstallDirs)
|
||||||
|
|
||||||
|
include(AwsCFlags)
|
||||||
|
include(AwsSharedLibSetup)
|
||||||
|
@@ -92,7 +86,7 @@
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(EXPORT "${PROJECT_NAME}-targets"
|
||||||
|
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
||||||
|
+ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}/${TARGET_DIR}/"
|
||||||
|
NAMESPACE AWS::
|
||||||
|
COMPONENT Development)
|
||||||
|
|
||||||
|
@@ -101,7 +95,7 @@
|
||||||
|
@ONLY)
|
||||||
|
|
||||||
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
|
||||||
|
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
||||||
|
+ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}"
|
||||||
|
COMPONENT Development)
|
||||||
|
|
||||||
|
|
11
aces_re-add-so-version.patch
Normal file
11
aces_re-add-so-version.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff -Nru aws-c-event-stream-0.2.5.orig/CMakeLists.txt aws-c-event-stream-0.2.5/CMakeLists.txt
|
||||||
|
--- aws-c-event-stream-0.2.5.orig/CMakeLists.txt 2020-11-13 21:29:52.000000000 +0100
|
||||||
|
+++ aws-c-event-stream-0.2.5/CMakeLists.txt 2020-11-26 17:32:23.861160125 +0100
|
||||||
|
@@ -71,6 +71,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)
|
||||||
|
+set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES SOVERSION 1)
|
||||||
|
|
||||||
|
aws_use_package(aws-c-io)
|
||||||
|
aws_use_package(aws-c-common)
|
246
aws-c-event-stream.changes
Normal file
246
aws-c-event-stream.changes
Normal file
@@ -0,0 +1,246 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 30 12:22:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.5.1
|
||||||
|
* chore: Modified bug issue template to add checkbox to
|
||||||
|
report potential regression. by @ashishdhingra in (#116)
|
||||||
|
* Switch CI to use roles by @DmitriyMusatkin in (#118)
|
||||||
|
* A bunch of CMake fixes by @graebm in (#119)
|
||||||
|
- Drop aces_fix-cmake-modules-path.patch, fixed upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 12:13:55 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.5.0
|
||||||
|
* Update CMake to 3.9 by @waahm7 in (#117)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 11:22:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro: allows us to eliminate usage of deprecated
|
||||||
|
%patchN syntax.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 19 15:45:39 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.2
|
||||||
|
* Fix a bunch of places we forget to aws_raise_error() by @graebm in (#111)
|
||||||
|
- from version 0.4.1
|
||||||
|
* Fix Variable Len Headers with Empty Value by @waahm7 in (#108)
|
||||||
|
- from version 0.4.0
|
||||||
|
* Added workflow for handling answerable discussions by @yasminetalby in (#105)
|
||||||
|
* Change port from uint16_t to uint32_t to support VSOCK by @graebm in (#109)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 25 12:20:29 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.3.2
|
||||||
|
* Explicit Private for target_link_libraries by @waahm7 in (#107)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 09:20:07 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.3.1
|
||||||
|
* Add Github templates and bots by @jmklix in (#100)
|
||||||
|
* Double Terminate Crash by @bretambrose in (#101)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 14 12:01:22 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.3.0
|
||||||
|
* Update builder version to fix aws-lc build on manylinux1 by @TingDaoK in (#98)
|
||||||
|
* Fix warnings in public headers by @waahm7 in (#99)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 1 10:24:12 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.20
|
||||||
|
* Change #if _MSC_VER to #ifdef _MSC_VER by @jmklix in (#97)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 11:28:21 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.19
|
||||||
|
* Delete .DS_Store by @graebm in (#95)
|
||||||
|
* Cursor header APIs by @bretambrose in (#96)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 13:08:01 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.18
|
||||||
|
* Fix macro usage by @DmitriyMusatkin in (#94)
|
||||||
|
- from version 0.2.17
|
||||||
|
* Add onComplete callback for streaming decoder by @waahm7 in (#93)
|
||||||
|
- from version 0.2.16
|
||||||
|
* sprintf() -> snprintf() by @graebm in (#91)
|
||||||
|
* Update CI to fix downstream build by @waahm7 in (#90)
|
||||||
|
* Fix decoding of headers with static value by @waahm7 in (#92)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 5 13:14:53 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.15
|
||||||
|
* Add AppVerifier to CI by @TwistedTwigleg in (#87)
|
||||||
|
* Fix continuation race condition and windows test
|
||||||
|
failures by @bretambrose in (#89)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 2 07:02:57 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.14
|
||||||
|
* Allow mix of static and shared libs
|
||||||
|
+ Fallback for target load by @TingDaoK in (#86)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 8 08:49:55 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.13
|
||||||
|
* Partially-constructed server connection crash fixes
|
||||||
|
+ Fixes several possible crashes related to partial-construction of
|
||||||
|
server connections when the connection notification callback fails
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 14 12:54:41 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.12
|
||||||
|
* Relax client stream id constraints
|
||||||
|
+ Convert to-client messages on closed streams to non-fatal to the
|
||||||
|
overall connection. There is a time gap between the continuation
|
||||||
|
removal on the client and the end-of-stream notice to the server
|
||||||
|
- from version 0.2.11
|
||||||
|
* Crash fix and stream-id order fix
|
||||||
|
+ Fixes an issue where a failed invocation of the on_incoming_stream
|
||||||
|
callback in the server implementation would lead to a crash
|
||||||
|
+ Fixes an issue where event stream ids could be submitted
|
||||||
|
out-of-increasing-order to the server depending on what threads
|
||||||
|
the continuation activation was invoked from.
|
||||||
|
- from version 0.2.10
|
||||||
|
* Add function to to query port of server listener
|
||||||
|
+ New: aws_event_stream_rpc_server_listener_get_bound_port()
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 19 11:23:50 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.9
|
||||||
|
* Fix deprecated header encode API
|
||||||
|
+ Fixes an issue (only present in v0.2.8) where the deprecated
|
||||||
|
header write API (aws_event_stream_write_headers_to_buffer)
|
||||||
|
would always fail
|
||||||
|
- from version 0.2.8
|
||||||
|
* Security hardening and protocol error JSON fixes
|
||||||
|
+ Adds a significant amount of error-checking and safety-hardening
|
||||||
|
+ Fixes the JSON bodies of several protocol error messages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 16 12:40:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use cmake()/pkgconfig() as buildrequires. Update descriptions.
|
||||||
|
- Replace lib%-devel subpackage by just %-devel.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 16 11:28:49 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.7
|
||||||
|
+ CONNECT_ACK bugfix
|
||||||
|
* Fix bug where client "forgets" it received CONNECT_ACK (#60)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 16 11:51:20 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.6
|
||||||
|
+ Fix possible deadlock from on_closed callback
|
||||||
|
* Release lock before invoking callbacks (#55)
|
||||||
|
- Add libaws-c-cal-devel to BuildRequires
|
||||||
|
- Add libopenssl-devel to BuildRequires
|
||||||
|
- Add patch to re-add SOVERSION to library
|
||||||
|
+ aces_re-add-so-version.patch
|
||||||
|
- Bump library_soversion to 1
|
||||||
|
- Disable testsuite as it requires an internet connection now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 16:12:56 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.5
|
||||||
|
+ Fixed gcc newline warning
|
||||||
|
* Added newline (#53)
|
||||||
|
- from version 0.2.4
|
||||||
|
+ Fixed shared lib build configuration
|
||||||
|
* Fixed shared-lib builds (#51)
|
||||||
|
- from version 0.2.3
|
||||||
|
+ Fixed shared lib test configuration
|
||||||
|
* Added test helper to ensure symbol is exported (#50)
|
||||||
|
- from version 0.2.2
|
||||||
|
+ Tagged network tests as net tests
|
||||||
|
* Marked RPC tests as net tests (#49)
|
||||||
|
- from version 0.2.1
|
||||||
|
+ Event-stream rpc server and client. Event-stream channel
|
||||||
|
handler. Added aws-c-io dependency and logging.
|
||||||
|
* Event stream rpc full stack (#48)
|
||||||
|
* event-stream-rpc implementation and tests.
|
||||||
|
Added aws-c-io dependency.
|
||||||
|
- Add libaws-c-io-devel to BuildRequires
|
||||||
|
- Add libs2n-devel to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 25 11:17:51 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.1.6
|
||||||
|
+ Update CMakeLists.txt to use aws-c-event-stream as
|
||||||
|
a submodule of aws-crt-cpp (#38)
|
||||||
|
- Refresh patches for new version
|
||||||
|
+ aces_fix-cmake-modules-path.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 09:22:13 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.1.5
|
||||||
|
+ Add build instructions to readme (#35)
|
||||||
|
+ Use Github Actions (#36)
|
||||||
|
+ Added clang-format linter
|
||||||
|
+ Use github actions for OSX
|
||||||
|
+ Remove .travis.yml
|
||||||
|
+ Use legacy common-posix script
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 00:48:48 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.1.4
|
||||||
|
+ Only call on_prelude() when prelude passed crc check
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 13:03:31 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Fix installation path for aws-c-event-stream-targets.cmake
|
||||||
|
in patch to fix cmake modules path in CMakeLists.txt
|
||||||
|
+ aces_fix-cmake-modules-path.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 3 10:28:51 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.1.3
|
||||||
|
+ Added support for shared/static lib builds in the same build closure
|
||||||
|
- from version 0.1.2
|
||||||
|
+ Quote TO_CMAKE_PATH args
|
||||||
|
- Refresh patches for new version
|
||||||
|
+ aces_fix-cmake-modules-path.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 22 21:15:01 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Fix name of runtime package in Requires of devel package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 10 11:53:57 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.1.1
|
||||||
|
- Append library ABI version to runtime package name
|
||||||
|
- Update patch to fix cmake modules path in CMakeLists.txt
|
||||||
|
+ aces_fix-cmake-modules-path.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 16:16:28 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Initial build
|
||||||
|
+ Version 0.1.0
|
||||||
|
- Add patch to fix cmake modules path in CMakeLists.txt
|
||||||
|
+ aces_fix-cmake-modules-path.patch
|
98
aws-c-event-stream.spec
Normal file
98
aws-c-event-stream.spec
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
#
|
||||||
|
# spec file for package aws-c-event-stream
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_with test
|
||||||
|
|
||||||
|
%define library_version 1.0.0
|
||||||
|
%define library_soversion 1
|
||||||
|
Name: aws-c-event-stream
|
||||||
|
Version: 0.5.1
|
||||||
|
Release: 0
|
||||||
|
Summary: C99 implementation of the vnd.amazon.eventstream content-type
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://github.com/awslabs/aws-c-event-stream
|
||||||
|
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
||||||
|
Patch0: aces_re-add-so-version.patch
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: ninja
|
||||||
|
BuildRequires: cmake(aws-c-cal)
|
||||||
|
BuildRequires: cmake(aws-c-common)
|
||||||
|
BuildRequires: cmake(aws-c-io)
|
||||||
|
BuildRequires: cmake(aws-checksums)
|
||||||
|
BuildRequires: cmake(s2n)
|
||||||
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
|
|
||||||
|
%description
|
||||||
|
C99 implementation of the vnd.amazon.eventstream content-type.
|
||||||
|
|
||||||
|
%package -n lib%{name}%{library_soversion}
|
||||||
|
Summary: C99 implementation of the vnd.amazon.eventstream content-type
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n lib%{name}%{library_soversion}
|
||||||
|
C99 implementation of the vnd.amazon.eventstream content-type.
|
||||||
|
|
||||||
|
This package contains the dynamically linked library.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for aws-c-event-stream library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: lib%{name}%{library_soversion} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
C99 implementation of the vnd.amazon.eventstream content-type.
|
||||||
|
|
||||||
|
This package contains the development files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%define __builder ninja
|
||||||
|
%cmake \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
%make_jobs
|
||||||
|
|
||||||
|
# Testsuite requires internet connection, so it won't work
|
||||||
|
%check
|
||||||
|
%if %{with test}
|
||||||
|
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
|
||||||
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
%fdupes -s %{buildroot}%{_libdir}/cmake
|
||||||
|
|
||||||
|
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n lib%{name}%{library_soversion}
|
||||||
|
%doc NOTICE README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/*.so.%{library_soversion}
|
||||||
|
%{_libdir}/*.so.%{library_version}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_libdir}/cmake/
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_includedir}/aws/
|
||||||
|
|
||||||
|
%changelog
|
3
v0.4.2.tar.gz
Normal file
3
v0.4.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c98b8fa05c2ca10aacfce7327b92a84669c2da95ccb8e7d7b3e3285fcec8beee
|
||||||
|
size 71455
|
3
v0.5.0.tar.gz
Normal file
3
v0.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3a53a9d05f9e2fd06036a12854a8b4f05a0c4858bb5b8df8a30edba9de8532b5
|
||||||
|
size 72002
|
3
v0.5.1.tar.gz
Normal file
3
v0.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22ce7a695b82debe118c9ecc641ea8bc7e59c9843f92d5acf8401fc86cac847a
|
||||||
|
size 72308
|
Reference in New Issue
Block a user