Sync from SUSE:SLFO:Main libcrc32c revision c1de5c21523d1501d7323c4c85152bb3
This commit is contained in:
commit
bce68d4184
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
|
BIN
crc32c-1.1.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
crc32c-1.1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
21
libcrc32c.changes
Normal file
21
libcrc32c.changes
Normal file
@ -0,0 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 14:08:36 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Update to 1.1.2:
|
||||
* Fix (unused) ReadUint64LE for BE machines
|
||||
* Remove unnecessary reinterpret_cast
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 12:25:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Initial packaging effort for Google crc32c library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 24 12:00:00 UTC 2020 - Danilo Chang <ray2501@gmail.com>
|
||||
|
||||
- Initial
|
86
libcrc32c.spec
Normal file
86
libcrc32c.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package libcrc32c
|
||||
#
|
||||
# Copyright (c) 2022 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 rname crc32c
|
||||
%define soname 1
|
||||
Name: libcrc32c
|
||||
Version: 1.1.2
|
||||
Release: 0
|
||||
Summary: CRC32C implementation with support for CPU-specific acceleration instructions
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/google/crc32c
|
||||
Source: %{url}/archive/%{version}/%{rname}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
This project collects a few CRC32C implementations under an umbrella
|
||||
that dispatches to a suitable implementation based on the host computer's
|
||||
hardware capabilities.
|
||||
|
||||
CRC32C is specified as the CRC that uses the iSCSI polynomial in RFC 3720.
|
||||
The polynomial was introduced by G. Castagnoli, S. Braeuer and M. Herrmann.
|
||||
|
||||
%package -n %{name}%{soname}
|
||||
Summary: CRC32C implementation with support for CPU-specific acceleration instructions
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{name}%{soname}
|
||||
This project collects a few CRC32C implementations under an umbrella
|
||||
that dispatches to a suitable implementation based on the host computer's
|
||||
hardware capabilities.
|
||||
|
||||
CRC32C is specified as the CRC that uses the iSCSI polynomial in RFC 3720.
|
||||
The polynomial was introduced by G. Castagnoli, S. Braeuer and M. Herrmann.
|
||||
|
||||
%package -n %{name}-devel
|
||||
Summary: C++ header files and library symbolic links for %{rname}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}%{soname} = %{version}
|
||||
|
||||
%description -n %{name}-devel
|
||||
This package contains the C++ header files and symbolic links to the shared
|
||||
libraries for %{name}. If you would like to develop programs using %{name},
|
||||
you will need to install %{name}-devel.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake -DCRC32C_BUILD_TESTS=0 -DCRC32C_BUILD_BENCHMARKS=0 -DCRC32C_USE_GLOG=0
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{name}%{soname}
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}.so.1.1.0
|
||||
%{_libdir}/%{name}.so.1
|
||||
|
||||
%files -n %{name}-devel
|
||||
%doc AUTHORS CONTRIBUTING.md README.md
|
||||
%{_includedir}/%{rname}
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/cmake/Crc32c
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user