LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-JSON.spec of Package perl-JSON (Project home:gerritbeine:archived)

%define modname	JSON
Name:           perl-%{modname}
Version:        2.12
Release:        1
Summary:        Parse and Convert to JSON
Requires:       perl = %{perl_version} perl-JSON-XS
BuildRequires:  perl perl-JSON-XS perl-Test-Pod
License:        GPL/Artistic
Group:          Development/Libraries/Perl
Source:         %{modname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-root

This module converts between JSON (JavaScript Object Notation) and Perl data

    Makamaka Hannyaharamitu <makamaka[at]cpan.org>

%setup -q -n %{modname}-%{version}

perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor

rm -rf %{buildroot}

%defattr(-, root, root)
%doc Changes README
%doc %{_mandir}/man?/*

* Sun Oct 27 2008 - gerrit.beine@gmx.de
- update to 2.12
* Tue Sep 18 2007 - James Oakley <jfunk@funktronics.ca> - 1.14-1
- Initial release