Name: samtools Version: 0.1.8 Release: 2%{?dist} Summary: Tools for nucleotide sequence alignments in the SAM format Group: Applications/Engineering License: MIT URL: http://samtools.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: zlib-devel >= 1.2.3 BuildRequires: ncurses-devel %description SAM (Sequence Alignment/Map) is a flexible generic format for storing nucleotide sequence alignment. SAM tools provide efficient utilities on manipulating alignments in the SAM format. %package devel Summary: Header files and libraries for compiling against %{name} Group: Development/System Requires: %name = %version-%release %description devel Header files and libraries for compiling against %{name} %prep %setup -q # fix wrong interpreter perl -pi -e "s[/software/bin/python][%{__python}]" misc/varfilter.py %build make CFLAGS="%{optflags} -fPIC" samtools razip %{?_smp_mflags} cd misc/ make CFLAGS="%{optflags} -fPIC" %{?_smp_mflags} %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} install -p samtools razip %{buildroot}%{_bindir} #header and library for Bio-SamTools mkdir -p %{buildroot}%{_datadir}/%{name} install -p -m 644 bam.h bgzf.h khash.h faidx.h %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name} install -p -m 644 libbam.a %{buildroot}%{_datadir}/%{name} gzip samtools.1 mkdir -p %{buildroot}%{_mandir}/man1/ cp -p samtools.1.gz %{buildroot}%{_mandir}/man1/ cd misc/ install -p blast2sam.pl bowtie2sam.pl export2sam.pl interpolate_sam.pl \ maq2sam-long maq2sam-short md5fa md5sum-lite novo2sam.pl psl2sam.pl \ sam2vcf.pl samtools.pl soap2sam.pl varfilter.py wgsim wgsim_eval.pl \ zoom2sam.pl \ %{buildroot}%{_bindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING INSTALL NEWS examples/ samtools.txt %{_bindir}/* %{_mandir}/man1/* %files devel %{_datadir}/%{name}/bam.h %{_datadir}/%{name}/bgzf.h %{_datadir}/%{name}/khash.h %{_datadir}/%{name}/faidx.h %{_datadir}/%{name}/libbam.a %changelog * Mon Sep 6 2010 Adam Huffman - 0.1.8-2 - merge Rasmus' latest changes (0.1.8 update) * Thu Jul 22 2010 Adam Huffman - 0.1.8-2 - move bam.h and libbam.a to single directory - put bgzf.h, khash.h and faidx.h in the same place - add -fPIC to CFLAGS to make Bio-SamTools happy * Thu Jul 22 2010 Adam Huffman - 0.1.8-1 - include bam.h and libbam.a for Bio-SamTools compilation * Mon Nov 30 2009 Rasmus Ory Nielsen - 0.1.7a-1 - Updated to 0.1.7a. * Sun Jul 26 2009 Fedora Release Engineering - 0.1.5c-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jul 12 2009 Rasmus Ory Nielsen - 0.1.5c-3 - Specfile cleanup. * Sat Jul 11 2009 Rasmus Ory Nielsen - 0.1.5c-2 - Fixed manpage location. - Make sure optflags is passed to the makefiles. * Sat Jul 11 2009 Rasmus Ory Nielsen - 0.1.5c-1 - Initial build.