]> git.pld-linux.org Git - packages/perl-YAML.git/blame - perl-YAML.spec
- up to 1.29
[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
ee74e810 10Version: 1.29
bc74d4cd 11Release: 1
8774a034 12# same as perl 5
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
ee74e810 16# Source0-md5: 3dbb1d9734aef91cec28fb7ccd20cf3a
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}
8774a034 21BuildRequires: perl-Test-Simple >= 0.88
e2bc7462 22BuildRequires: perl-Test-YAML >= 1.05
7297c5c3 23%endif
caf805f0 24BuildRequires: rpm-perlprov >= 4.1-13
73096fb5 25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
f8e9500e
JB
29The YAML.pm module implements a YAML Loader and Dumper based on the
30YAML 1.0 specification.
73096fb5 31
f8e9500e
JB
32YAML is a generic data serialization language that is optimized for
33human readability. It can be used to express the data structures of
7f06e248 34most modern programming languages. (Including Perl!!!)
73096fb5 35
6b932ded
JR
36%description -l pl.UTF-8
37Moduł YAML.pm jest implementacją klas YAML Loader i Dumper bazujących
38na specyfikacji YAML 1.0. YAML to język do serializacji ogólnych
39danych, zoptymalizowany pod względem czytelności dla człowieka. Może
40być używany do wyrażania struktur danych większości współczesnych
41języków programowania (włącznie z Perlem).
73096fb5 42
43%prep
44%setup -q -n %{pdir}-%{version}
45
46%build
af94652a 47%{__perl} Makefile.PL \
caf805f0 48 INSTALLDIRS=vendor
73096fb5 49%{__make}
50
81e56ade 51%{?with_tests:%{__make} test}
73096fb5 52
53%install
54rm -rf $RPM_BUILD_ROOT
55
81e56ade 56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
73096fb5 58
0c18d207
SS
59%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/YAML.pod
60
73096fb5 61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
1ffd68c0 66%doc Changes
af94652a
ER
67%{perl_vendorlib}/YAML.pm
68%{perl_vendorlib}/YAML
69%{_mandir}/man3/YAML.3pm*
70%{_mandir}/man3/YAML::*.3pm*
This page took 0.103077 seconds and 4 git commands to generate.