]> git.pld-linux.org Git - packages/perl-YAML-Syck.git/blame - perl-YAML-Syck.spec
- rebuild with perl 5.24.0
[packages/perl-YAML-Syck.git] / perl-YAML-Syck.spec
CommitLineData
216a3eb6
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
e3554191 6%define pdir YAML
7%define pnam Syck
8Summary: YAML::Syck - fast, lightweight YAML loader and dumper
a1f4b962 9Summary(pl.UTF-8): YAML::Syck - szybki, lekki moduł do wczytywania i zrzucania YAML-a
216a3eb6 10Name: perl-YAML-Syck
03e32ebd 11Version: 1.29
c720a96e 12Release: 2
03e32ebd 13License: MIT
216a3eb6 14Group: Development/Languages/Perl
9e758b69 15Source0: http://www.cpan.org/modules/by-module/YAML/%{pdir}-%{pnam}-%{version}.tar.gz
03e32ebd 16# Source0-md5: 0f906ae8b3747039b26c29c481cda607
9e758b69 17URL: http://search.cpan.org/dist/YAML-Syck/
03e32ebd 18BuildRequires: perl-ExtUtils-MakeMaker >= 6.59
216a3eb6
ER
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
216a3eb6
ER
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides a Perl interface to the libsyck data
25serialization library. It exports the Dump and Load functions for
26converting Perl data structures to YAML strings, and the other way
27around.
28
29NOTE: If you are working with other language's YAML/Syck bindings
30(such as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before
31calling the Load/Dump functions. The default setting is for preserving
32backward-compatibility with YAML.pm.
33
1c379dfc
JR
34%description -l pl.UTF-8
35Ten moduł udostępnia perlowy interfejs do biblioteki serializacji
36danych libsyck. Eksportuje funkcje Dump i Load do przekształcania
37perlowych struktur danych na łańcuchy YAML i z powrotem.
4341bf95 38
1c379dfc
JR
39Uwaga: jeśli pracujemy z dowiązaniami YAML/Sych dla innego języka
40(np. Ruby), należy ustawić $YAML::Syck::ImplicitTyping na 1 przed
41wywołaniem funkcji Load/Dump. Domyślne ustawienie jest dla zachowania
42wstecznej zgodności z YAML.pm.
4341bf95 43
216a3eb6
ER
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make} \
0c70dd4a 51 CC="%{__cc}" \
216a3eb6
ER
52 OPTIMIZE="%{rpmcflags}"
53
54%{?with_tests:%{__make} test}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
216a3eb6
ER
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
03e32ebd
JB
67%doc COMPATIBILITY Changes README
68%{perl_vendorarch}/YAML/Syck.pm
216a3eb6
ER
69%dir %{perl_vendorarch}/JSON
70%{perl_vendorarch}/JSON/Syck.pm
71%dir %{perl_vendorarch}/YAML/Dumper
72%{perl_vendorarch}/YAML/Dumper/Syck.pm
73%dir %{perl_vendorarch}/YAML/Loader
74%{perl_vendorarch}/YAML/Loader/Syck.pm
216a3eb6 75%dir %{perl_vendorarch}/auto/YAML/Syck
03e32ebd
JB
76%attr(755,root,root) %{perl_vendorarch}/auto/YAML/Syck/Syck.so
77%{_mandir}/man3/JSON::Syck.3pm*
78%{_mandir}/man3/YAML::Syck.3pm*
This page took 0.037251 seconds and 4 git commands to generate.