cvsextras fb66c51
Name:           perl-YAML
1d3272d
Version:        0.68
1d3272d
Release:        1%{?dist}
cvsextras fb66c51
Summary:        YAML Ain't Markup Language (tm)
091bdc0
License:        GPL+ or Artistic
2955408
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
d6b630c
BuildRequires:  perl(ExtUtils::MakeMaker)
2955408
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
9a7543f
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
cvsextras fb66c51
make %{?_smp_mflags}
cvsextras fb66c51
cvsextras fb66c51
%install
cvsextras fb66c51
rm -rf $RPM_BUILD_ROOT
2955408
cvsextras fb66c51
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
cvsextras fb66c51
9a7543f
# Removing Test::YAML (at least temporarily) due
9a7543f
# to security concerns and questionable value.
9a7543f
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
9a7543f
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Test/YAML* \
9a7543f
    $RPM_BUILD_ROOT%{_mandir}/man3/Test::YAML*.3*
9a7543f
2955408
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
d6602ca
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
cvsextras fb66c51
d6b630c
%{_fixperms} $RPM_BUILD_ROOT/*
cvsextras fb66c51
2955408
%check
2955408
make test
2dbaa38
cvsextras fb66c51
%clean
cvsextras fb66c51
rm -rf $RPM_BUILD_ROOT
cvsextras fb66c51
cvsextras fb66c51
%files
cvsextras fb66c51
%defattr(-,root,root,-)
1d3272d
%doc Changes README
cvsextras fb66c51
%{perl_vendorlib}/YAML*
e1aabd9
%{_mandir}/man3/YAML*.3*
5e2ec03
2dbaa38
%changelog
1d3272d
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.68-1
1d3272d
- Update to 0.68.
1d3272d
- COMPATIBILITY went away.
1d3272d
- ysh moved to YAML::Shell.
1d3272d
837bc02
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-3
837bc02
- Rebuild for perl 5.10 (again)
837bc02
4dfc7aa
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.66-2
4dfc7aa
- rebuild for new perl
4dfc7aa
091bdc0
* Tue Oct 16 2007 Steven Pritchard <steve@kspei.com> 0.66-1
091bdc0
- Update to 0.66.
091bdc0
- Update License tag.
091bdc0
f86e5e6
* Wed Jun 27 2007 Steven Pritchard <steve@kspei.com> 0.65-1
f86e5e6
- Update to 0.65.
f86e5e6
d6b630c
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.62-3
d6b630c
- Use fixperms macro instead of our own chmod incantation.
6821ee0
- Drop Test::Base build dependency to avoid a BR loop (#215637).
d6b630c
- BR ExtUtils::MakeMaker.
d6b630c
d6602ca
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.62-2
d6602ca
- Fix find option order.
d6602ca
9a7543f
* Fri Jul 07 2006 Steven Pritchard <steve@kspei.com> 0.62-1
9a7543f
- Update to 0.62.
9a7543f
- Removed Test::YAML (bug #197539).
9a7543f
9a7543f
* Mon Jul 03 2006 Steven Pritchard <steve@kspei.com> 0.61-1
9a7543f
- Update to 0.61.
9a7543f
539a4c0
* Sat May 20 2006 Steven Pritchard <steve@kspei.com> 0.58-3
539a4c0
- Rebuild.
539a4c0
2955408
* Tue May 09 2006 Steven Pritchard <steve@kspei.com> 0.58-2
2955408
- Drop testmore patch.
2955408
- Catch Test::YAML module and man page in file list.
2955408
2955408
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
2955408
- Update to 0.58.
2955408
- Small spec cleanups.
2955408
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.