## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/shenwei356/seqkit %global goipath github.com/shenwei356/seqkit/v2 Version: 2.13.0 %gometa -L -f Name: seqkit Release: %autorelease Summary: A cross-platform and ultrafast toolkit for FASTA/Q file manipulation # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND FTL AND GPL-1.0-or-later AND GPL-2.0-or-later AND LicenseRef-scancode-unknown AND MIT AND OFL-1.1 AND Unlicense URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml Patch0: patch1.patch Patch1: patch2.patch BuildRequires: go-vendor-tools %description A cross-platform and ultrafast toolkit for FASTA/Q file manipulation. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/seqkit %{goipath}/seqkit %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %doc doc/docs CHANGELOG.md README-v0.3.1.1.md README.md %{_bindir}/seqkit %changelog ## START: Generated by rpmautospec * Wed Mar 18 2026 John Doe - 2.13.0-1 - Uncommitted changes ## END: Generated by rpmautospec