]> git.pld-linux.org Git - packages/perl-JSON.git/blame - perl-JSON.spec
updated to 2.16
[packages/perl-JSON.git] / perl-JSON.spec
CommitLineData
9d37e7bf 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir JSON
44781d44
JB
7Summary: JSON - parse and convert to JSON (JavaScript Object Notation)
8Summary(pl.UTF-8): JSON - analiza i konwersja do notacji JSON (JavaScript Object Notation)
9d37e7bf 9Name: perl-JSON
00f621fc 10Version: 2.16
9d37e7bf 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
0ac4d5e3 15Source0: http://www.cpan.org/modules/by-module/JSON/%{pdir}-%{version}.tar.gz
00f621fc 16# Source0-md5: a86d9ded2bbe67d6721ab9dcb02af138
9d37e7bf 17URL: http://search.cpan.org/dist/JSON/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
b9b30b02 20Suggests: perl-JSON-XS
9d37e7bf 21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
44781d44
JB
25This module converts between JSON (JavaScript Object Notation) and
26Perl data structure into each other.
9d37e7bf 27
44781d44 28For JSON, See to <http://www.crockford.com/JSON/>.
9d37e7bf 29
44781d44
JB
30%description -l pl.UTF-8
31Ten moduł dokonuje konwersji między notacją JSON (JavaScript Object
32Notation) a perlowymi strukturami danych.
33
34Więcej informacji na temat notacji JSON można znaleźć pod adresem
35<http://www.crockford.com/JSON/>.
9d37e7bf 36
37%prep
38%setup -q -n %{pdir}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
59%{perl_vendorlib}/*.pm
44781d44 60%{perl_vendorlib}/JSON
9d37e7bf 61%{_mandir}/man3/*
This page took 0.044511 seconds and 4 git commands to generate.