Name: minimap2 Version: 2.30 Release: 1%{?dist} Summary: A versatile pairwise aligner for genomic and spliced nucleotide sequences License: MIT URL: https://lh3.github.io/minimap2/ Source0: https://github.com/lh3/%{name}/archive/refs/tags/v%{version}.tar.gz # Set up SIMDe capable compilation # https://salsa.debian.org/med-team/minimap2/-/blob/master/debian/patches/simde Patch0: minimap2-2.30-simde.patch # Propagate LDFLAGS and other user-supplied options # https://github.com/lh3/minimap2/pull/1168 Patch1: minimap2-2.30-propagate-build-flags.patch BuildRequires: make BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: simde-devel %description Minimap2 is a versatile sequence alignment program that aligns DNA or mRNA sequences against a large reference database. Typical use cases include: (1) mapping PacBio or Oxford Nanopore genomic reads to the human genome; (2) finding overlaps between long reads with error rate up to ~15%; (3) splice-aware alignment of PacBio Iso-Seq or Nanopore cDNA or Direct RNA reads against a reference genome; (4) aligning Illumina single- or paired-end reads; (5) assembly-to-assembly alignment; (6) full-genome alignment between two closely related species with divergence below ~15%. %prep %autosetup %build %ifarch x86_64 %make_build %else %ifarch aarch64 %make_build -f Makefile.simde arm_neon=1 aarch64=1 %else %make_build -f Makefile.simde %endif %endif %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} install -m 0755 minimap2 %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 install -m 0644 minimap2.1 %{buildroot}%{_mandir}/man1/ %files %license LICENSE.txt %doc cookbook.md FAQ.md NEWS.md README.md test %{_bindir}/minimap2 %{_mandir}/man1/minimap2.1.gz %changelog * Wed Feb 11 2026 Rasmus Ory Nielsen - 2.30-1 - Initial build