%define upstream_name YAML-Syck %define upstream_version 1.20 %define Werror_cflags %nil Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Fast, lightweight YAML loader and dumper License: MIT Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/YAML/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.620.0 BuildRequires: perl-devel Provides: perl-YAML-parser %description This module provides a Perl interface to the libsyck data serialization library. It exports the Dump and Load functions for converting Perl data structures to YAML strings, and the other way around. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make OPTIMIZE="%{optflags}" %check %{__make} test %install %makeinstall_std %files %doc COMPATIBILITY COPYING Changes META.yml MYMETA.yml README %{_mandir}/*/* %{perl_vendorarch}/JSON %{perl_vendorarch}/YAML %{perl_vendorarch}/auto/YAML %changelog * Thu Feb 23 2012 jquelin <jquelin> 1.200.0-1.mga2 + Revision: 212973 - update to 1.20 * Tue Nov 08 2011 jquelin <jquelin> 1.190.0-1.mga2 + Revision: 165531 - update to 1.19 * Tue Nov 08 2011 jquelin <jquelin> 1.180.0-1.mga2 + Revision: 165454 - remove MYMETA from %%doc - update to 1.18 * Sat Jun 11 2011 sander85 <sander85> 1.170.0-2.mga2 + Revision: 103925 - perl 5.14 * Sat Jan 22 2011 jquelin <jquelin> 1.170.0-1.mga1 + Revision: 31516 - mageia rebuild - imported package perl-YAML-Syck