commit bbdb4b0d8d981e3f9150f66cc68b2b0be95d2dd4 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Mar 15 04:55:56 2011 +0100 initial import .gitignore | 1 + perl-Catalyst-View-HTML-Template.spec | 48 +++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0cd3013 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Catalyst-View-HTML-Template-0.03.tar.gz diff --git a/perl-Catalyst-View-HTML-Template.spec b/perl-Catalyst-View-HTML-Template.spec new file mode 100644 index 0000000..b2c09f1 --- /dev/null +++ b/perl-Catalyst-View-HTML-Template.spec @@ -0,0 +1,48 @@ +Name: perl-Catalyst-View-HTML-Template +Version: 0.03 +Release: 1%{?dist} +Summary: HTML::Template View Class +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Catalyst-View-HTML-Template/ +Source0: http://www.cpan.org/authors/id/M/MR/MRAMBERG/Catalyst-View-HTML-Template-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Catalyst) >= 5.7 +BuildRequires: perl(HTML::Template) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This is the HTML::Template view class. Your subclass should inherit from +this class. + +%prep +%setup -q -n Catalyst-View-HTML-Template-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +TEST_POD=yep ./Build test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Mar 11 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.03-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..00a2b04 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +63a0055097d640b6d5b345815a96502d Catalyst-View-HTML-Template-0.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel