-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbowtie.spec
80 lines (57 loc) · 2.04 KB
/
bowtie.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Name: bowtie
Version: 0.12.7
Release: 2%{?dist}
Summary: An ultrafast, memory-efficient short read aligner
Group: Applications/Engineering
License: Artistic 2.0
URL: http://bowtie-bio.sourceforge.net/index.shtml
Source0: http://downloads.sourceforge.net/%{name}-bio/%{name}-%{version}-src.zip
Patch0: %{name}-script-shebang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Bowtie, an ultrafast, memory-efficient short read aligner for short
DNA sequences (reads) from next-gen sequencers. Please cite: Langmead
B, et al. Ultrafast and memory-efficient alignment of short DNA
sequences to the human genome. Genome Biol 10:R25.
%prep
%setup -q
%patch0 -p1
%build
make %{?_smp_mflags} -p EXTRA_FLAGS="%{optflags}"
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/bowtie
install -m 0755 bowtie %{buildroot}/%{_bindir}
install -m 0755 bowtie-build %{buildroot}/%{_bindir}
install -m 0755 bowtie-inspect %{buildroot}/%{_bindir}
cp -a reads %{buildroot}/%{_datadir}/bowtie/
cp -a indexes %{buildroot}/%{_datadir}/bowtie/
cp -a genomes %{buildroot}/%{_datadir}/bowtie/
cp -a scripts %{buildroot}/%{_datadir}/bowtie/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc MANUAL NEWS VERSION AUTHORS TUTORIAL doc/
%dir %{_datadir}/bowtie
%{_bindir}/bowtie
%{_bindir}/bowtie-build
%{_bindir}/bowtie-inspect
%{_datadir}/bowtie/genomes
%{_datadir}/bowtie/indexes
%{_datadir}/bowtie/reads
%{_datadir}/bowtie/scripts
%changelog
* Mon Jun 27 2011 Adam Huffman <[email protected]> - 0.12.7-2
- add missing doc/
- add patch to fix Perl script without shebang
* Mon Sep 13 2010 Adam Huffman <[email protected]> - 0.12.7-1
- new upstream release 0.12.7
- changelog at http://bowtie-bio.sourceforge.net/index.shtml
* Tue Aug 31 2010 Adam Huffman <[email protected]> - 0.12.5-3
- really fix compilation flags
* Wed Aug 25 2010 Adam Huffman <[email protected]> - 0.12.5-2
- fix compilation flags
* Mon Aug 2 2010 Adam Huffman <[email protected]> - 0.12.5-1
- initial version