From 9b72595974b707232b177008b1792ef2e25177d37bebffac2957333cf5cba265 Mon Sep 17 00:00:00 2001 From: Jeff Mahoney Date: Tue, 27 Feb 2024 21:21:26 +0000 Subject: [PATCH] - 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 --- isa-l.changes | 8 +++++++ isa-l.spec | 59 +++++++++++++++++++++++---------------------------- 2 files changed, 35 insertions(+), 32 deletions(-) diff --git a/isa-l.changes b/isa-l.changes index 622fdb1..1a23bd1 100644 --- a/isa-l.changes +++ b/isa-l.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 27 08:47:43 UTC 2024 - Jan Engelhardt + +- 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 - v2.31.0 diff --git a/isa-l.spec b/isa-l.spec index 8220f3c..1aa8938 100644 --- a/isa-l.spec +++ b/isa-l.spec @@ -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