Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates-src > by-pkgid > 10f3b230e8f37d60f636e702f8f34afd > files > 2

perl-JSON-Util-0.05-1.fc14.src.rpm

Name:           perl-JSON-Util
Version:        0.05
Release:        1%{?dist}
Summary:        Easy and portable encode/decode of JSON
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/JSON-Util/
Source0:        http://www.cpan.org/authors/id/J/JK/JKUTEJ/JSON-Util-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(IO::Any)
BuildRequires:  perl(JSON::XS)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::Differences)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Provides methods to encode and decode JSON.

%prep
%setup -q -n JSON-Util-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jan 17 2011 Rüdiger Landmann <r.landmann@redhat.com> 0.05-1
- Specfile autogenerated by cpanspec 1.78.