Package perl-namespace-clean: Specfile

%define dist namespace-clean
Name: perl-%dist
Version: 0.18
Release: alt1

Summary: Keep imports and functions out of your namespace
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/F/FL/FLORA/namespace-clean-0.18.tar.gz

BuildArch: noarch

# Automatically added by buildreq on Mon Apr 12 2010
BuildRequires: perl-B-Hooks-EndOfScope perl-Module-Install perl-Sub-Identify perl-Sub-Name  perl-Package-Stash

%description
When you define a function, or import one, into a Perl package, it will
naturally also be available as a method. This does not per se cause
problems, but it can complicate subclassing and, for example, plugin
classes that are included via multiple inheritance by loading them as
base classes.

%prep
%setup -q -n %dist-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README
%perl_vendor_privlib/namespace*

%changelog
* Fri Jul 16 2010 Igor Vlasenko <viy@altlinux.ru> 0.18-alt1
- automated CPAN update

* Fri Apr 09 2010 Alexey Tourbin <at@altlinux.ru> 0.14-alt1
- initial revision, for MooseX::Types