%define upstream_name MooseX-YAML %define upstream_version 0.05 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: DWIM loading of Moose objects from YAML License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/MooseX/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MooseX::Blessed::Reconstruct) >= 0.30.0 BuildRequires: perl(Sub::Exporter) >= 0.982.0 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_build %check %make_build test %install %make_install %files %doc Changes META.json META.yml MYMETA.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Tue Mar 22 2022 umeabot <umeabot> 0.50.0-3.mga9 + Revision: 1817241 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.50.0-2.mga8 + Revision: 1495693 - Mageia 8 Mass Rebuild * Tue Feb 11 2020 tv <tv> 0.50.0-1.mga8 + Revision: 1489517 - update to 0.05 + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 0.40.0-9.mga7 + Revision: 1269742 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 0.40.0-8.mga6 + Revision: 1030713 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 0.40.0-7.mga6 + Revision: 949037 - Mageia 6 Mass Rebuild * Sun Oct 19 2014 umeabot <umeabot> 0.40.0-6.mga5 + Revision: 788848 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 0.40.0-5.mga5 + Revision: 741645 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.40.0-4.mga5 + Revision: 685595 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.40.0-3.mga4 + Revision: 513252 - Mageia 4 Mass Rebuild * 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