-
Notifications
You must be signed in to change notification settings - Fork 1
/
fastq_screen.spec
61 lines (41 loc) · 1.49 KB
/
fastq_screen.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
Name: fastq_screen
Version: 0.2.1
Release: 2%{?dist}
Summary: Contamination screening for next-gen sequence data
Group: Applications/Engineering
License: GPLv3+
URL: http://www.bioinformatics.bbsrc.ac.uk/projects/%{name}/
Source0: http://www.bioinformatics.bbsrc.ac.uk/projects/%{name}/%{name}_v%{version}.tar.gz
Source1: %{name}-README.Fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: bowtie
%description
FastQ Screen provides a simple way to screen a library of short reads
against a set of reference libraries. Its most common use is as part
of a QC pipeline to confirm that a library comes from the expected
source, and to help identify any sources of contamination.
%prep
%setup -q -n %{name}_v%{version}
cp -p %{SOURCE1} .
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{name} %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sysconfdir}
install -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
install -m 0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}-%{version}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt RELEASE_NOTES.txt fastq_screen-README.Fedora
%config(noreplace) %{_sysconfdir}/%{name}.conf
%{_bindir}/%{name}
%changelog
* Wed Aug 10 2011 Adam Huffman <[email protected]> - 0.2.1-2
- add README explaining use of fastq_screen.conf
* Fri Aug 5 2011 Adam Huffman <[email protected]> - 0.2.1-1
- initial version