A new user interface for you! Read more...

File brat.spec of Package brat

# spec file for package brat
#
# Copyright (c) 2012 Scott R. Santos (santos@auburn.edu), Auburn University
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via 
# <halocaridina@gmail.com>
##

# norootforbuild

Name:           brat
Version:        1.2.4
Release:        1.0
License:        GNU GENERAL PUBLIC LICENSE
Group:          Other
Url:            http://compbio.cs.ucr.edu/brat/
Source:         http://compbio.cs.ucr.edu/brat/downloads/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
Conflicts:	brat_bw
Summary:        Bisulfite-treated Reads Analysis Tool


%description
BRAT is an accurate and efficient tool for mapping short bisulfite-treated reads obtained 
from the Solexa-Illumina Genome Analyzer. BRAT supports single-end and pair-end short reads 
mapping and allows alignment of different length reads/mates.

The package includes tools to trim low quality reads ends and to report A, C, G, T counts 
at each base for forward and reverse strands of references.

%prep
%setup -q -n %{name}-%{version}

%build
%__make %{_smp_mflags}

%install
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

%__mkdir_p %{buildroot}/%{_bindir}

%__install -m 0755 -p acgt-count brat brat-large brat-large-build check-strands convert-to-sam \
remove-dupl rev-compl trim %{buildroot}%{_bindir}

%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

%files
%defattr(-,root,root,-)

%doc LICENSE README BRAT_USER_MANUAL_1_2_3.pdf

%{_bindir}/acgt-count
%{_bindir}/brat
%{_bindir}/brat-large
%{_bindir}/brat-large-build
%{_bindir}/check-strands
%{_bindir}/convert-to-sam
%{_bindir}/remove-dupl
%{_bindir}/rev-compl
%{_bindir}/trim

%changelog
* Thu Nov 22 2012 Scott Santos <santos@auburn.edu> - 1.2.4
- initial release - 1.2.4