minimap2/minimap2.spec

48 lines
1.1 KiB
RPMSpec
Raw Normal View History

2021-03-22 17:27:12 +08:00
Name: minimap2
Version: 2.17
2021-08-28 15:50:56 +08:00
Release: 2
2021-03-22 17:27:12 +08:00
Summary: A versatile pairwise aligner for genomic and spliced nucleotide sequences
License: MIT
2021-08-28 15:50:56 +08:00
URL: https://lh3.github.io/minimap2/
2021-03-22 17:27:12 +08:00
Source0: https://github.com/lh3/minimap2/archive/refs/tags/v2.17.tar.bz2
2021-08-28 15:50:56 +08:00
Patch0: 0001-fix-man-command.patch
2021-03-22 17:27:12 +08:00
2021-08-28 15:50:56 +08:00
BuildRequires: gcc make zlib-devel
2021-03-22 17:27:12 +08:00
%description
Minimap2 is a versatile sequence alignment program that aligns DNA or mRNA sequences against a large reference database.
%global ENV %{nil}
%ifarch aarch64
%global ENV arm_neon=true aarch64=true
%endif
%prep
2021-08-28 15:50:56 +08:00
%setup -q -n %{name}-%{version}/
%patch0 -p 1
2021-03-22 17:27:12 +08:00
%build
%{ENV} make extra
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 minimap2 %{buildroot}%{_bindir}/minimap2
install -m 755 minimap2-lite %{buildroot}%{_bindir}/minimap2-lite
install -m 755 sdust %{buildroot}%{_bindir}/sdust
2021-08-28 15:50:56 +08:00
mkdir -p %{buildroot}%{_mandir}/man1/
cp ./minimap2.1 %{buildroot}%{_mandir}/man1/
2021-03-22 17:27:12 +08:00
%files
%license LICENSE.txt
%doc README.md cookbook.md
%{_bindir}/*
2021-08-28 15:50:56 +08:00
%{_mandir}/*
2021-03-22 17:27:12 +08:00
%changelog
2021-08-28 15:50:56 +08:00
* Sat Aug 28 2021 yangzhao <yangzhao1@kylinos.cn> - 2.17-2
- fix man command
2021-03-22 17:27:12 +08:00
2021-08-28 15:50:56 +08:00
* Thu Mar 18 2021 yangzhao <yangzhao1@kylinos.cn> - 2.17-1
- Package init