Compare commits
11 Commits
f2d8d5bd0d
...
86c6f9e6b1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86c6f9e6b1 | ||
|
|
f013ecaa1f | ||
|
|
0ecd6c7522 | ||
|
|
f3c7dcf554 | ||
|
|
cbba18115f | ||
|
|
a8fecf0792 | ||
|
|
207a493b10 | ||
|
|
000dfbce2b | ||
|
|
d86c6207b9 | ||
|
|
ee9e4e6f6e | ||
|
|
6421284571 |
Binary file not shown.
BIN
htslib-1.19.tar.bz2
Normal file
BIN
htslib-1.19.tar.bz2
Normal file
Binary file not shown.
54
htslib.spec
54
htslib.spec
@ -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
4
htslib.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: samtools/htslib
|
||||||
|
tag_prefix: "^"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user