You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
isa-l/SPECS/isa-l.spec

102 lines
2.7 KiB

Name: isa-l
Version: 2.31.0
Release: 1%{?dist}
Summary: Intel(R) Intelligent Storage Acceleration Library
License: BSD-3-Clause
URL: https://github.com/intel/isa-l
Source0: %{url}/archive/v%{version}/isa-l-%{version}.tar.gz
# https://github.com/intel/isa-l/pull/271
Patch0: 0001-Fix-wrong-return-type.patch
ExcludeArch: %{ix86}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: make
BuildRequires: gcc
BuildRequires: nasm
%description
Collection of low-level functions used in storage applications.
Contains fast erasure codes that implement a general Reed-Solomon type
encoding for blocks of data that helps protect against erasure of
whole blocks. The general ISA-L library contains an expanded set of
functions used for data protection, hashing, encryption, etc.
This package contains the shared library.
%package devel
Summary: Intel(R) Intelligent Storage Acceleration Library - devel files
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Collection of low-level functions used in storage applications.
Contains fast erasure codes that implement a general Reed-Solomon type
encoding for blocks of data that helps protect against erasure of
whole blocks. The general ISA-L library contains an expanded set of
functions used for data protection, hashing, encryption, etc.
This package contains the development files needed to build against
the shared library.
%package tools
Summary: Intel(R) Intelligent Storage Acceleration Library - tool
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
Collection of low-level functions used in storage applications.
Contains fast erasure codes that implement a general Reed-Solomon type
encoding for blocks of data that helps protect against erasure of
whole blocks. The general ISA-L library contains an expanded set of
functions used for data protection, hashing, encryption, etc.
This package contains CLI tools.
%prep
%setup -q
%patch -P 0 -p1
%build
autoreconf -v -f -i
%configure --disable-static
%make_build
%install
%make_install
rm %{buildroot}%{_libdir}/*.la
%check
%make_build check
%make_build test
%make_build perf
%files
%{_libdir}/libisal.so.2*
%license LICENSE
%files devel
%{_includedir}/isa-l.h
%{_includedir}/isa-l
%{_libdir}/libisal.so
%{_libdir}/pkgconfig/libisal.pc
%doc examples
%files tools
%{_bindir}/igzip
%{_mandir}/man1/igzip.1*
%changelog
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.31.0-1
- Rebuilt for MSVSphere 10
* Sat Jan 20 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 2.31.0-1
- Update to version 2.31.0
- Drop EPEL 7 support
- Run more tests
* Sat Nov 11 2023 Mattias Ellert <mattias.ellert@physics.uu.se> - 2.30.0-1
- Initial package for Fedora