rpms/perl-XML-Entities/devel perl-XML-Entities.spec,NONE,1.1
Remi Collet (remi)
fedora-extras-commits at redhat.com
Fri Apr 4 16:38:41 UTC 2008
- Previous message (by thread): rpms/sunbird/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 sunbird.spec, 1.6, 1.7
- Next message (by thread): rpms/hplip/devel hplip.fdi,1.2,1.3 hplip.spec,1.175,1.176
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/perl-XML-Entities/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32578
Added Files:
perl-XML-Entities.spec
Log Message:
missing file
--- NEW FILE perl-XML-Entities.spec ---
%define perlname XML-Entities
Name: perl-XML-Entities
Version: 0.02
Release: 3%{?dist}.1
Summary: Decode strings with XML entities
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/XML-Entities/
Source: http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/%{perlname}-%{version}.tar.gz
# wget -r -nH -l 1 --cut-dirs=2 -nv http://www.w3.org/2003/entities/iso9573-2003doc/overview.html
# tar czf perl-XML-Entities-iso9573-2003.tgz iso9573-2003doc/overview.html iso9573-2003/*ent
Source1: %{name}-iso9573-2003.tgz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::Parser) perl(LWP::Simple) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module provides a mapping from the standard XML entities to their Unicode
characters. A function for decoding is provided. The mapping can be generated
from a DTD file with entity definitions.
%prep
%setup -q -n %{perlname}
tar xzf %{SOURCE1}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
# Use file provided rather than download it.
sed -i -e "s;bin/download-entities.pl lib/XML/Entities/Data.pm;bin/download-entities.pl file://$PWD/iso9573-2003doc/overview.html lib/XML/Entities/Data.pm;" \
Makefile
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
chmod -R u+rwX,go+rX,go-w %{buildroot}/*
%clean
rm -rf %{buildroot}
%check
make test
%files
%defattr(-, root, root, -)
%doc Changes README
%{_mandir}/man3/XML*
%{_bindir}/download-entities.pl
%{perl_vendorlib}/XML
%changelog
* Fri Apr 04 2008 Remi Collet <Fedora at famillecollet.com> 0.02-3.fc9.1
- dump release (missing file)
* Fri Apr 04 2008 Remi Collet <Fedora at famillecollet.com> 0.02-3
- enable test in all distro
(known to fail on EL4, must work on this issue)
* Thu Apr 03 2008 Remi Collet <Fedora at famillecollet.com> 0.02-2
- comment from review (#436611)
* Sat Mar 8 2008 Remi Collet <Fedora at famillecollet.com> 0.02-1
- initial spec
- Previous message (by thread): rpms/sunbird/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 sunbird.spec, 1.6, 1.7
- Next message (by thread): rpms/hplip/devel hplip.fdi,1.2,1.3 hplip.spec,1.175,1.176
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list