forked from pool/aws-checksums
- Update to version 0.2.5
* Add missing extern c to new header by @DmitriyMusatkin in (#103) - from version 0.2.4 * Add init functions to support thread safe init of impls by @DmitriyMusatkin in (#102) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-checksums?expand=0&rev=29
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
|
42
ac_fix-cmake-modules-path.patch
Normal file
42
ac_fix-cmake-modules-path.patch
Normal file
@@ -0,0 +1,42 @@
|
||||
diff -Nru aws-checksums-0.1.20.orig/CMakeLists.txt aws-checksums-0.1.20/CMakeLists.txt
|
||||
--- aws-checksums-0.1.20.orig/CMakeLists.txt 2024-09-13 18:19:34.000000000 +0000
|
||||
+++ aws-checksums-0.1.20/CMakeLists.txt 2024-09-17 10:59:10.258664608 +0000
|
||||
@@ -16,17 +16,10 @@
|
||||
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)
|
||||
+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(AwsSIMD)
|
||||
include(AwsCFlags)
|
||||
@@ -151,7 +144,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)
|
||||
|
||||
@@ -160,7 +153,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)
|
||||
|
||||
include(CTest)
|
13
ac_re-add-so-version.patch
Normal file
13
ac_re-add-so-version.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -Nru aws-checksums-0.1.20.orig/CMakeLists.txt aws-checksums-0.1.20/CMakeLists.txt
|
||||
--- aws-checksums-0.1.20.orig/CMakeLists.txt 2024-09-13 18:19:34.000000000 +0000
|
||||
+++ aws-checksums-0.1.20/CMakeLists.txt 2024-09-17 11:00:11.523015122 +0000
|
||||
@@ -73,8 +73,8 @@
|
||||
|
||||
aws_add_sanitizers(${PROJECT_NAME})
|
||||
|
||||
-# We are not ABI stable yet
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)
|
||||
+set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES SOVERSION 1)
|
||||
|
||||
if (USE_CPU_EXTENSIONS)
|
||||
if (AWS_ARCH_INTEL)
|
189
aws-checksums.changes
Normal file
189
aws-checksums.changes
Normal file
@@ -0,0 +1,189 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 7 07:21:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.2.5
|
||||
* Add missing extern c to new header by @DmitriyMusatkin in (#103)
|
||||
- from version 0.2.4
|
||||
* Add init functions to support thread safe init of impls
|
||||
by @DmitriyMusatkin in (#102)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 12:44:02 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.2.3
|
||||
* Switch CI to use roles by @DmitriyMusatkin in (#100)
|
||||
* A bunch of CMake fixes by @graebm in (#101)
|
||||
- Drop ac_fix-cmake-modules-path.patch, fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 11:06:51 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.2.2
|
||||
* Fix predefines for bswap for old compilers by @DmitriyMusatkin in (#99)
|
||||
- from version 0.2.1
|
||||
* chore: Modified bug issue template to add checkbox to
|
||||
report potential regression. by @ashishdhingra in (#95)
|
||||
* CRC big endian support by @DmitriyMusatkin in (#97)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 12:11:32 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.2.0
|
||||
* Update CMake to 3.9 by @waahm7 in (#98)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 11:05:10 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.20
|
||||
* Add crc helpers for writing to large buffers. by @DmitriyMusatkin in (#93)
|
||||
* Fix builds on clang 16+ by @DmitriyMusatkin in (#96)
|
||||
- from version 0.1.19
|
||||
* Rebase CRC32DATA32VALUE by @jmklix in (#87)
|
||||
* clang-format 18 by @graebm in (#91)
|
||||
* Update MacOS to arm64 by @waahm7 in (#92)
|
||||
* Better vectorization and crc64 by @JonathanHenson in (#79)
|
||||
- Add new aws-checksums-bin binary package
|
||||
- Refresh patches for new version
|
||||
* ac_fix-cmake-modules-path.patch
|
||||
* ac_re-add-so-version.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 11:13:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||
%patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 15:47:49 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.18
|
||||
* Added workflow for handling answerable discussions by @yasminetalby in (#75)
|
||||
* Remove unused source/arm/asm directory include by @waahm7 in (#78)
|
||||
* BUILDER_VERSION: v0.9.55 by @graebm in (#80)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 10:00:25 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.17
|
||||
* Refactor CPU_EXTENSIONS logic for MSVC with Clang by @waahm7 in (#69)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 7 08:43:13 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.16
|
||||
* Add Github templates and bots by @jmklix in (#64)
|
||||
* Fix use of inline ASM labels by @jamesbornholt in (#65)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 08:26:01 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.15
|
||||
* Add to .gitignore by @graebm in (#62)
|
||||
* Fix warnings in public headers by @waahm7 in (#63)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 18 13:13:53 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.14
|
||||
* Add AppVerifier to CI by @TwistedTwigleg in (#58)
|
||||
* Update CI to fix downstream build by @waahm7 in (#59)
|
||||
* Fixed gcc and clang constraint error due to improper
|
||||
input operands and clobbers via suggestion from @topperc
|
||||
by @JonathanHenson in (#57)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 13:01:10 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.13
|
||||
+ Allow mix of static and shared libs
|
||||
* Load cmake target fallback by @TingDaoK in (#56)
|
||||
- Use cmake() macro in BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 07:58:10 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.12
|
||||
+ Support new build flag: USE_CPU_EXTENSIONS
|
||||
* If -DUSE_CPU_EXTENSIONS=OFF then do not use function implementations
|
||||
that are optimized for specific CPU architectures, only use the generic
|
||||
implementation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 11:10:25 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.11
|
||||
+ Improved ARM support
|
||||
* Updated feature test compilation flags to properly
|
||||
detect/fail Cortex features
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 19 12:39:03 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.10
|
||||
+ Removed UNSTABLE from SONAME
|
||||
* Removed 0unstable from SOVERSION (#36)
|
||||
- Add patch to re-add SOVERSION to library
|
||||
+ ac_re-add-so-version.patch
|
||||
- Bump library_soversion to 1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 11:20:37 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.9
|
||||
+ Updates cmake files to use the local project name,
|
||||
fixing consumers using this as a submodule
|
||||
- Add missing %{library_soversion} to Requires for -devel package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 14 12:17:00 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.8
|
||||
+ Refactor to run on aws-c-common's cpuid checks and cmake macros. (#31)
|
||||
+ Add support for using Arm CRC instructions (#31)
|
||||
+ Fix exported symbols according to changes in aws-c-common. (#32)
|
||||
- Add libaws-c-common-devel to BuildRequires
|
||||
- Append library ABI version to runtime package name
|
||||
- Fix installation path for aws-checksums-targets.cmake
|
||||
in patch to fix cmake modules path in CMakeLists.txt
|
||||
+ ac_fix-cmake-modules-path.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 09:24:47 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.7
|
||||
+ Fix duplicate symbols in gcc < 4.4
|
||||
- from version 0.1.6
|
||||
+ Make sure clang builds use the hw optimized code, disable the
|
||||
asm on assemblers that don't know of clmul's existence.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 15:29:20 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.5
|
||||
+ Android Build Fix
|
||||
* This release fixes conflicting symbols when building for Android.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 12:01:32 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.4
|
||||
+ Fixed mixed static/shared builds
|
||||
* Added support for shared/static lib builds in the same build closure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 05:46:57 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.1.3
|
||||
+ Fix MSVC ARM Build
|
||||
* It just forwards to the SW implementation, but it's better than nothing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 12:24:54 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Move cmake files to correct installation path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 14:34:15 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Initial build
|
||||
+ Version 0.1.2
|
105
aws-checksums.spec
Normal file
105
aws-checksums.spec
Normal file
@@ -0,0 +1,105 @@
|
||||
#
|
||||
# spec file for package aws-checksums
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define library_version 1.0.0
|
||||
%define library_soversion 1
|
||||
Name: aws-checksums
|
||||
Version: 0.2.5
|
||||
Release: 0
|
||||
Summary: Checksums package for AWS SDK for C
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/awslabs/aws-checksums
|
||||
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
||||
Patch0: ac_re-add-so-version.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ninja
|
||||
BuildRequires: cmake(aws-c-common)
|
||||
|
||||
%description
|
||||
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
||||
configuration, data structures, and error handling.
|
||||
|
||||
%package -n %{name}-bin
|
||||
Summary: Binary files for aws-checksums library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: lib%{name}%{library_soversion} = %{version}
|
||||
|
||||
%description -n %{name}-bin
|
||||
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
||||
configuration, data structures, and error handling.
|
||||
|
||||
This package contains the binary files.
|
||||
|
||||
%package -n lib%{name}%{library_soversion}
|
||||
Summary: Shared library files for aws-checksums library
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n lib%{name}%{library_soversion}
|
||||
Cross-Platform hardware-accelerated CRC32c and CRC32 with fallback to
|
||||
efficient software implementations. C interface with language bindings
|
||||
for each of the AWS SDKs.
|
||||
|
||||
This package contains the dynamically linked library.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Summary: Development files for aws-checksums library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: lib%{name}%{library_soversion} = %{version}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
||||
configuration, data structures, and error handling.
|
||||
|
||||
This package contains the development files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%define __builder ninja
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
%make_jobs
|
||||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
|
||||
%ctest
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{name}-bin
|
||||
%{_bindir}/checksum-profile
|
||||
|
||||
%files -n lib%{name}%{library_soversion}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.%{library_soversion}
|
||||
%{_libdir}/*.so.%{library_version}
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
3
v0.1.18.tar.gz
Normal file
3
v0.1.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bdba9d0a8b8330a89c6b8cbc00b9aa14f403d3449b37ff2e0d96d62a7301b2ee
|
||||
size 73391
|
3
v0.1.20.tar.gz
Normal file
3
v0.1.20.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:12f80085993662b6d2cbd2d090b49b4350d19396b1d218d52323712cc8dee252
|
||||
size 112503
|
3
v0.2.0.tar.gz
Normal file
3
v0.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aae619de7fb5908a52223eae3b80fae70260eed5919ad4c385b2d5a144a641f0
|
||||
size 112450
|
3
v0.2.2.tar.gz
Normal file
3
v0.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96acfea882c06acd5571c845e4968892d6ffc0fae81b31a0b1565100049743b2
|
||||
size 136142
|
3
v0.2.3.tar.gz
Normal file
3
v0.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c688f311db8a1b70bb6d22f6e8f2817b39e1419546e339cf753d61340969eeb4
|
||||
size 135741
|
3
v0.2.5.tar.gz
Normal file
3
v0.2.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c75f1697720d1f3bd5ac5e5a9613e0120337ef48c3c6bf1e6be3c802799ad8e4
|
||||
size 136281
|
Reference in New Issue
Block a user