commit 74c14a5d752ac1dc77a5fd7b53e0f505ae292db6 Author: Adam Huffman <bloch@xxxxxxxxxxxx> Date: Tue Mar 22 09:47:53 2011 +0000 Initial import (#630644) .gitignore | 1 + perl-Bio-SamTools.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 94 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..2e1d823 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Bio-SamTools-1.27.tar.gz diff --git a/perl-Bio-SamTools.spec b/perl-Bio-SamTools.spec new file mode 100644 index 0000000..a064753 --- /dev/null +++ b/perl-Bio-SamTools.spec @@ -0,0 +1,92 @@ +Name: perl-Bio-SamTools +Version: 1.27 +Release: 2%{?dist} +Summary: Bio::SamTools Perl module +License: GPL+ or Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Bio-SamTools/ +Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Bio-SamTools-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl >= 0:5.008 +BuildRequires: perl(Bio::PrimarySeq) +BuildRequires: perl(Bio::SeqFeature::Lite) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Test) +BuildRequires: samtools-devel >= 0.1.8 +BuildRequires: zlib-devel + +#Requires: perl-bioperl +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This is a Perl interface to the SAMtools sequence alignment interface. +See http://samtools.sourceforge.net/. + + +%prep +%setup -q -n Bio-SamTools-%{version} +sed -i 's|= find_sam(|= ("%{_includedir}/samtools", "%{_libdir}"|' Build.PL + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +rm -rf %{buildroot} + +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes DISCLAIMER LICENSE README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Bio* +%{_mandir}/man3/* +%{_bindir}/bamToGBrowse.pl + +%changelog +* Fri Mar 18 2011 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.27-2 +- remove perl-bioperl reqs. and fix license + +* Mon Mar 14 2011 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.27-1 +- new upstream version 1.27 +- remove unnecessary runtime samtools-devel R +- more fine-grained module BR for bioperl and others +- fix license +- remove commented cruft + +* Sun Mar 13 2011 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.21-3 +- better fix for samtools headers from Petr Pisar + +* Sun Oct 10 2010 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.21-2 +- add patch to fix includes (from Rasmus) + +* Sun Sep 26 2010 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.21-1 +- new upstream version + +* Mon Sep 6 2010 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.20-3 +- filter unwanted provides + +* Mon Sep 6 2010 Adam Huffman <bloch@xxxxxxxxxxxx> - 1.20-2 +- add zlib BR + +* Wed Jul 21 2010 Adam Huffman <bloch@xxxxxxxxxxxx> 1.20-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..37cd403 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +af5603228212c755a3491ffc8fdfa1aa Bio-SamTools-1.27.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel