%define upstream_name MooseX-YAML %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: DWIM loading of Moose objects from YAML License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/MooseX/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(MooseX::Blessed::Reconstruct) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::use::ok) BuildRequires: perl(YAML) BuildRequires: perl(namespace::clean) BuildArch: noarch %description This module provides DWIM loading of the Moose manpage based objects from YAML documents. Any hashes blessed into a the Moose manpage class will be replaced with a properly constructed instance (respecting init args, 'BUILDALL', and the meta instance type). This is similar to the YAML::Active manpage in that certain nodes in the loaded YAML documented are treated specially. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.40.0-2.mga3 + Revision: 370373 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 26 2011 jquelin <jquelin> 0.40.0-1.mga1 + Revision: 40011 - mageia rebuild - imported package perl-MooseX-YAML