SHA256
1
0
forked from pool/isa-l

- Let -devel subpackage use the SRPM base name.

- Use %ldconfig_scriptlets.
- Description updates: meaningful description for the SRPM, neutral
  descriptions, trim duplication, give libisal2 a bulleted list.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isa-l?expand=0&rev=2
This commit is contained in:
Jeff Mahoney 2024-02-27 21:21:26 +00:00 committed by Git OBS Bridge
parent 81addb4497
commit 9b72595974
2 changed files with 35 additions and 32 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 27 08:47:43 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Let -devel subpackage use the SRPM base name.
- Use %ldconfig_scriptlets.
- Description updates: meaningful description for the SRPM, neutral
descriptions, trim duplication, give libisal2 a bulleted list.
-------------------------------------------------------------------
Mon Feb 26 17:30:24 UTC 2024 - Jeff Mahoney <jeffm@suse.com> - v2.31.0

View File

@ -1,7 +1,7 @@
#
# spec file for package isa-l
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -19,8 +19,8 @@
Name: isa-l
Version: 2.31.0
Release: 0
Summary: Intel(R) Intelligent Storage Acceleration Library
Group: System/Libraries
Summary: Intel Intelligent Storage Acceleration Library
Group: Development/Libraries/C and C++
License: BSD-3-Clause
URL: https://github.com/intel/isa-l
Source: https://github.com/intel/isa-l/archive/refs/tags/v%{version}.tar.gz
@ -31,33 +31,26 @@ BuildRequires: libtool
BuildRequires: nasm >= 2.13
%description
The main package will not be used.
Optimized low-level functions targeting storage applications.
%package -n igzip
Summary: Compress or decompress files similar to gzip
Summary: gzip backed by the ISA-L deflate library
Group: Productivity/Archiving/Compression
%description -n igzip
Compress or decompress files similar to gzip using the ISA-L fast deflate library.
igzip compresses and decompresses files similar to gzip using the
ISA-L deflate library.
Output .gz files are compatible with gzip and RFC-1952.
Output .gz files are compatible with gzip and RFC 1952.
%package -n libisal2-devel
%package devel
Summary: Development files for the Intel Intelligent Storage Acceleration Library
Group: Development/Libraries/C and C++
Requires: libisal2 = %{version}
%description -n libisal2-devel
ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes:
Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8).
CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported.
iscsi32, ieee32, t10dif, ecma64, iso64, jones64.
Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations.
Compression - Fast deflate-compatible data compression.
De-compression - Fast inflate-compatible data compression.
%description devel
ISA-L is a collection of optimized low-level functions targeting
storage applications.
This package contains the development headers for the library found
in libisal2.
@ -67,15 +60,21 @@ Summary: Intel Intelligent Storage Acceleration Library
Group: System/Libraries
%description -n libisal2
ISA-L is a collection of optimized low-level functions targeting
storage applications. ISA-L includes:
ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes:
* Erasure codes: Block Reed-Solomon type erasure codes for any
encode/decode matrix in GF(2^8).
* CRC Implementations of cyclic redundancy check. Six different
polynomials supported: iscsi32, ieee32, t10dif, ecma64, iso64,
jones64.
* RAID calculation and operation on XOR and P+Q parity found in
common RAID implementations.
* Compression of deflate-compatible data compression.
* De-compression of inflate-compatible data compression.
Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8).
CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported.
iscsi32, ieee32, t10dif, ecma64, iso64, jones64.
Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations.
Compression - Fast deflate-compatible data compression.
De-compression - Fast inflate-compatible data compression.
This package contains the development headers for the library found
in libisal2.
%prep
%autosetup
@ -88,11 +87,7 @@ De-compression - Fast inflate-compatible data compression.
%install
%make_install
%post -n libisal2
%run_ldconfig
%postun -n libisal2
%run_ldconfig
%ldconfig_scriptlets -n libisal2
%files -n igzip
%license LICENSE
@ -100,7 +95,7 @@ De-compression - Fast inflate-compatible data compression.
%{_bindir}/igzip
%{_mandir}/man1/igzip.1.gz
%files -n libisal2-devel
%files devel
%dir %{_includedir}/%{name}
%{_includedir}/%{name}.h
%{_includedir}/%{name}/crc.h