%define upstream_name XML-Node %define upstream_version 0.11 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Node-based XML parsing: an simplified interface to XML::Parser License: Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(XML::Parser) BuildArch: noarch %description Using XML::Node, you can easily ignore the parts of XML files that you are not interested in, thus helping in simplify Perl scripts significantly. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README MANIFEST Changes %{_mandir}/*/* %{perl_vendorlib}/XML/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.110.0-2.mga3 + Revision: 375086 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.110.0-1.mga1 + Revision: 27301 - mageia rebuild - imported package perl-XML-Node