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