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