[perl-HTML-Entities-Interpolate/f18] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Mon Jul 22 03:40:52 UTC 2013


commit 7e40aa4d612c105f549b9ccfc8307653268f7e3d
Author: Christopher Meng <rpm at cicku.me>
Date:   Mon Jul 22 11:40:02 2013 +0800

    Initial SETUP.

 .gitignore                          |    1 +
 perl-HTML-Entities-Interpolate.spec |   47 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c24b10d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-Entities-Interpolate-1.05.tgz
diff --git a/perl-HTML-Entities-Interpolate.spec b/perl-HTML-Entities-Interpolate.spec
new file mode 100644
index 0000000..f5e56d8
--- /dev/null
+++ b/perl-HTML-Entities-Interpolate.spec
@@ -0,0 +1,47 @@
+%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 at cicku.me> - 1.05-1
+- Change license.
+- SPEC cleanup.
+
+* Fri Jun 21 2013 Christopher Meng <rpm at cicku.me> - 1.04-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..3de7d1d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ba1dbb354a38fbc3856b8a56e5ad1a30  HTML-Entities-Interpolate-1.05.tgz


More information about the scm-commits mailing list