File hmmer2.spec of Package hmmer2
#
# spec file for package hmmer2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: hmmer
Version: 2.3.2
Release: 0
Summary: Sequence homology search software
License: GPL-2.0+
Group: Productivity/Scientific/Other
Url: http://hmmer.org
Source: http://eddylab.org/software/hmmer/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Fix missing DESTDIR in make install rules
Patch0: hmmer2_destdir.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
HMMER is used for searching sequence databases for homologs of protein sequences,
and for making protein sequence alignments. It implements methods using
probabilistic models called “profile hidden Markov models” (profile HMMs).
Compared to BLAST, FASTA, and other sequence alignment and database search tools
based on older scoring methodology, HMMER aims to be significantly more accurate
and more able to detect remote homologs because of the strength of its underlying
mathematical models.
%prep
%setup -q
%patch0 -p1
%build
%configure --enable-threads --enable-lfs
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1
make %{?_smp_mflags} DESTDIR=%{buildroot} install
gzip %{buildroot}%{_mandir}/man1/*.1
%files
%defattr(-,root,root,-)
%doc 00README COPYRIGHT LICENSE Userguide.pdf
%doc tutorial/*
%{_bindir}/hmmalign
%{_bindir}/hmmbuild
%{_bindir}/hmmcalibrate
%{_bindir}/hmmconvert
%{_bindir}/hmmemit
%{_bindir}/hmmfetch
%{_bindir}/hmmindex
%{_bindir}/hmmpfam
%{_bindir}/hmmsearch
%{_mandir}/man1/*.1.gz
%changelog