%define module YAML %define name perl-%{module} %define version 0.39 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: YAML Ain't Markup Language (tm) License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildRoot: %{_tmppath}/%{name}-%{version} %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch %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 %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor <<EOF EOF %make #make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{_bindir}/* %{perl_vendorlib}/YAML* %{_mandir}/*/* %changelog * Wed Apr 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.39-1mdk - new release - spec cleanup - disable test, we need a more recent Test module in core * Mon Jan 31 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.36-1mdk - 0.36 - add tests * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.35-3mdk - fix buildrequires in a backward compatible way * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.35-2mdk - rpmbuildupdate aware * Fri Dec 05 2003 Guillaume Rousse <guillomovitch@mandrake.org> 0.35-1mdk - first mdk release