Author: kasal Update of /cvs/extras/rpms/perl-Template-Toolkit/EL-5 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9379 Modified Files: .cvsignore perl-Template-Toolkit.spec sources Log Message: update to 2.22 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Template-Toolkit/EL-5/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- .cvsignore 29 May 2006 16:10:19 -0000 1.3 +++ .cvsignore 26 Jan 2010 08:43:20 -0000 1.4 @@ -1,2 +1,2 @@ -Template-Toolkit-2.14.tar.gz -Template-Toolkit-2.15.tar.gz +Template-Toolkit-2.22.tar.gz +TT_v222_html_docs.tar.gz Index: perl-Template-Toolkit.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Template-Toolkit/EL-5/perl-Template-Toolkit.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- perl-Template-Toolkit.spec 26 Aug 2007 22:18:14 -0000 1.9 +++ perl-Template-Toolkit.spec 26 Jan 2010 08:43:20 -0000 1.10 @@ -1,18 +1,21 @@ Name: perl-Template-Toolkit -Version: 2.18 -Release: 1%{?dist} +Version: 2.22 +Release: 3%{?dist} Summary: Template processing system Group: Development/Libraries License: GPL+ or Artistic URL: http://www.template-toolkit.org/ Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-%{version}.tar.gz +Source1: http://tt2.org/download/TT_v222_html_docs.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl >= 1:5.6.1, tetex-dvips, tetex-latex +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)) +Provides: perl-Template-Toolkit-examples = %{version}-%{release} +Obsoletes: perl-Template-Toolkit-examples < 2.22-1 %description The Template Toolkit is a collection of modules which implement a @@ -22,17 +25,10 @@ dynamic web content, but it can be used any other kind of text based documents: HTML, XML, POD, PostScript, LaTeX, and so on. -%package examples -Summary: Examples of how to use Template Toolkit -Group: Documentation -Requires: %{name} = %{version}-%{release} - -%description examples -%{summary}. - %prep -%setup -q -n Template-Toolkit-%{version} +%setup -q -n Template-Toolkit-%{version} -a 1 find lib -type f | xargs chmod -c -x +find TT_v*_html_docs -depth -name .svn -type d -exec rm -rf {} \; # Filter false positive provides. cat <<EOF > %{name}-prov @@ -46,13 +42,16 @@ EOF %define __perl_provides %{_builddir}/Template-Toolkit-%{version}/%{name}-prov chmod +x %{__perl_provides} +# Convert file to UTF-8 +iconv -f iso-8859-1 -t utf-8 -o Changes{.utf8,} +mv Changes{.utf8,} + %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor \ - TT_PREFIX=$RPM_BUILD_ROOT%{_datadir}/tt2 TT_DBI=n TT_ACCEPT=y + TT_DBI=n TT_ACCEPT=y make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" %install -rm -rf $RPM_BUILD_ROOT _docs # install (+ INSTALLARCHLIB) instead of pure_install to get docs # and the template library installed too make install \ @@ -64,9 +63,7 @@ find $RPM_BUILD_ROOT -type f -name .pack find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* -mkdir _docs ; mv $RPM_BUILD_ROOT%{_datadir}/tt2/docs _docs # Nuke buildroot where it hides -sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_datadir}/tt2/examples/ttree.cfg sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{perl_vendorarch}/Template/Config.pm %check @@ -77,23 +74,47 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc Changes HACKING README TODO _docs/* +%doc Changes HACKING README TODO TT_v*_html_docs/* %{_bindir}/tpage %{_bindir}/ttree %{perl_vendorarch}/Template.pm %{perl_vendorarch}/auto/Template %{perl_vendorarch}/Template -%{_datadir}/tt2 -# The examples get their own package due to size. -%exclude %{_datadir}/tt2/examples %{_mandir}/man1/*.1* %{_mandir}/man3/*.3* -%files examples -%defattr(-,root,root,-) -%{_datadir}/tt2/examples - %changelog +* Fri Jan 15 2010 Stepan Kasal <skasal@xxxxxxxxxx> - 2.22-3 +- drop build requirements for TeX; LaTeX support has been removed in 2.14a +- fix the Obsoletes tag + +* Fri Dec 4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 2.22-2 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.22-1 +- update to 2.22 +- obsolete examples package, upstream got rid of them + +* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.20-1 +- update to 2.20 + +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.19-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.19-4 +- Rebuild for perl 5.10 (again) + +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 2.19-3 +- Autorebuild for GCC 4.3 + +* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.19-2 +- rebuild for new perl + +* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.19-1 +- 2.19 +- license tag fix +- rebuild for BuildID + * Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.18-1 - go to 2.18 Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Template-Toolkit/EL-5/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- sources 21 Feb 2007 18:22:24 -0000 1.4 +++ sources 26 Jan 2010 08:43:20 -0000 1.5 @@ -1 +1,2 @@ -1a09711602b6ea8a69ef522c1ca5f7ae Template-Toolkit-2.18.tar.gz +d98277f6420e5da6b93d99a8db2b3934 Template-Toolkit-2.22.tar.gz +587d909170fd7dcbe8a51485c49fa3e0 TT_v222_html_docs.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