Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f2200d0031a69e04ff7f5debe65237c4 > files > 2

perl-XML-Encoding-2.80.0-2.mga3.src.rpm

%define upstream_name	 XML-Encoding
%define upstream_version 2.08

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:	A perl module for parsing XML encoding maps
License:	Artistic
Group:		Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/XML/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires:  perl(XML::Parser)
BuildArch:	    noarch


%description
This module, which is built as a subclass of XML::Parser, provides a parser for
encoding map files, which are XML files. The file maps/encmap.dtd in the
distribution describes the structure of these files. Calling a parse method
returns the name of the encoding map (obtained from the name attribute of the
root element). The contents of the map are processed through the callback
functions push_prefix, pop_prefix, and range_set.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

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

%check
make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README Changes META.yml
%{_mandir}/*/*
%{_bindir}/*
%{perl_vendorlib}/XML

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 2.80.0-2.mga3
+ Revision: 375006
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Jan 21 2011 jquelin <jquelin> 2.80.0-1.mga1
+ Revision: 29425
- mageia rebuild
- imported package perl-XML-Encoding