File muscle.spec of Package muscle

#
# spec file for package muscle
#
# Copyright (c) 2012 SUSE LINUX Products 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:           muscle
Summary:        Multiple Alignment Program
License:        SUSE-Public-Domain
Group:          Productivity/Scientific/Other
Version:        3.8.31
Release:        0
BuildRequires:  gcc-c++
BuildRequires:  make
Source:         %{name}%{version}_src.tar.gz
Patch:          muscle-disable-static.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www.drive5.com/muscle

%description
MUSCLE is a program for creating multiple alignments of amino acid or 
nucleotide sequences. A range of options is provided that give you the choice
of optimizing accuracy, speed, or some compromise between the two. Default 
parameters are those that give the best average accuracy in our tests. Using 
versions current at the time of writing, my tests show that MUSCLE can achieve
both better average accuracy and better speed than CLUSTALW or T‑Coffee, 
depending on the chosen options.

Edgar, Robert C. (2004), MUSCLE: multiple sequence alignment with high accuracy
and high throughput, Nucleic Acids Research 32(5), 1792-97. 

%prep
%setup -c
%patch -p0

%build
export CXXFLAGS="$RPM_OPT_FLAGS"
cd %{name}%{version}/src
make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
install -m 755 %{name}%{version}/src/muscle %{buildroot}/%{_bindir}/muscle

%clean

%files
%defattr(-,root,root)
%{_bindir}/muscle

%changelog
openSUSE Build Service is sponsored by