%define modname YAML-Tiny %define modver 1.73 Summary: Read/Write YAML files with as little code as possible Name: perl-%{modname} Version: %perl_convert_version %{modver} Release: 6 License: GPLv2+ or Artistic Group: Development/Perl Url: http://metacpan.org/pod/YAML::Tiny Source0: http://www.cpan.org/modules/by-module/YAML/%{modname}-%{modver}.tar.gz BuildArch: noarch BuildRequires: perl(JSON::PP) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildRequires: perl-devel %description *YAML::Tiny* is a perl class for reading and writing YAML-style files, written with as little code as possible, reducing load time and memory overhead. Most of the time it is accepted that Perl applications use a lot of memory and modules. The *::Tiny* family of modules is specifically intended to provide an ultralight and zero-dependency alternative to many more-thorough standard modules. This module is primarily for reading human-written files (like simple config files) and generating very simple human-readable files. Note that I said *human-readable* and not *geek-readable*. The sort of files that your average manager or secretary should be able to look at and make sense of. %prep %setup -qn %{modname}-%{modver} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc LICENSE README Changes %{perl_vendorlib}/YAML %{_mandir}/man3/*