Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
86c6f9e6b1
!21 update to 1.19
From: @Jer6y 
Reviewed-by: @reganhe_xx 
Signed-off-by: @reganhe_xx
2024-01-08 07:34:25 +00:00
luojun
f013ecaa1f Update to 1.19 2024-01-05 19:09:48 +08:00
Kuoi
0ecd6c7522 !19 update: 1.17
From: @malacology 
Reviewed-by: @reganhe_xx 
Signed-off-by: @reganhe_xx
2023-06-01 05:58:45 +00:00
openeuler-ci-bot
f3c7dcf554
!18 提交 yaml 文件到 master 分支
From: @reganhe_xx 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-04-12 09:54:35 +00:00
herengui
cbba18115f 提交 yaml 文件到 master 分支
Signed-off-by: herengui <herengui@uniontech.com>
2022-04-08 16:14:54 +08:00
openeuler-ci-bot
a8fecf0792
!15 update to 1.11, new version fixed CVE-2020-36403
Merge pull request !15 from 莫得感情的打包机器人/master
2022-02-09 01:53:07 +00:00
herengui
207a493b10 update to 1.11, new version fixed CVE-2020-36403
修改复制 config.guess 和 config.sub 的代码,直接创建空文件即可

Signed-off-by: herengui <herengui@uniontech.com>
2022-02-09 09:39:44 +08:00
openeuler-ci-bot
000dfbce2b
!14 [sync] PR-7: fix config.guess and config.sub path error
Merge pull request !14 from openeuler-sync-bot/sync-pr7-openEuler-22.03-LTS-Next-to-master
2022-02-09 00:50:32 +00:00
chen-jan
d86c6207b9 fix config.guess and config.sub path error
(cherry picked from commit d354dfbaf652e79422f8acad325920b949ffaeb7)
2022-02-09 08:18:49 +08:00
openeuler-ci-bot
ee9e4e6f6e !4 provide htslib-tools package
From: @yangzhao_kl
Reviewed-by: @reganhe_xx
Signed-off-by: @reganhe_xx
2021-06-17 01:40:18 +00:00
yangzhao_kl
6421284571 add htslib-tools package 2021-06-17 09:00:56 +08:00
4 changed files with 44 additions and 14 deletions

Binary file not shown.

BIN
htslib-1.19.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: htslib Name: htslib
Version: 1.10.2 Version: 1.19
Release: 2 Release: 1
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/archive/%{name}-%{version}.tar.gz Source0: https://github.com/samtools/htslib/releases/download/%{version}/htslib-%{version}.tar.bz2
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,18 +25,23 @@ 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-gcs \ --enable-libcurl
--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
@ -50,16 +55,12 @@ 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*
@ -71,7 +72,32 @@ 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

4
htslib.yaml Normal file
View File

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