003985c
%global perlname XML-Entities
906558f
906558f
Name:      perl-XML-Entities
973d6bd
Version:   1.0002
973d6bd
Release:   2%{?dist}
906558f
Summary:   Decode strings with XML entities
906558f
906558f
Group:     Development/Libraries
906558f
License:   GPL+ or Artistic
906558f
URL:       http://search.cpan.org/dist/XML-Entities/
906558f
Source:    http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/%{perlname}-%{version}.tar.gz
906558f
906558f
BuildArch: noarch
973d6bd
BuildRequires: perl
973d6bd
BuildRequires: perl(open)
906558f
BuildRequires: perl(ExtUtils::MakeMaker)
906558f
BuildRequires: perl(HTML::Parser) perl(LWP::Simple) perl(Test::More)
003985c
906558f
Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
906558f
003985c
%{?perl_default_filter}
003985c
906558f
906558f
%description
906558f
This module provides a mapping from the standard XML entities to their Unicode
906558f
characters. A function for decoding is provided. The mapping can be generated
906558f
from a DTD file with entity definitions.
906558f
906558f
906558f
%prep
906558f
%setup -q -n %{perlname}
906558f
906558f
906558f
%build
906558f
%{__perl} Makefile.PL INSTALLDIRS=vendor
906558f
906558f
make %{?_smp_mflags}
906558f
906558f
906558f
%install
906558f
make pure_install PERL_INSTALL_ROOT=%{buildroot}
906558f
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
906558f
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
003985c
%{_fixperms} $RPM_BUILD_ROOT/*
906558f
906558f
906558f
%check
906558f
make test
906558f
906558f
906558f
%files
906558f
%doc Changes README
906558f
%{_mandir}/man3/XML*
003985c
%{_mandir}/man3/download-entities.*
c2a4cf7
%{_mandir}/man1/download-entities.*
906558f
%{_bindir}/download-entities.pl
906558f
%{perl_vendorlib}/XML
906558f
906558f
906558f
%changelog
973d6bd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0002-2
973d6bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
973d6bd
973d6bd
* Tue Aug 25 2015 Remi Collet <remi@fedoraproject.org> - 1.0002-1
973d6bd
- update to 1.0002 (cleanup only)
973d6bd
973d6bd
* Mon Jun 22 2015 Remi Collet <remi@fedoraproject.org> - 1.0001-1
973d6bd
- update to 1.0001 (doc only)
973d6bd
- add BR perl(open)
973d6bd
973d6bd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-14
973d6bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
973d6bd
973d6bd
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.0000-13
973d6bd
- Perl 5.22 rebuild
973d6bd
973d6bd
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.0000-12
973d6bd
- Perl 5.20 rebuild
973d6bd
973d6bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-11
973d6bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
973d6bd
973d6bd
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-10
973d6bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
973d6bd
973d6bd
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.0000-9
973d6bd
- Perl 5.18 rebuild
973d6bd
34d8345
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-8
34d8345
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
34d8345
c27249d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-7
c27249d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c27249d
50349c3
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1.0000-6
50349c3
- Perl 5.16 rebuild
50349c3
bccb229
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-5
bccb229
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bccb229
Petr Sabata 230ac25
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.0000-4
Petr Sabata 230ac25
- Perl mass rebuild
Petr Sabata 230ac25
e3fc4d5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0000-3
e3fc4d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e3fc4d5
bc556f4
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.0000-2
bc556f4
- 661697 rebuild for fixing problems with vendorach/lib
bc556f4
003985c
* Mon Aug 30 2010 Remi Collet <Fedora@famillecollet.com> 1.0000-1
003985c
- update to 1.000 
003985c
- remove Source1 as Entities are now shipped with the module itself
003985c
656f388
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0307-2
656f388
- Mass rebuild with perl-5.12.0
656f388
c2a4cf7
* Sat Jan 09 2010 Remi Collet <Fedora@famillecollet.com> 0.0307-1
c2a4cf7
- update to 0.0307
c2a4cf7
6b93431
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-4
6b93431
- rebuild against perl 5.10.1
6b93431
05065ec
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3
05065ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
05065ec
1321b41
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-2
1321b41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1321b41
33f93a8
* Thu Apr 10 2008 Remi Collet <Fedora@famillecollet.com> 0.03-1
33f93a8
- update to 0.03
906558f
906558f
* Fri Apr 04 2008 Remi Collet <Fedora@famillecollet.com> 0.02-3
906558f
- enable test in all distro 
906558f
  (known to fail on EL4, must work on this issue)
906558f
906558f
* Thu Apr 03 2008 Remi Collet <Fedora@famillecollet.com> 0.02-2
906558f
- comment from review (#436611)
906558f
906558f
* Sat Mar  8 2008 Remi Collet <Fedora@famillecollet.com> 0.02-1
906558f
- initial spec
906558f