Name: perl-JSON-Syck Version: 0.07 Release: 1%{?dist} Summary: JSON is YAML License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/JSON-Syck/ Source0: http://www.cpan.org/modules/by-module/JSON/JSON-Syck-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description JSON::Syck is a syck implementatoin of JSON parsing and generation. Because JSON is YAML (http://redhanded.hobix.com/inspect/yamlIsJson.html), using syck gives you the fastest and most memory efficient parser and dumper for JSON data representation. %prep %setup -q -n JSON-Syck-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes COPYING %{perl_vendorarch}/auto/* %{perl_vendorarch}/JSON* %{_mandir}/man3/* %changelog * Thu Jul 17 2008 Dave Cross 0.07-1 - Specfile autogenerated by cpanspec 1.74.