Author: cweyl
Update of /cvs/extras/rpms/perl-Template-Provider-Encoding/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25376/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Template-Provider-Encoding.spec
Log Message:
initial commit
--- NEW FILE perl-Template-Provider-Encoding.spec ---
Name: perl-Template-Provider-Encoding
Version: 0.10
Release: 1%{?dist}
Summary: Explicitly declare encodings of your templates
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Template-Provider-Encoding/
Source0:
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Template-Provider-Encoding-%...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Encode) >= 1.00
BuildRequires: perl(Template) >= 2.1
BuildRequires: perl(Test::More) >= 0.32
# testing
BuildRequires: perl(DateTime)
%description
Template::Provider::Encoding is a Template Provider subclass to decode
template using its declaration. You have to declare encoding of the
template in the 1st line of the template using the (fake) encoding TT
plugin; otherwise the template is handled as utf-8.
%prep
%setup -q -n Template-Provider-Encoding-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed May 28 2008 Chris Weyl <cweyl(a)alumni.drew.edu> 0.10-1
- Specfile autogenerated by cpanspec 1.75.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Template-Provider-Encoding/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 May 2008 20:28:05 -0000 1.1
+++ .cvsignore 31 May 2008 19:00:00 -0000 1.2
@@ -0,0 +1 @@
+Template-Provider-Encoding-0.10.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Template-Provider-Encoding/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 May 2008 20:28:05 -0000 1.1
+++ sources 31 May 2008 19:00:00 -0000 1.2
@@ -0,0 +1 @@
+fddbc7b4c2033d931932880149cab323 Template-Provider-Encoding-0.10.tar.gz