rpms/perl-XML-Entities/F-7 perl-XML-Entities.spec, NONE, 1.1 sources, 1.1, 1.2
Remi Collet (remi)
fedora-extras-commits at redhat.com
Fri Apr 4 16:53:46 UTC 2008
- Previous message (by thread): rpms/compat-guichan06/F-8 compat-guichan06.spec, NONE, 1.1 guichan-0.6.1-soname.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/condor/devel isolate-gsoap-linking.patch, NONE, 1.1 condor.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/perl-XML-Entities/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv969
Modified Files:
sources
Added Files:
perl-XML-Entities.spec
Log Message:
new package
--- NEW FILE perl-XML-Entities.spec ---
%define perlname XML-Entities
Name: perl-XML-Entities
Version: 0.02
Release: 3%{?dist}
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
- 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
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-Entities/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Apr 2008 16:02:04 -0000 1.1
+++ sources 4 Apr 2008 16:53:05 -0000 1.2
@@ -0,0 +1,2 @@
+5081067743a516312dcf6a5c2b15db8e XML-Entities-0.02.tar.gz
+b3eac434b214a295ce5b8ac1f792b66c perl-XML-Entities-iso9573-2003.tgz
- Previous message (by thread): rpms/compat-guichan06/F-8 compat-guichan06.spec, NONE, 1.1 guichan-0.6.1-soname.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/condor/devel isolate-gsoap-linking.patch, NONE, 1.1 condor.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list