%define upstream_name CGI-Application-Plugin-Config-YAML %define upstream_version 0.01 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: add Config::YAML support to CGI::Application License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/CGI/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Config::YAML) BuildRequires: perl(CGI::Application) BuildArch: noarch %description This plug-in add Config::YAML support to CGI::Application. The usage of this plug-in is almost the same as CGI::Application::Plugin::Config::Simple. This plug-in can be easily used instead of CGI::Application::Plugin::Config::Simple. This plug-in refers to CGI::Application::Plugin::Config::Simple. %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 README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.10.0-2.mga3 + Revision: 363474 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 0.10.0-1.mga1 + Revision: 31727 - mageia rebuild - imported package perl-CGI-Application-Plugin-Config-YAML