|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Template-Toolkit
|
|
|
|
|
Version: 2.22
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Summary: Template processing system
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -9,11 +9,34 @@ Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit
|
|
|
|
|
Source1: http://tt2.org/download/TT_v222_html_docs.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(CGI)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
# Prefer Image::Info over Image::Size
|
|
|
|
|
BuildRequires: perl(Image::Info)
|
|
|
|
|
BuildRequires: perl(Pod::POM)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Text::Wrap)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(AppConfig), perl(Text::Autoformat), perl(GD::Graph3d), perl(GD::Graph)
|
|
|
|
|
BuildRequires: perl(GD::Text), perl(Image::Info), perl(Image::Size), perl(Pod::POM)
|
|
|
|
|
BuildRequires: perl(XML::DOM), perl(XML::RSS), perl(XML::XPath)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(AppConfig)
|
|
|
|
|
Requires: perl(Encode)
|
|
|
|
|
Requires: perl(File::Temp)
|
|
|
|
|
# Prefer Image::Info over Image::Size
|
|
|
|
|
Requires: perl(Image::Info)
|
|
|
|
|
Provides: perl-Template-Toolkit-examples = %{version}-%{release}
|
|
|
|
|
Obsoletes: perl-Template-Toolkit-examples < 2.22-1
|
|
|
|
|
|
|
|
|
@ -54,8 +77,8 @@ make install \
|
|
|
|
|
INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} \
|
|
|
|
|
TT_PREFIX=$RPM_BUILD_ROOT%{_datadir}/tt2
|
|
|
|
|
find $RPM_BUILD_ROOT -type f \( -name perllocal.pod -o \
|
|
|
|
|
-name .packlist -o -name '*.bs' -size 0 \) -exec rm {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
|
|
|
|
|
-name .packlist -o -name '*.bs' -size 0 \) -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir -f {} ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
# Nuke buildroot where it hides
|
|
|
|
|
sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{perl_vendorarch}/Template/Config.pm
|
|
|
|
@ -78,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 21 2012 Petr Pisar <ppisar@redhat.com> - 2.22-14
|
|
|
|
|
- Correct dependencies
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|