%define pkg_name Test-YAML-Valid %define pkg_version 0.03 %define rpm_pkg_version 0.03 %define rpm_pkg_release 1.n0i.1 Summary: Test validity of YAML strings and files Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JR/JROCKWAY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(YAML) >= 0.60 BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(YAML::Syck) %description Test-YAML-Valid Lets you test the validity of YAML files inside your (Test::Builder-based) unit tests. INSTALLATION To install this module, run the following commands: perl Makefile.PL make make test make install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc Test::YAML::Valid You can also look for information at: Search CPAN http://search.cpan.org/dist/Test-YAML-Valid CPAN Request Tracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-YAML-Valid AnnoCPAN, annotated CPAN documentation: http://annocpan.org/dist/Test-YAML-Valid CPAN Ratings: http://cpanratings.perl.org/d/Test-YAML-Valid COPYRIGHT AND LICENCE Copyright (C) 2007 Jonathan Rockway This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Thu Aug 02 2007 Marius Feraru - 0.03-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 0.03