Compare commits

..

No commits in common. "86c6f9e6b1de9570519b66c132abb8502b44240e" and "f2d8d5bd0d0e3833c671b0bc938e614682289f09" have entirely different histories.

4 changed files with 14 additions and 44 deletions

BIN
htslib-1.10.2.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: htslib Name: htslib
Version: 1.19 Version: 1.10.2
Release: 1 Release: 2
Summary: C library for high-throughput sequencing data formats Summary: C library for high-throughput sequencing data formats
License: MIT and BSD License: MIT and BSD
URL: http://www.htslib.org URL: http://www.htslib.org
Source0: https://github.com/samtools/htslib/releases/download/%{version}/htslib-%{version}.tar.bz2 Source0: https://github.com/samtools/htslib/archive/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake make curl-devel zlib-devel bzip2-devel xz-devel libxcrypt-devel openssl-devel
BuildRequires: gcc make curl-devel zlib zlib-devel bzip2-devel xz-devel libxcrypt-devel openssl-devel
BuildRequires: autoconf automake libtool
%description %description
HTSlib is an implementation of a unified C library for accessing common file 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, formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data,
@ -25,23 +25,18 @@ Requires: %{name} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package tools
Summary: Additional htslib-based tools
Requires: %{name} = %{version}-%{release}
%description tools
Includes the popular tabix indexer, which indexes both .tbi and .csi formats,
the htsfile identifier tool, and the bgzip compression utility.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%build %build
autoheader
autoconf
%configure --prefix=%{_prefix} \ %configure --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--enable-plugins \ --enable-plugins \
--enable-libcurl --enable-gcs \
--enable-libcurl \
--enable-s3
%make_build %make_build
# As we don't install libhts.a, the .private keywords are irrelevant. # As we don't install libhts.a, the .private keywords are irrelevant.
sed -i -E '/^(Libs|Requires)\.private:/d' htslib.pc.tmp sed -i -E '/^(Libs|Requires)\.private:/d' htslib.pc.tmp
@ -55,12 +50,16 @@ rm -rf %{buildroot}/%{_libdir}/libhts.a
%files %files
%license LICENSE %license LICENSE
%doc README NEWS README.large_positions.md %doc README NEWS README.large_positions.md
%{_bindir}/*
%{_libdir}/libhts.so.* %{_libdir}/libhts.so.*
%dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/hfile_gcs.so %{_libexecdir}/%{name}/hfile_gcs.so
%{_libexecdir}/%{name}/hfile_libcurl.so %{_libexecdir}/%{name}/hfile_libcurl.so
%{_libexecdir}/%{name}/hfile_s3.so %{_libexecdir}/%{name}/hfile_s3.so
%{_libexecdir}/%{name}/hfile_s3_write.so %{_libexecdir}/%{name}/hfile_s3_write.so
%{_mandir}/man1/bgzip.1*
%{_mandir}/man1/htsfile.1*
%{_mandir}/man1/tabix.1*
%{_mandir}/man5/faidx.5* %{_mandir}/man5/faidx.5*
%{_mandir}/man5/sam.5* %{_mandir}/man5/sam.5*
%{_mandir}/man5/vcf.5* %{_mandir}/man5/vcf.5*
@ -72,32 +71,7 @@ rm -rf %{buildroot}/%{_libdir}/libhts.a
%{_libdir}/libhts.so %{_libdir}/libhts.so
%{_libdir}/pkgconfig/htslib.pc %{_libdir}/pkgconfig/htslib.pc
%files tools
%{_bindir}/bgzip
%{_bindir}/htsfile
%{_bindir}/tabix
%{_bindir}/annot-tsv
%{_mandir}/man1/annot-tsv.1*
%{_mandir}/man1/bgzip.1*
%{_mandir}/man1/htsfile.1*
%{_mandir}/man1/tabix.1*
%changelog %changelog
* Fri Jan 5 2024 luojun <luojun.oerv@isrc.iscas.ac.cn> - 1.19-1
- Update to 1.19
* Wed May 24 2023 guoyizhang <kuoi@bioarchlinux.org> - 1.17-1
- Update to 1.17
* Wed Feb 09 2022 herengui <herengui@uniontech.com> - 1.11-1
- update to 1.11, new version fixed CVE-2020-36403
* Wed Jan 12 2022 Chen Chen <chen_aka_jan@163.com> - 1.10.2-4
- fix config.guess and config.sub path error
* Wed Jun 16 2021 zhao yang <yangzhao1@kylinos.cn> - 1.10.2-3
- Add htslib-tools package
* Fri Mar 26 2021 herengui <herengui@uniontech.com> - 1.10.2-2 * Fri Mar 26 2021 herengui <herengui@uniontech.com> - 1.10.2-2
- Add compilation parameters, update package lists - Add compilation parameters, update package lists

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: samtools/htslib
tag_prefix: "^"
separator: "."