2010-11-04 22:40:00 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2011-12-21 09:43:11 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package perl-Parse-Method-Signatures
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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.
|
2010-11-04 22:40:00 +00:00
|
|
|
|
2011-12-21 09:43:11 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
2010-11-04 22:40:00 +00:00
|
|
|
Name: perl-Parse-Method-Signatures
|
|
|
|
|
Version: 1.003013
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Perl6 like method signature parser
|
2011-12-21 09:43:11 +00:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-11-04 22:40:00 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-12-21 09:43:11 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Parse-Method-Signatures-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/Parse-Method-Signatures
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-01 13:52:13 +00:00
|
|
|
%{perl_requires}
|
2011-12-21 09:43:11 +00:00
|
|
|
BuildRequires: make
|
2010-11-04 22:40:00 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:45:50 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-11-04 22:40:00 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2011-12-21 09:43:11 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
2010-11-04 22:40:00 +00:00
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.20
|
|
|
|
|
BuildRequires: perl(Moose)
|
2011-12-21 09:43:11 +00:00
|
|
|
BuildRequires: perl(MooseX::Traits) >= 0.06
|
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.17
|
|
|
|
|
BuildRequires: perl(MooseX::Types::Moose)
|
|
|
|
|
BuildRequires: perl(MooseX::Types::Structured)
|
|
|
|
|
BuildRequires: perl(PPI) >= 1.203
|
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(aliased)
|
|
|
|
|
BuildRequires: perl(namespace::clean) >= 0.10
|
2010-11-04 22:40:00 +00:00
|
|
|
Requires: perl(PPI) >= 1.203
|
|
|
|
|
Requires: perl(MooseX::Types::Moose)
|
|
|
|
|
Requires: perl(MooseX::Types::Structured)
|
|
|
|
|
Requires: perl(MooseX::Traits) >= 0.06
|
|
|
|
|
Requires: perl(namespace::clean) >= 0.10
|
|
|
|
|
Requires: perl(MooseX::Types) >= 0.17
|
|
|
|
|
Requires: perl(List::MoreUtils) >= 0.20
|
|
|
|
|
Requires: perl(Moose)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Inspired by Perl6::Signature but streamlined to just support the subset
|
|
|
|
|
deemed useful for TryCatch and MooseX::Method::Signatures.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n "Parse-Method-Signatures-%{version}"
|
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%dir %{perl_vendorlib}/Parse
|
|
|
|
|
%dir %{perl_vendorlib}/Parse/Method
|
|
|
|
|
%{perl_vendorlib}/Parse/Method/Signatures.pm
|
|
|
|
|
%{perl_vendorlib}/Parse/Method/Signatures
|
|
|
|
|
%dir %{perl_vendorarch}/auto/Parse
|
|
|
|
|
%dir %{perl_vendorarch}/auto/Parse/Method
|
|
|
|
|
%{perl_vendorarch}/auto/Parse/Method/Signatures
|
|
|
|
|
%doc %{perl_man3dir}/Parse::Method::Signatures.%{perl_man3ext}%{ext_man}
|
|
|
|
|
%doc %{perl_man3dir}/Parse::Method::Signatures::*.%{perl_man3ext}%{ext_man}
|
|
|
|
|
|
2011-12-21 09:43:11 +00:00
|
|
|
%changelog
|