File cutepeaks.spec of Package cutepeaks

#
# spec file for package cutepeaks
#
# Copyright (c) 2021 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:           cutepeaks
Version:        0.2.3
Release:        0
Summary:        A simple viewer for Sanger file
License:        GPL-3.0
Group:          Productivity/Scientific/Biology
URL:            https://labsquare.github.io/CutePeaks/
Source:         https://github.com/labsquare/CutePeaks/archive/refs/tags/0.2.3.tar.gz#/%{name}-%{version}.tar.gz
Patch0:         icon.patch
BuildRequires:  hicolor-icon-theme
BuildRequires:  libqt5-qtbase-devel >= 5.7
BuildRequires:  cmake(Qt5Charts)
BuildRequires:  cmake(Qt5Svg)

%description
A simple viewer for Sanger trace file made with Qt5.Supports AB1
and SCF 3.0 file formats. It has regular expression pattern finder
and can export trace as SVG vector image.

%prep
%autosetup -n CutePeaks-%{version} -p1

%build
%qmake5 
%make_jobs

%install
%qmake5_install

%files
%license LICENSE
%doc CHANGELOG CREDITS AUTHORS README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/*/*/apps/%{name}.*

%changelog
openSUSE Build Service is sponsored by