File bwa.spec of Package bwa

#
# spec file for package bwa
#
# Copyright (c) 2018 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:           bwa
Version:        0.7.17
Release:        0
Summary:        Burrows-Wheeler Aligner
License:        GPL-3.0-only
Group:          Productivity/Scientific/Other
URL:            http://bio-bwa.sourceforge.net/
Source:         http://downloads.sourceforge.net/project/bio-bwa/bwa-%{version}.tar.bz2
Patch0:         gcc10.patch
BuildRequires:  gcc-c++
BuildRequires:  zlib-devel

%description
BWA is a program for aligning sequencing reads against a large reference genome (e.g. human genome). It has two major components, one for read shorter than 150bp and the other for longer reads.

%prep
%setup -q
%patch0 -p1

%build
make %{?_smp_mflags}

%install
mkdir -p %{buildroot}/%{_bindir}
install -m755 bwa %{buildroot}/%{_bindir}

%files
%license COPYING
%doc README.md NEWS.md ChangeLog
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by