rpms/perl-HTML-Entities-Numbered/F-12 perl-HTML-Entities-Numbered.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot xavierb at fedoraproject.org
Tue Feb 16 20:28:57 UTC 2010


Author: xavierb

Update of /cvs/pkgs/rpms/perl-HTML-Entities-Numbered/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6210/F-12

Modified Files:
	sources 
Added Files:
	perl-HTML-Entities-Numbered.spec 
Log Message:
import in F-11, F-12 and EL-5 branches


--- NEW FILE perl-HTML-Entities-Numbered.spec ---
Name:           perl-HTML-Entities-Numbered
Version:        0.04
Release:        2%{?dist}
Summary:        Conversion of numbered HTML entities
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/HTML-Entities-Numbered/
Source0:        http://www.cpan.org/modules/by-module/HTML/HTML-Entities-Numbered-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More) >= 0.32
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
HTML::Entities::Numbered is a content conversion filter for named HTML
entities (symbols, mathmetical symbols, Greek letters, Latin letters,
etc.). When an argument of name2decimal() or name2hex() contains some
nameable HTML entities, they will be replaced to numbered HTML entities.
And when an argument of name2decimal_xml() or name2hex_xml() contains
some nameable numbered HTML entities, they will be replaced to numbered
HTML entities except valid XML entities (the excepted "valid XML
entities" are the following five entities: <, >, &, ",
'). By the same token, when an argument of decimal2name() or
hex2name() contains some nameable numbered HTML entities, they will be
replaced to named HTML entities.

%prep
%setup -q -n HTML-Entities-Numbered-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Feb 08 2010 Xavier Bachelot <xavier at bachelot.org> 0.04-2
- Remove unwanted Requires: perl(Test::More).

* Wed Feb 03 2010 Xavier Bachelot <xavier at bachelot.org> 0.04-1
- Specfile autogenerated by cpanspec 1.78.
- Fix License:


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTML-Entities-Numbered/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Feb 2010 03:57:43 -0000	1.1
+++ sources	16 Feb 2010 20:28:56 -0000	1.2
@@ -0,0 +1 @@
+9bc61132c10aa506d2629b37a2012729  HTML-Entities-Numbered-0.04.tar.gz




More information about the perl-devel mailing list