File seqtk.spec of Package seqtk

#
# spec file for package seqtk
#
# 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:           seqtk
Version:        1.4
Release:        0
Summary:        Toolkit for processing sequences in FASTA/Q formats
License:        MIT
Group:          Productivity/Scientific/Other
URL:            https://github.com/lh3/seqtk
Source:         https://github.com/lh3/seqtk/archive/refs/tags/v%{version}.tar.gz#/seqtk-%{version}.tar.gz
BuildRequires:  gcc
BuildRequires:  zlib-devel

%description
Tool for processing sequences in the FASTA or FASTQ format. It seamlessly parses both FASTA and FASTQ files which can also be optionally compressed by gzip.

%prep
%setup -q

%build
%make_build

%install
install -d %{buildroot}%{_bindir}
install -D -m 0755 seqtk %{buildroot}%{_bindir}

%check

%files
%license LICENSE
%doc README.md
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by