]> git.pld-linux.org Git - packages/perl-YAML.git/blame - perl-YAML.spec
- updated to 1.30
[packages/perl-YAML.git] / perl-YAML.spec
CommitLineData
73096fb5 1#
2# Conditional build:
81e56ade 3%bcond_without tests # do not perform "make test"
4#
03b72ad2 5%define pdir YAML
73096fb5 6Summary: YAML - YAML Ain't Markup Language (tm)
b35bb5fc 7Summary(pl.UTF-8): YAML - YAML nie jest językiem znaczników
73096fb5 8Name: perl-YAML
0397674f 9Version: 1.30
bc74d4cd 10Release: 1
8774a034 11# same as perl 5
6a76ee06 12License: GPL v1+ or Artistic
73096fb5 13Group: Development/Languages/Perl
a88580d8 14Source0: http://www.cpan.org/modules/by-module/YAML/%{pdir}-%{version}.tar.gz
0397674f
JB
15# Source0-md5: 2c861f02e091787c7fe115ec20d3b9b3
16URL: https://metacpan.org/release/YAML
a88580d8
JB
17BuildRequires: perl-ExtUtils-MakeMaker >= 6.59
18BuildRequires: perl-devel >= 1:5.8.1
7297c5c3 19%if %{with tests}
0397674f 20BuildRequires: perl-Test-Deep
8774a034 21BuildRequires: perl-Test-Simple >= 0.88
e2bc7462 22BuildRequires: perl-Test-YAML >= 1.05
7297c5c3 23%endif
caf805f0 24BuildRequires: rpm-perlprov >= 4.1-13
0397674f 25BuildRequires: rpmbuild(macros) >= 1.745
73096fb5 26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
f8e9500e
JB
30The YAML.pm module implements a YAML Loader and Dumper based on the
31YAML 1.0 specification.
73096fb5 32
f8e9500e
JB
33YAML is a generic data serialization language that is optimized for
34human readability. It can be used to express the data structures of
7f06e248 35most modern programming languages. (Including Perl!!!)
73096fb5 36
6b932ded
JR
37%description -l pl.UTF-8
38Moduł YAML.pm jest implementacją klas YAML Loader i Dumper bazujących
39na specyfikacji YAML 1.0. YAML to język do serializacji ogólnych
40danych, zoptymalizowany pod względem czytelności dla człowieka. Może
41być używany do wyrażania struktur danych większości współczesnych
42języków programowania (włącznie z Perlem).
73096fb5 43
44%prep
45%setup -q -n %{pdir}-%{version}
46
47%build
af94652a 48%{__perl} Makefile.PL \
caf805f0 49 INSTALLDIRS=vendor
73096fb5 50%{__make}
51
81e56ade 52%{?with_tests:%{__make} test}
73096fb5 53
54%install
55rm -rf $RPM_BUILD_ROOT
56
81e56ade 57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
73096fb5 59
0c18d207
SS
60%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/YAML.pod
61
73096fb5 62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
1ffd68c0 67%doc Changes
af94652a
ER
68%{perl_vendorlib}/YAML.pm
69%{perl_vendorlib}/YAML
70%{_mandir}/man3/YAML.3pm*
71%{_mandir}/man3/YAML::*.3pm*
This page took 0.139166 seconds and 4 git commands to generate.