cvsextras fb66c51
Name:           perl-YAML
Steven Pritchard 2e0508e
Version:        0.72
1d68739
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/
1d68739
Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/YAML-%{version}.tar.gz
cvsextras fb66c51
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras fb66c51
BuildArch:      noarch
d6b630c
BuildRequires:  perl(ExtUtils::MakeMaker)
1d68739
BuildRequires:  perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
1d68739
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
1d68739
# Re-code docs as UTF-8
1d68739
iconv -f iso-8859-1 -t utf8 < README > README.utf8
1d68739
mv README.utf8 README
1d68739
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
62da76c
make pure_install DESTDIR=$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
1d68739
make test AUTOMATED_TESTING=1
2dbaa38
cvsextras fb66c51
%clean
cvsextras fb66c51
rm -rf $RPM_BUILD_ROOT
cvsextras fb66c51
cvsextras fb66c51
%files
cvsextras fb66c51
%defattr(-,root,root,-)
62da76c
%doc Changes README LICENSE
cvsextras fb66c51
%{perl_vendorlib}/YAML*
e1aabd9
%{_mandir}/man3/YAML*.3*
5e2ec03
2dbaa38
%changelog
Steven Pritchard 2e0508e
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 0.72-1
Steven Pritchard 2e0508e
- Update to 0.72.
Steven Pritchard 2e0508e
1d68739
* Wed Aug 18 2010 Paul Howarth <paul@city-fan.org> - 0.71-1
1d68739
- Update to 0.71 (use UTF-8 encoding in LoadFile/DumpFile: CPAN RT#25434)
1d68739
- Enable AUTOMATED_TESTING
1d68739
- BR: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
1d68739
- This release by ADAMK -> update source URL
1d68739
- Re-code docs as UTF-8
1d68739
694c788
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.70-5
694c788
- Mass rebuild with perl-5.12.0
694c788
62da76c
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-4
62da76c
- add license
62da76c
72a551c
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.70-3
72a551c
- rebuild against perl 5.10.1
72a551c
1193940
* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-2
1193940
- rebuild for push
1193940
7a83cdc
* Tue Oct 6  2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-1
7a83cdc
- new upstream version
7a83cdc
ab58ea4
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
ab58ea4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ab58ea4
5d2ed67
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-2
5d2ed67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5d2ed67
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.