Files
perl-BioPerl/perl-BioPerl.spec
Tina Müller 12aa042732 Accepting request 731701 from devel:languages:perl:autoupdate
- Add build dependency Gd
- Remove deps.patch (not used anymore)
- updated to 1.7.6
   see /usr/share/doc/packages/perl-BioPerl/Changes
  1.7.6     2019-08-28 12:37:01+01:00 Europe/London
  
      * The program bp_classify_hits_kingdom has been removed and is
        now part of the examples documentation instead.
  
      * GD is now listed as a suggestion instead of a requirement.  The
        bp_chaos_plot program will now work with the GD module.
  
      * New method Bio::Tree::Statistics::transfer_bootstrap_expectation
        to compute Transfer Bootstrap Expectation (TBE) for internal
        nodes based on the methods outlined in Lemoine et al, Nature,
        2018.
  
      * New method Bio::SeqIO::fasta::next_seq_fast to retrieve next
        sequence in the stream faster but not perfect.

OBS-URL: https://build.opensuse.org/request/show/731701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-BioPerl?expand=0&rev=8
2019-09-19 15:08:24 +00:00

143 lines
5.0 KiB
RPMSpec

#
# spec file for package perl-BioPerl
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-BioPerl
Version: 1.7.6
Release: 0
%define cpan_name BioPerl
Summary: Perl modules for biology
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CD/CDRAUG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Stag)
BuildRequires: perl(Error)
BuildRequires: perl(Graph::Directed)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(IO::String)
BuildRequires: perl(IPC::Run)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Set::Scalar)
BuildRequires: perl(Test::Memory::Cycle)
BuildRequires: perl(Test::Most)
BuildRequires: perl(Test::RequiresInternet)
BuildRequires: perl(Test::Weaken)
BuildRequires: perl(URI)
BuildRequires: perl(XML::DOM)
BuildRequires: perl(XML::DOM::XPath)
BuildRequires: perl(XML::LibXML)
BuildRequires: perl(XML::LibXML::Reader)
BuildRequires: perl(XML::Parser::PerlSAX)
BuildRequires: perl(XML::SAX)
BuildRequires: perl(XML::SAX::Base)
BuildRequires: perl(XML::SAX::Writer)
BuildRequires: perl(XML::Twig)
BuildRequires: perl(XML::Writer)
BuildRequires: perl(YAML)
BuildRequires: perl(parent)
BuildRequires: perl(version)
Requires: perl(Data::Stag)
Requires: perl(Error)
Requires: perl(Graph::Directed)
Requires: perl(HTTP::Request::Common)
Requires: perl(HTTP::Response)
Requires: perl(IO::Scalar)
Requires: perl(IO::String)
Requires: perl(IPC::Run)
Requires: perl(LWP::UserAgent)
Requires: perl(List::MoreUtils)
Requires: perl(Module::Build)
Requires: perl(Set::Scalar)
Requires: perl(Test::Most)
Requires: perl(Test::RequiresInternet)
Requires: perl(URI)
Requires: perl(XML::DOM)
Requires: perl(XML::DOM::XPath)
Requires: perl(XML::LibXML)
Requires: perl(XML::LibXML::Reader)
Requires: perl(XML::Parser::PerlSAX)
Requires: perl(XML::SAX)
Requires: perl(XML::SAX::Base)
Requires: perl(XML::SAX::Writer)
Requires: perl(XML::Twig)
Requires: perl(XML::Writer)
Requires: perl(YAML)
Requires: perl(parent)
Requires: perl(version)
%{perl_requires}
# MANUAL BEGIN
BuildRequires: perl(GD)
# MANUAL END
%description
BioPerl is the product of a community effort to produce Perl code which is
useful in biology. Examples include Sequence objects, Alignment objects and
database searching objects. These objects not only do what they are
advertised to do in the documentation, but they also interact - Alignment
objects are made from the Sequence objects, Sequence objects have access to
Annotation and SeqFeature objects and databases, Blast objects can be
converted to Alignment objects, and so on. This means that the objects
provide a coordinated and extensible framework to do computational biology.
BioPerl development focuses on Perl classes, or code that is used to create
objects representing biological entities. There are scripts provided in the
scripts/ and examples/ directories but scripts are not the main focus of
the BioPerl developers. Of course, as the objects do most of the hard work
for you, all you have to do is combine a number of objects together
sensibly to make useful scripts.
The intent of the BioPerl development effort is to make reusable tools that
aid people in creating their own sites or job-specific applications.
The BioPerl website at http://bioperl.org also attempts to maintain links
and archives of standalone bio-related Perl tools that are not affiliated
or related to the core BioPerl effort. Check the site for useful code ideas
and contribute your own if possible.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS Changes examples HACKING.md README.md
%license LICENSE
%changelog