]> git.pld-linux.org Git - SPECS.git/blob - ncbi-blast+.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / ncbi-blast+.spec
1 Summary:        NCBI BLAST+ finds regions of similarity between biological sequences
2 Name:           ncbi-blast+
3 Version:        2.2.29
4 Release:        1
5 License:        Public Domain and MIT
6 Group:          Applications/Science
7 Source0:        ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-%{version}+-src.tar.gz
8 # Source0-md5:  1290360b24448dd79840a6800482b597
9 Patch0:         %{name}-configure.patch
10 Patch1:         %{name}-libdeps.patch
11 URL:            http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download
12 BuildRequires:  boost-devel
13 BuildRequires:  bzip2-devel
14 BuildRequires:  curl-devel
15 BuildRequires:  db-devel
16 BuildRequires:  expat-devel
17 BuildRequires:  fcgi-devel
18 BuildRequires:  freetds-devel
19 BuildRequires:  freetype-devel
20 BuildRequires:  ftgl-devel
21 BuildRequires:  giflib-devel
22 BuildRequires:  glew-devel
23 BuildRequires:  gnutls-devel
24 BuildRequires:  gsoap-devel
25 BuildRequires:  hdf5-c++-devel
26 BuildRequires:  libfuse-devel
27 BuildRequires:  libgcrypt
28 #BuildRequires: libgssapi_krb5
29 BuildRequires:  libicu-devel
30 BuildRequires:  libjpeg-devel
31 BuildRequires:  libmagic-devel
32 BuildRequires:  libpng-devel
33 BuildRequires:  libtiff-devel
34 BuildRequires:  libuuid-devel
35 BuildRequires:  libxml2-devel
36 BuildRequires:  libxslt-devel
37 BuildRequires:  libxslt-devel
38 BuildRequires:  libxslt-progs
39 BuildRequires:  Mesa-libOSMesa-devel
40 BuildRequires:  mongodb-devel
41 BuildRequires:  muparser-devel
42 BuildRequires:  mysql-devel
43 BuildRequires:  OpenGL-devel
44 BuildRequires:  OpenGL-glut-devel
45 BuildRequires:  openssl-devel
46 BuildRequires:  pcre-devel
47 BuildRequires:  perl-devel
48 BuildRequires:  python-devel
49 BuildRequires:  sablotron-devel
50 BuildRequires:  sqlite3-devel
51 BuildRequires:  wxWidgets-devel
52 BuildRequires:  xalan-c-devel
53 BuildRequires:  xerces-c-devel
54 BuildRequires:  xorg-lib-libICE-devel
55 BuildRequires:  xorg-lib-libXext-devel
56 BuildRequires:  xorg-lib-libXmu-devel
57 BuildRequires:  xorg-lib-libXpm-devel
58 BuildRequires:  xorg-lib-libXt-devel
59 BuildRequires:  zlib-devel
60 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62 %description
63 The NCBI Basic Local Alignment Search Tool (BLAST) finds regions of
64 local similarity between sequences. The program compares nucleotide or
65 protein sequences to sequence databases and calculates the statistical
66 significance of matches. BLAST can be used to infer functional and
67 evolutionary relationships between sequences as well as help identify
68 members of gene families.
69
70 %prep
71 %setup -q -n ncbi-blast-%{version}+-src
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 export CFLAGS="%{rpmcflags}"
77 export CXXFLAGS="%{rpmcxxflags}"
78
79 cd c++
80 %configure \
81         --with-dll \
82         --with-mt \
83         --without-autodep \
84         --without-makefile-auto-update \
85         --with-flat-makefile \
86         --without-caution \
87         --without-dbapi \
88         --without-lzo \
89         --with-runpath=%{_libdir}/ncbi-blast+ \
90         --with-build-root=BUILD \
91         --without-strip \
92         --with-symbols
93
94 cd BUILD/build
95 %{__make} -f Makefile.flat all_projects="algo/blast/ app/ objmgr/ objtools/align_format/ objtools/blast/"
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/{%{_bindir},%{_libdir}/ncbi-blast+}
100
101 install -p c++/BUILD/lib/*.so $RPM_BUILD_ROOT/%{_libdir}/ncbi-blast+
102
103 cd c++/BUILD/bin
104 install -p blastp blastn blastx tblastn tblastx psiblast rpsblast \
105         rpstblastn blast_formatter deltablast makembindex segmasker \
106         dustmasker windowmasker makeblastdb makeprofiledb blastdbcmd \
107         blastdb_aliastool convert2blastmask blastdbcheck legacy_blast.pl \
108         blastdbcp gene_info_reader seedtop seqdb_demo seqdb_perf datatool \
109         project_tree_builder update_blastdb.pl $RPM_BUILD_ROOT/%{_bindir}
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %files
115 %defattr(644,root,root,755)
116 %doc c++/scripts/projects/blast/ChangeLog
117 %doc c++/scripts/projects/blast/README
118 %doc c++/scripts/projects/blast/LICENSE
119 %attr(755,root,root) %{_bindir}/*
120 %dir %{_libdir}/ncbi-blast+
121 %attr(755,root,root) %{_libdir}/ncbi-blast+/*.so
This page took 0.822103 seconds and 3 git commands to generate.