Name: perl-HTML-Template-Pro Version: 0.95 Release: 1%{?dist} Summary: Perl/XS module to use HTML Templates from CGI scripts License: GPL+ or Artistic or LGPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-Template-Pro/ Source0: http://www.cpan.org/authors/id/V/VI/VIY/HTML-Template-Pro-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: pcre-devel BuildRequires: perl(Test::More) BuildRequires: perl(JSON) %description A fast and lightweight C/Perl+XS HTML Template engine implementation. %prep %setup -q -n HTML-Template-Pro-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -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 ARTISTIC Changes FAQ LGPL README README.ru %{perl_vendorarch}/auto/* %{perl_vendorarch}/HTML* %{_mandir}/man3/* %changelog * Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 0.95-1 - Update to the latest upstream release * Sun Feb 21 2010 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.93-1 - New upstream release * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.87-2 - rebuild against perl 5.10.1 * Mon Sep 07 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 0.87-1 - New upstream release * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri May 08 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.74-1 - New upstream release * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.71-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.71-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Oct 23 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.71-1 - New upstream version * Tue Jul 15 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - 0.70-1 - New upstream version * Mon Jun 02 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 0.69-1 - Specfile autogenerated by cpanspec 1.75. - Fixed Build requirements for the tests to run - Enable PCRE support