File bandage.spec of Package bandage
#
# spec file for package bandage
#
# 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: bandage
Version: 0.9.0
Release: 0
Summary: Bioinformatics Application for Navigating De novo Assembly Graphs Easily
License: GPL-3.0-or-later
Group: Productivity/Scientific/Other
URL: https://rrwick.github.io/Bandage/
Source0: https://github.com/rrwick/Bandage/archive/v%{version}.tar.gz#/Bandage-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt5Svg)
%description
Bandage is a GUI program that allows users to interact with the assembly graphs made by de novo assemblers such as Velvet, SPAdes, MEGAHIT and others. De novo assembly graphs contain not only assembled contigs but also the connections between those contigs, which were previously not easily accessible. Bandage visualises assembly graphs, with connections, using graph layout algorithms. Nodes in the drawn graph, which represent contigs, can be automatically labelled with their ID, length or depth. Users can interact with the graph by moving, labelling and colouring nodes. Sequence information can also be extracted directly from the graph viewer. By displaying connections between contigs, Bandage opens up new possibilities for analysing and improving de novo assemblies that are not possible by looking at contigs alone. This version compiles with Qt5. See package "bandage6" for version compiled with Qt6.
%prep
%setup -q -n Bandage-%{version}
%build
%qmake5 Bandage.pro
%make_build
%install
install -d %{buildroot}%{_bindir}
install -D -m 0755 Bandage %{buildroot}%{_bindir}
%suse_update_desktop_file -i %{name} Education Science Biology
%check
%files
%{_bindir}/*
%license COPYING
%doc README.md
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog