File perl-Exporter-Declare.spec of Package perl-Exporter-Declare

# spec file for package perl-Exporter-Declare
# Copyright (c) 2012 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.

# Please submit bugfixes or comments via

Name:           perl-Exporter-Declare
Version:        0.105
Release:        0
%define cpan_name Exporter-Declare
Summary:        Exporting done right
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Fennec::Lite) >= 0.004
BuildRequires:  perl(Meta::Builder) >= 0.003
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::Exception) >= 0.29
BuildRequires:  perl(Test::Simple) >= 0.88
BuildRequires:  perl(aliased)
#BuildRequires: perl(Devel::Declare)
#BuildRequires: perl(Devel::Declare::Interface)
#BuildRequires: perl(Devel::Declare::Parser)
#BuildRequires: perl(Devel::Declare::Parser::Sublike)
#BuildRequires: perl(Exporter::Declare)
#BuildRequires: perl(Exporter::Declare::Export)
#BuildRequires: perl(Exporter::Declare::Export::Sub)
#BuildRequires: perl(Exporter::Declare::Export::Variable)
#BuildRequires: perl(Exporter::Declare::Magic)
#BuildRequires: perl(Exporter::Declare::Magic::Parser)
Requires:       perl(aliased)
Requires:       perl(Meta::Builder) >= 0.003

Exporter::Declare is a meta-driven exporting tool. Exporter::Declare tries
to adopt all the good features of other exporting tools, while throwing
away horrible interfaces. Exporter::Declare also provides hooks that allow
you to add options and arguments for import. Finally, Exporter::Declare's
meta-driven system allows for top-notch introspection.

%setup -q -n %{cpan_name}-%{version}

%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}

./Build test

./Build install destdir=%{buildroot} create_packlist=0

%files -f %{name}.files

openSUSE Build Service is sponsored by