diff --git a/.cvsignore b/.cvsignore index e69de29..197b159 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +YAML-0.35.tar.gz diff --git a/perl-YAML.spec b/perl-YAML.spec new file mode 100644 index 0000000..bb01107 --- /dev/null +++ b/perl-YAML.spec @@ -0,0 +1,78 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-YAML +Version: 0.35 +Release: 0.fdr.5.rh90 +Epoch: 0 +Summary: YAML Ain't Markup Language (tm) + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/YAML/ +Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-0.35.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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} +chmod 644 Changes README + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{_bindir}/* +%{perl_vendorlib}/YAML* +%{_mandir}/man?/* + + +%changelog +* Sat May 15 2004 Jose Pedro Oliveira - 0:0.35-0.fdr.5 +- Avoid creation of the perllocal.pod file (make pure_install). + +* Sun Apr 25 2004 Ville Skyttä - 0:0.35-0.fdr.4 +- Require perl(:MODULE_COMPAT_*). +- Cosmetic tweaks (bug 1383). + +* Sun Mar 14 2004 Ville Skyttä - 0:0.35-0.fdr.3 +- Reduce directory ownership bloat. + +* Tue Nov 18 2003 Ville Skyttä - 0:0.35-0.fdr.2 +- Use INSTALLARCHLIB workaround in %%install. + +* Wed Sep 3 2003 Ville Skyttä - 0:0.35-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..a488bcc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +03f1c4446fae2bcc7d606b0b3ded0632 YAML-0.35.tar.gz