]> git.pld-linux.org Git - packages/perl-JSON.git/blame - perl-JSON.spec
- 2.53
[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
0bb7d98d 10Version: 2.53
9d37e7bf 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
30b158ea 15Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/%{pdir}-%{version}.tar.gz
0bb7d98d 16# Source0-md5: 7db1be00d44414c4962eeac222395a76
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
0bb7d98d 43
9d37e7bf 44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
60%{perl_vendorlib}/*.pm
44781d44 61%{perl_vendorlib}/JSON
9d37e7bf 62%{_mandir}/man3/*
This page took 0.183313 seconds and 4 git commands to generate.