%global pkg_name Test-YAML-Meta %global pkg_version 0.06 %global rpm_pkg_version 0.06 %global rpm_pkg_release 1.n0i.3 Summary: Validation of the META.yml file in a distribution Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::YAML::Valid) >= 0.03 Requires: perl(Test::YAML::Valid) >= 0.03 BuildRequires: perl(Test::More) >= 0.70 %global perl_filter_req 'perl\\(Test::YAML::Valid\\)$' %description This module was written to ensure that a META.yml file, provided with a standard distribution uploaded to CPAN, meets the specifications that slowly being introduced to module uploads, via the use of ExtUtils::MakeMaker, Module::Build and Module::Install. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_encoding LICENSE} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Artistic Changes examples/ LICENSE README %changelog * Wed Nov 07 2007 Marius Feraru - 0.06-1.n0i.3 - version 0.06 * Sat Nov 03 2007 Marius Feraru - 0.05-1.n0i.2 - version 0.05 * Thu Aug 02 2007 Marius Feraru - 0.04-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 0.04