%define upstream_name XML-Entities %define upstream_version 1.0001 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Mapping of XML entities to Unicode License: GPL+ or 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(Carp) BuildRequires: perl(Test::More) BuildArch: noarch %description This module deals with decoding of strings with XML character entities. Based upon the HTML::Entities module by Gisle Aas %prep %setup -q -n %{upstream_name} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{_bindir}/download-entities.pl %{perl_vendorlib}/XML %{_mandir}/man1/download-entities.pl.1* %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.0.100-2.mga3 + Revision: 375013 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Aug 31 2012 kharec <kharec> 1.0.100-1.mga3 + Revision: 286603 - update to 1.0001 * Tue Jan 18 2011 jquelin <jquelin> 1.0.0-1.mga1 + Revision: 23077 - cleaning spec file - imported package perl-XML-Entities