diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..9b7c16d48bd159875d83e4763fc63b46ce1bd58f --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.bz2 filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..bc5ebe40a1b38da57b04010251bcd70657cc6a9d --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/htslib diff --git a/htslib-1.21.tar.bz2 b/htslib-1.21.tar.bz2 deleted file mode 100644 index 7e75bc4d74548acc5b698a1a8150268737cf55c2..0000000000000000000000000000000000000000 Binary files a/htslib-1.21.tar.bz2 and /dev/null differ diff --git a/htslib-1.22.1.tar.bz2 b/htslib-1.22.1.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..fa7c8c9aae89d686f1d63ee01d6ece37eda1ac55 --- /dev/null +++ b/htslib-1.22.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dfa6eeb71db719907fe3ef7c72cb2ec9965b20b58036547c858c89b58c342f7 +size 4840271 diff --git a/htslib.spec b/htslib.spec index 05dea7ed41c72c81a553625dfe408afbf0d23030..76798ba5510b65b2bc48ca2d6ca25b3f4d3d4247 100644 --- a/htslib.spec +++ b/htslib.spec @@ -1,13 +1,19 @@ Name: htslib -Version: 1.21 +Version: 1.22.1 Release: 1 Summary: C library for high-throughput sequencing data formats -License: MIT and BSD -URL: http://www.htslib.org +License: MIT AND BSD-3-Clause +URL: https://www.htslib.org Source0: https://github.com/samtools/htslib/releases/download/%{version}/htslib-%{version}.tar.bz2 -BuildRequires: gcc make curl-devel zlib zlib-devel bzip2-devel xz-devel libxcrypt-devel openssl-devel -BuildRequires: autoconf automake libtool +BuildRequires: gcc make +BuildRequires: bzip2-devel +BuildRequires: curl-devel +BuildRequires: libdeflate-devel +BuildRequires: openssl-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel + %description HTSlib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data, @@ -38,8 +44,7 @@ the htsfile identifier tool, and the bgzip compression utility. %setup -q -n %{name}-%{version} %build -%configure --prefix=%{_prefix} \ - --libdir=%{_libdir} \ +%configure \ --enable-plugins \ --enable-libcurl %make_build @@ -52,6 +57,9 @@ sed -i -E '/^(Libs|Requires)\.private:/d' htslib.pc.tmp find %{buildroot}/%{_libdir} -iname "*.so.*" -exec chmod +x {} \; rm -rf %{buildroot}/%{_libdir}/libhts.a +%check +%make_build test + %files %license LICENSE %doc README NEWS README.large_positions.md @@ -75,14 +83,19 @@ rm -rf %{buildroot}/%{_libdir}/libhts.a %files tools %{_bindir}/bgzip %{_bindir}/htsfile +%{_bindir}/ref-cache %{_bindir}/tabix %{_bindir}/annot-tsv %{_mandir}/man1/annot-tsv.1* %{_mandir}/man1/bgzip.1* %{_mandir}/man1/htsfile.1* +%{_mandir}/man1/ref-cache.1.* %{_mandir}/man1/tabix.1* %changelog +* Tue Oct 07 2025 Funda Wang - 1.22.1-1 +- update to 1.22.1 + * Fri Nov 22 2024 wangxiaomeng - 1.21-1 - Update to 1.21