File dialign-tx.spec of Package dialign-tx
#
# spec file for package dialign-tx
#
# 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: dialign-tx
Summary: Greedy and progressive approaches for segment-based multiple sequence alignment
Version: 1.0.2
Release: 0
License: LGPL-2.1
Group: Productivity/Scientific/Other
BuildRequires: gcc
Source: http://dialign-tx.gobics.de/DIALIGN-TX_%{version}.tar.gz
# PATCH-FIX-UPSTREAM dialign-tx-clear-make-marchi686-flag.patch badshah400@gmail.com -- Remove the march=i686 flag to get it building on x86_64 architectures
# PATCH-FIX-OPENSUSE and add -fgnu89-inline flag to have it build on Tumbleweed
Patch0: dialign-tx-clear-make-marchi686-flag.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://dialign-tx.gobics.de/
%description
DIALIGN-TX is a substantial improvement of DIALIGN-T that combines greedy
and progressive alignment strategies in a new algorithm.
%prep
%setup -q -n DIALIGN-TX_%{version}
%patch0 -p1
chmod -x *.txt
%build
cd source
make %{?_smp_mflags}
%install
cd source
mkdir -p %{buildroot}%{_bindir}
install dialign-tx %{buildroot}%{_bindir}
%files
%defattr(-,root,root)
%doc *.txt
%{_bindir}/dialign-tx
%changelog