rpms/perl-Template-Toolkit/EL-4 perl-Template-Toolkit.spec, 1.6, 1.7 sources, 1.2, 1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: spot

Update of /cvs/pkgs/rpms/perl-Template-Toolkit/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26147/EL-4

Modified Files:
	perl-Template-Toolkit.spec sources 
Log Message:
2.22 for EPEL


Index: perl-Template-Toolkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Template-Toolkit/EL-4/perl-Template-Toolkit.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- perl-Template-Toolkit.spec	26 Aug 2007 22:18:11 -0000	1.6
+++ perl-Template-Toolkit.spec	26 Jan 2010 14:53:05 -0000	1.7
@@ -1,20 +1,21 @@
 Name:           perl-Template-Toolkit
-Version:        2.14
-Release:        8%{?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
-#Patch0:        https://rt.cpan.org/NoAuth/Bug.html?id=7864
-Patch0:         %{name}-gdpngtest.patch
+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
@@ -24,18 +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}
-%patch0 -p0
+%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
@@ -49,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 \
@@ -67,12 +63,9 @@ 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
 make test
 
@@ -81,23 +74,57 @@ 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
+
+* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.15-2
+- bump for fc6
+
+* Mon May 29 2006 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.15-1
+- bump to 2.15
+- gd test is gone, don't need to patch anything
+
 * Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.14-8
 - really resolve bug 173756
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Template-Toolkit/EL-4/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	11 Jul 2005 17:41:38 -0000	1.2
+++ sources	26 Jan 2010 14:53:05 -0000	1.3
@@ -1 +1,2 @@
-0eed60763ef2465c50f9b6a33e51cc14  Template-Toolkit-2.14.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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux