%define upstream_name Catalyst-Controller-BindLex %define upstream_version 0.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: Stash your lexical goodness License: Artistic/GPL Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Catalyst/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(Array::RefElem) BuildRequires: perl(Catalyst) BuildRequires: perl(Devel::Caller) BuildRequires: perl(Devel::LexAlias) BuildRequires: perl(Module::Build) BuildRequires: perl(PadWalker) BuildRequires: perl(Test::use::ok) BuildArch: noarch %description This plugin lets you put your lexicals on the stash and elsewhere very easily. It uses some funky modules to get it's job done: PadWalker, Array::RefElem, Devel::Caller, Devel::LexAlias and attributes. In some people's opinion this hurts this plugin's reputation ;-). If you use the same name for two variables with the same storage binding attribute they will be aliased to each other, so you can use this for reading as well as writing values across controller subs. This is almost like sharing your lexical scope. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %__make test %install %makeinstall_std %files %doc Changes README %{_mandir}/*/* %{perl_vendorlib}/Catalyst %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.50.0-5.mga5 + Revision: 747600 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.50.0-3.mga4 + Revision: 509576 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.50.0-2.mga3 + Revision: 363886 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 26 2011 jquelin <jquelin> 0.50.0-1.mga1 + Revision: 40251 - mageia rebuild - imported package perl-Catalyst-Controller-BindLex