139 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			139 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
#
 | 
						|
# spec file for package perl-BioPerl
 | 
						|
#
 | 
						|
# Copyright (c) 2021 SUSE LLC
 | 
						|
#
 | 
						|
# 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/
 | 
						|
#
 | 
						|
 | 
						|
 | 
						|
%define cpan_name BioPerl
 | 
						|
Name:           perl-BioPerl
 | 
						|
Version:        1.7.8
 | 
						|
Release:        0
 | 
						|
Summary:        Perl modules for biology
 | 
						|
License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
						|
URL:            https://metacpan.org/release/%{cpan_name}
 | 
						|
Source0:        https://cpan.metacpan.org/authors/id/C/CJ/CJFIELDS/%{cpan_name}-%{version}.tar.gz
 | 
						|
Source1:        cpanspec.yml
 | 
						|
Source100:      README.md
 | 
						|
BuildArch:      noarch
 | 
						|
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::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::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
 | 
						|
%autosetup  -n %{cpan_name}-%{version}
 | 
						|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 | 
						|
 | 
						|
%build
 | 
						|
perl Makefile.PL INSTALLDIRS=vendor
 | 
						|
%make_build
 | 
						|
 | 
						|
%check
 | 
						|
make test
 | 
						|
 | 
						|
%install
 | 
						|
%perl_make_install
 | 
						|
%perl_process_packlist
 | 
						|
%perl_gen_filelist
 | 
						|
 | 
						|
%files -f %{name}.files
 | 
						|
%doc AUTHORS Changes examples HACKING.md README.md
 | 
						|
%license LICENSE
 | 
						|
 | 
						|
%changelog
 |