File perl-MooseX-AttributeHelpers.spec of Package perl-MooseX-AttributeHelpers

#
# spec file for package perl-MooseX-AttributeHelpers
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           perl-MooseX-AttributeHelpers
Version:        0.23
Release:        1
License:        GPL+ or Artistic
Summary:        Extend your Attribute Interfaces
Url:            http://search.cpan.org/~drolsky/MooseX-AttributeHelpers-%{version}/
Group:          Development/Libraries/Perl
Source:         http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-AttributeHelpers-%{version}.tar.gz
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl(Moose)
BuildRequires:  perl(Test::Moose)
BuildRequires:  perl-macros
Requires:       perl
Requires:       perl(Moose)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This distribution is deprecated. The features it provides have been added to
the Moose core code as Moose::Meta::Attribute::Native. This distribution should
not be used by any new code.

While Moose attributes provide you with a way to name your accessors, readers,
writers, clearers and predicates, this library provides commonly used attribute
helper methods for specific types of data.

%prep
%setup -q -n "MooseX-AttributeHelpers-%{version}"
sed -i '/^auto_install/d' Makefile.PL

%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_mflags}

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog README
%dir %{perl_vendorlib}/MooseX
%{perl_vendorlib}/MooseX/AttributeHelpers.pm
%{perl_vendorlib}/MooseX/AttributeHelpers
%dir %{perl_vendorarch}/auto/MooseX
%{perl_vendorarch}/auto/MooseX/AttributeHelpers/
%doc %{perl_man3dir}/MooseX::AttributeHelpers.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/MooseX::AttributeHelpers::*.%{perl_man3ext}%{ext_man}

%changelog
openSUSE Build Service is sponsored by