diff --git a/samtools-1.10.tar.gz b/samtools-1.10.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f354b493bd01f229a1624211c993113379d50820 Binary files /dev/null and b/samtools-1.10.tar.gz differ diff --git a/samtools.spec b/samtools.spec new file mode 100644 index 0000000000000000000000000000000000000000..26e538a38a12439b365ae1c66bb74d65ffbc14d0 --- /dev/null +++ b/samtools.spec @@ -0,0 +1,50 @@ +#%global debug_package %{nil} + +Name: samtools +Version: 1.10 +Release: 1 +Summary: Tools (written in C using htslib) for manipulating next-generation sequencing data +License: MIT and BSD +URL: http://www.htslib.org +Source0: https://github.com/samtools/samtools/archive/%{name}-%{version}.tar.gz + +BuildRequires: gcc autoconf automake make zlib-devel htslib-devel perl-Getopt-Long + +%description +The original samtools package has been split into three separate but tightly coordinated projects: + htslib: C-library for handling high-throughput sequencing data + samtools: mpileup and other tools for handling SAM, BAM, CRAM + bcftools: calling and other tools for handling VCF, BCF +See also http://github.com/samtools/ + + +%prep +%setup -q -n %{name}-%{version}/ + +%build +autoheader +autoconf -Wno-syntax +%configure --prefix=%{_prefix} --libdir=%{_libdir} --with-htslib +%make_build + +%install +%make_install + +%pre +%preun +%post +%postun + +%check + +%files +%license LICENSE +%doc README INSTALL doc/ examples/ +%{_bindir}/* +%{_mandir}/* + + +%changelog +* Mon May 4 2020 Wei Xiong +- Package init +