Sophie

Sophie

distrib > Fedora > 19 > i386 > by-pkgid > 1856ec78c91730a0fea39f3a36a08582 > files > 2

perl-HTML-Entities-Interpolate-1.05-1.fc19.src.rpm

%global pkgname HTML-Entities-Interpolate

Name:           perl-HTML-Entities-Interpolate
Version:        1.05
Release:        1%{?dist}
Summary:        Call HTML::Entities::encode_entities via a hash within a string
License:        Artistic 2.0
URL:            http://search.cpan.org/dist/HTML-Entities-Interpolate/
Source0:        http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{pkgname}-%{version}.tgz
BuildArch:      noarch
BuildRequires:  perl(HTML::Entities)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Tie::Function)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This is a pure perl module which calls HTML::Entities::encode_entities 
via a hash within a string.

%prep
%setup -qn %{pkgname}-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*

%check
./Build test

%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Jul 11 2013 Christopher Meng <rpm@cicku.me> - 1.05-1
- Change license.
- SPEC cleanup.

* Fri Jun 21 2013 Christopher Meng <rpm@cicku.me> - 1.04-1
- Initial Package.