!15 update: 2.14.0

From: @malacology 
Reviewed-by: @reganhe_xx 
Signed-off-by: @reganhe_xx
This commit is contained in:
Kuoi 2023-06-05 01:40:27 +00:00 committed by openeuler-ci-bot
parent 40ff6e7555
commit 0c01302011
3 changed files with 19 additions and 14 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,15 @@
Name: ncbi-blast Name: ncbi-blast
Version: 2.12.0 Version: 2.14.0
Release: 4 Release: 1
Summary: NCBI BLAST finds regions of similarity between biological sequences. Summary: NCBI BLAST finds regions of similarity between biological sequences.
License: Public Domain License: Public Domain
URL: https://blast.ncbi.nlm.nih.gov/Blast.cgi URL: https://blast.ncbi.nlm.nih.gov/Blast.cgi
Source0: https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.12.0/ncbi-blast-2.12.0+-src.tar.gz Source0: https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-%{version}+-src.tar.gz
%ifarch riscv64 %ifarch riscv64
Patch0: add-riscv-support.patch Patch0: add-riscv-support.patch
%endif %endif
BuildRequires: lmdb lmdb-devel gcc-c++ make Requires: glibc perl python3 pcre elfutils-libelf zlib lmdbzstd lzo libuv libnghttp2 sqlite
BuildRequires: gcc-c++ make cpio zlib-devel lmdb-devel
%description %description
The NCBI Basic Local Alignment Search Tool (BLAST) finds regions of The NCBI Basic Local Alignment Search Tool (BLAST) finds regions of
local similarity between sequences. The program compares nucleotide or local similarity between sequences. The program compares nucleotide or
@ -29,27 +30,31 @@ cd c++
export CFLAGS="%{build_cflags}" export CFLAGS="%{build_cflags}"
export CXXFLAGS="%{build_cxxflags}" export CXXFLAGS="%{build_cxxflags}"
export LDFLAGS="%{build_ldflags}" export LDFLAGS="%{build_ldflags}"
./configure ./configure --prefix=/usr --with-dll --with-mt
cd ReleaseMT/build cd ReleaseMT/build
sed -i "s/-fPIC/-fPIC -g/g" Makefile.mk sed -i "s/-fPIC/-fPIC -g/g" Makefile.mk
%make_build all_r %make_build all_r
%install %install
install -d %{buildroot}%{_bindir} cd c++
install -d %{buildroot}%{_includedir}/ncbi-blast install -d -m 0755 %{buildroot}%{_bindir}
install -d %{buildroot}%{_libdir}/ncbi-blast install -d -m 0755 %{buildroot}%{_includedir}/ncbi-tools++
rm -rf c++/ReleaseMT/bin/windowmasker_2.2.22_adapter.py install -d -m 0755 %{buildroot}%{_libdir}/
install -m 0755 c++/ReleaseMT/bin/* %{buildroot}%{_bindir}/ rm -rf ReleaseMT/bin/windowmasker_2.2.22_adapter.py
cp -r c++/ReleaseMT/inc/* %{buildroot}%{_includedir}/ncbi-blast install -m 0755 ReleaseMT/bin/* %{buildroot}%{_bindir}/
cp c++/ReleaseMT/lib/* %{buildroot}%{_libdir}/ncbi-blast/ cp -r ReleaseMT/inc/* %{buildroot}%{_includedir}/ncbi-tools++
cp -r ReleaseMT/lib/* %{buildroot}%{_libdir}/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/* %_bindir/*
%{_includedir}/ncbi-blast/* %{_includedir}/ncbi-tools++/*
%{_libdir}/ncbi-blast/* %{_libdir}/*
%changelog %changelog
* Fri Jul 2 2023 guoyizhang <kuoi@bioarchlinux.org> - 2.14.0-1
- update to 2.14.0
* Wed May 31 2023 huajingyun <huajingyun@loongson.cn> - 2.12.0-4 * Wed May 31 2023 huajingyun <huajingyun@loongson.cn> - 2.12.0-4
- update config.guess and config.sub for loongarch64 - update config.guess and config.sub for loongarch64