cvsextras fb66c51
Name:           perl-YAML
5e2ec03
Version:        0.58
a2a00c4
Release:        2%{?dist}
cvsextras fb66c51
Summary:        YAML Ain't Markup Language (tm)
cvsextras fb66c51
License:        GPL or Artistic
5e2ec03
Group:          Development/Libraries
cvsextras fb66c51
URL:            http://search.cpan.org/dist/YAML/
e1aabd9
Source0:        http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
cvsextras fb66c51
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras fb66c51
BuildArch:      noarch
5e2ec03
BuildRequires:  perl(Test::Base) >= 0.49
5e2ec03
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsextras fb66c51
cvsextras fb66c51
%description
cvsextras fb66c51
The YAML.pm module implements a YAML Loader and Dumper based on the
cvsextras fb66c51
YAML 1.0 specification. http://www.yaml.org/spec/
cvsextras fb66c51
YAML is a generic data serialization language that is optimized for
cvsextras fb66c51
human readability. It can be used to express the data structures of
cvsextras fb66c51
most modern programming languages, including Perl.
cvsextras fb66c51
For information on the YAML syntax, please refer to the YAML
cvsextras fb66c51
specification.
cvsextras fb66c51
cvsextras fb66c51
%prep
cvsextras fb66c51
%setup -q -n YAML-%{version}
cvsextras fb66c51
cvsextras fb66c51
%build
e1aabd9
%{__perl} Makefile.PL INSTALLDIRS=vendor
cvsextras fb66c51
make %{?_smp_mflags}
cvsextras fb66c51
cvsextras fb66c51
%install
cvsextras fb66c51
rm -rf $RPM_BUILD_ROOT
5e2ec03
cvsextras fb66c51
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
cvsextras fb66c51
5e2ec03
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
5e2ec03
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
cvsextras fb66c51
5e2ec03
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
cvsextras fb66c51
5e2ec03
%check
5e2ec03
make test
cvsextras fb66c51
cvsextras fb66c51
%clean
cvsextras fb66c51
rm -rf $RPM_BUILD_ROOT
cvsextras fb66c51
cvsextras fb66c51
%files
cvsextras fb66c51
%defattr(-,root,root,-)
cvsextras fb66c51
%doc Changes README
e1aabd9
%{_bindir}/ysh
cvsextras fb66c51
%{perl_vendorlib}/YAML*
a2a00c4
%{perl_vendorlib}/Test/YAML*
e1aabd9
%{_mandir}/man1/ysh.1*
e1aabd9
%{_mandir}/man3/YAML*.3*
a2a00c4
%{_mandir}/man3/Test::YAML*.3*
cvsextras fb66c51
cvsextras fb66c51
%changelog
a2a00c4
* Tue May 09 2006 Steven Pritchard <steve@kspei.com> 0.58-2
a2a00c4
- Drop testmore patch.
a2a00c4
- Catch Test::YAML module and man page in file list.
a2a00c4
5e2ec03
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
5e2ec03
- Update to 0.58.
5e2ec03
- Small spec cleanups.
5e2ec03
e1aabd9
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
e1aabd9
- 0.39.
e1aabd9
dc348d9
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
dc348d9
- rebuilt
dc348d9
cvsextras fb66c51
* Sat May 15 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.35-0.fdr.5
cvsextras fb66c51
- Avoid creation of the perllocal.pod file (make pure_install).
cvsextras fb66c51
cvsextras fb66c51
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.4
cvsextras fb66c51
- Require perl(:MODULE_COMPAT_*).
cvsextras fb66c51
- Cosmetic tweaks (bug 1383).
cvsextras fb66c51
cvsextras fb66c51
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.3
cvsextras fb66c51
- Reduce directory ownership bloat.
cvsextras fb66c51
cvsextras fb66c51
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.2
cvsextras fb66c51
- Use INSTALLARCHLIB workaround in %%install.
cvsextras fb66c51
cvsextras fb66c51
* Wed Sep  3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.1
cvsextras fb66c51
- First build.