]> git.pld-linux.org Git - SPECS.git/blob - perl-JSON-Syck.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-JSON-Syck.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    JSON
6 %define pnam    Syck
7 Summary:        JSON::Syck - JSON is YAML
8 Summary(pl.UTF-8):      JSON::Syck - JSON to YAML
9 Name:           perl-JSON-Syck
10 Version:        0.07
11 Release:        2
12 License:        BSD or D&R (see COPYING)
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-authors/id/M/MI/MIYAGAWA/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  b6a3d39bbec98100fc9433e41ebc773b
16 URL:            http://search.cpan.org/dist/JSON-Syck/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 JSON::Syck is a syck implementation of JSON parsing and
23 generation. Because JSON is YAML
24 (http://redhanded.hobix.com/inspect/yamlIsJson.html), using syck
25 gives you the fastest and most memory efficient parser and dumper for
26 JSON data representation.
27
28 %description -l pl.UTF-8
29 JSON::Syck to implementacja syck analizy i generowania JSON. Ponieważ
30 JSON to YAML
31 (http://redhanded.hobix.com/inspect/yamlIsJson.html), wykorzystanie
32 sycka daje najszybszy i najbardziej wydajny pamięciowo analizator i
33 dumper dla reprezentacji danych JSON.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make} \
42         CC="%{__cc}" \
43         OPTIMIZE="%{rpmcflags}"
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc COPYING Changes
59 %{perl_vendorarch}/JSON/*.pm
60 %dir %{perl_vendorarch}/auto/JSON/Syck
61 %attr(755,root,root) %{perl_vendorarch}/auto/JSON/Syck/*.so
62 %{_mandir}/man3/*
This page took 0.353884 seconds and 3 git commands to generate.