Name: htscodecs Version: 1.6.7 Release: %autorelease Summary: Custom compression for CRAM and others License: BSD-3-Clause URL: https://github.com/samtools/htscodecs VCS: git:%{url}.git Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig(bzip2) %description This package implements the custom CRAM codecs used for "EXTERNAL" block types. These consist of two variants of the rANS codec (8-bit and 16-bit renormalization, with run-length encoding and bit-packing also supported in the latter), a dynamic arithmetic coder, and custom codecs for name/ID compression and quality score compression derived from fqzcomp. %package devel Summary: Development files for htscodecs Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains headers and library links for developing applications that use htscodecs. %prep %autosetup %conf autoreconf -fi . %build # The configure script checks for the ability to compile for various CPU # extensions; e.g., AVX2. However, the code checks at runtime that the # necessary support is available before calling code built for those extensions. # See the use of CPUID in htscodecs/rANS_static4x16pr.c. %configure --disable-static %make_build %install %make_install %check make check %files %doc NEWS.md README.md %license LICENSE.md %{_libdir}/libhtscodecs.so.2{,.*} %files devel %{_includedir}/htscodecs/ %{_libdir}/libhtscodecs.so %changelog %autochangelog