Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 9864b5681e1e34cdd7aef4b7b8e86688 > files > 2

perl-XML-Elemental-2.0-1mdv2007.1.src.rpm

%define module  XML-Elemental
%define name    perl-%{module}
%define version 2.0
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Simplistic and perlish handling of XML data
License:        GPL or Artistic
Group:          Development/Perl
Url:            http://search.cpan.org/dist/%{module}/
Source:         http://www.cpan.org/modules/by-module/XML/%{module}-%{version}.tar.bz2
%if %{mdkversion} < 1010
Buildrequires:  perl-devel
%endif
Buildrequires:  perl(XML::SAX)
Buildrequires:  perl(Class::Accessor)
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description
XML::Elemental is a SAX-based package for easily parsing XML documents into a
more native and mostly object-oriented perl form.

The development of this package grew out of the desire for something more
object-oriented then XML::Simple and was more simplistic and perlish then the
various standard XML API modules such as XML::DOM. Easier installation of
modules was also a contributing factor.

Original this package began as a style plugin to XML::Parser. That proved to be
too limiting that it was expanded. With the release of version 2.0 the package
was refactored to take advantage of any parser supporting SAX that includes the
pure perl option that ships with XML::SAX.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot} 
%makeinstall_std

%clean 
rm -rf %{buildroot} 

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/XML
%{_mandir}/man3*/*


%changelog
* Thu Mar 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.0-1mdv2007.1
+ Revision: 144129
- fix build dependencies
- Imported perl-XML-Elemental-2.0-1mdv2007.1 into SVN repository.



* Thu Mar 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.0-1mdv2007.1
- first mdv release