File seaview.spec of Package seaview

#
# spec file for package seaview
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           seaview
Version:        5.0.5
Release:        0
Summary:        Graphical user interface for sequence alignment and molecular phylogeny
License:        GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND ISC AND BSD-3-Clause AND SUSE-Public-Domain AND NonFree
Group:          Productivity/Scientific/Other
URL:            https://doua.prabi.fr/software/seaview
Source0:        https://doua.prabi.fr/software/seaview_data/seaview.tar.gz#/seaview.tar.gz
Source1:        %{name}.desktop
Source2:        %{name}.png
Source3:        %{name}.html
Patch0:         seaview.diff
BuildRequires:  fltk-devel
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  update-desktop-files
BuildRequires:  zlib-devel
Requires:       PhyML
Requires:       clustal-omega
Requires:       muscle

%description
SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA, PHYLIP, MASE, Newick) of DNA and protein sequences and of phylogenetic trees. SeaView drives programs muscle or Clustal Omega for multiple sequence alignment, and also allows to use any external alignment algorithm able to read and write FASTA-formatted files. Seaview drives the Gblocks program to select blocks of evolutionarily conserved sites. SeaView computes phylogenetic trees by parsimony, using PHYLIP's dnapars/protpars algorithm, distance, with NJ or BioNJ algorithms on a variety of evolutionary distances, maximum likelihood, driving program PhyML 3.1. Seaview can use the Transfer Bootstrap Expectation method to compute the bootstrap support of PhyML and distance trees. Seaview uses the Treerecs method to reconcile gene and species trees. SeaView prints and draws phylogenetic trees on screen, SVG, PDF or PostScript files. SeaView allows to download sequences from EMBL/GenBank/UniProt using the Internet.

%prep
%setup -q -n seaview
%patch -P 0

%build
%make_build

%install
install -d %{buildroot}%{_bindir}
install -D -m 0755 seaview %{buildroot}%{_bindir}
install -D -m 0644 seaview.1 %{buildroot}%{_mandir}/man1/%{name}.1
%suse_update_desktop_file -i %{name} Education Science Biology

%check

%files
%{_bindir}/*
%doc %{name}.html
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/*/*

%changelog
openSUSE Build Service is sponsored by