Allisson Azevedo 394f1af
Name:           perl-Test-JSON
Allisson Azevedo 394f1af
Summary:        Test JSON data
Chris Weyl 5bc6d68
Version:        0.11
Chris Weyl 5bc6d68
Release:        1%{?dist}
Allisson Azevedo 394f1af
License:        GPL+ or Artistic
Allisson Azevedo 394f1af
Group:          Development/Libraries
Chris Weyl 5bc6d68
Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-JSON-%{version}.tar.gz 
Allisson Azevedo 394f1af
URL:            http://search.cpan.org/dist/Test-JSON/
Allisson Azevedo 394f1af
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Chris Weyl 5bc6d68
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Allisson Azevedo 394f1af
BuildArch:      noarch
Chris Weyl 5bc6d68
Chris Weyl 5bc6d68
BuildRequires:  perl(ExtUtils::MakeMaker)
Chris Weyl 5bc6d68
BuildRequires:  perl(JSON::Any) >= 1.2
Allisson Azevedo 394f1af
BuildRequires:  perl(Test::Differences) >= 0.47
Chris Weyl 5bc6d68
BuildRequires:  perl(Test::Pod)
Allisson Azevedo 394f1af
BuildRequires:  perl(Test::Simple) >= 0.62
Chris Weyl 5bc6d68
BuildRequires:  perl(Test::Tester) >= 0.107
Chris Weyl 5bc6d68
Chris Weyl 5bc6d68
Requires:       perl(JSON::Any) >= 1.2
Chris Weyl 5bc6d68
Requires:       perl(Test::Differences) >= 0.47
Chris Weyl 5bc6d68
Requires:       perl(Test::Tester) >= 0.107
Chris Weyl 5bc6d68
Chris Weyl 5bc6d68
%{?perl_default_filter}
Chris Weyl 5bc6d68
%{?perl_default_subpackage_tests}
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%description
Allisson Azevedo 394f1af
JavaScript Object Notation (JSON) is a lightweight data interchange format.
Allisson Azevedo 394f1af
Test::JSON makes it easy to verify that you have built valid JSON and that
Allisson Azevedo 394f1af
it matches your expected output.
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%prep
Allisson Azevedo 394f1af
%setup -q -n Test-JSON-%{version}
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%build
Chris Weyl 5bc6d68
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl 5bc6d68
make %{?_smp_mflags}
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%install
Chris Weyl 5bc6d68
rm -rf %{buildroot}
Allisson Azevedo 394f1af
Chris Weyl 5bc6d68
make pure_install DESTDIR=%{buildroot}
Chris Weyl 5bc6d68
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl 5bc6d68
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
Allisson Azevedo 394f1af
Chris Weyl 5bc6d68
%{_fixperms} %{buildroot}/*
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%check
Chris Weyl 5bc6d68
make test
Chris Weyl 5bc6d68
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%clean
Chris Weyl 5bc6d68
rm -rf %{buildroot}
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%files
Allisson Azevedo 394f1af
%defattr(-,root,root,-)
Allisson Azevedo 394f1af
%doc Changes README
Allisson Azevedo 394f1af
%{perl_vendorlib}/*
Chris Weyl 5bc6d68
%{_mandir}/man3/*.3*
Allisson Azevedo 394f1af
Allisson Azevedo 394f1af
%changelog
Chris Weyl 5bc6d68
* Thu Apr 01 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.11-1
Chris Weyl 5bc6d68
- update by Fedora::App::MaintainerTools 0.006
Chris Weyl 5bc6d68
- updating to latest GA CPAN version (0.11)
Chris Weyl 5bc6d68
- altered br on perl(JSON::Any) (1.14 => 1.2)
Chris Weyl 5bc6d68
- altered br on perl(Test::Tester) (0.103 => 0.107)
Chris Weyl 5bc6d68
- force-adding ExtUtils::MakeMaker as a BR
Chris Weyl 5bc6d68
- dropped old BR on perl(Module::Build)
Chris Weyl 5bc6d68
- dropped old BR on perl(Test::Pod::Coverage)
Chris Weyl 5bc6d68
- added a new req on perl(JSON::Any) (version 1.2)
Chris Weyl 5bc6d68
- added a new req on perl(Test::Differences) (version 0.47)
Chris Weyl 5bc6d68
- added a new req on perl(Test::Tester) (version 0.107)
Chris Weyl 5bc6d68
44713a4
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.06-3
44713a4
- rebuild against perl 5.10.1
44713a4
b56a70b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
b56a70b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b56a70b
Allisson Azevedo 394f1af
* Thu Feb 05 2009 Allisson Azevedo <allisson@gmail.com> 0.06-1
Allisson Azevedo 394f1af
- Initial rpm release.