forked from pool/perl-Template-Toolkit
110 lines
3.4 KiB
RPMSpec
110 lines
3.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Template-Toolkit (Version 2.15)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-Template-Toolkit
|
||
|
BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser
|
||
|
Version: 2.15
|
||
|
Release: 1
|
||
|
Requires: perl = %{perl_version}
|
||
|
Requires: perl-AppConfig
|
||
|
Autoreqprov: on
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
URL: http://cpan.org/modules/by-module/Template/
|
||
|
Summary: Fast and/ Powerful Template System for Perl
|
||
|
Source: Template-Toolkit-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
The Template Toolkit is a fast, powerful, and easily extensible
|
||
|
template processing system written in Perl with certain key elements
|
||
|
coded in C for maximum speed. It is ideally suited (but not limited) to
|
||
|
the creation of static and dynamic web content, and incorporates
|
||
|
various modules and tools to simplify this process.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Andy Wardley <abw@kfs.org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Template-Toolkit-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
# make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
mkdir $RPM_BUILD_ROOT/%{_datadir}/tt2
|
||
|
cp -R images templates $RPM_BUILD_ROOT/%{_datadir}/tt2
|
||
|
find $RPM_BUILD_ROOT/%{_datadir}/tt2 -type d -exec chmod 755 '{}' \;
|
||
|
find $RPM_BUILD_ROOT/%{_datadir}/tt2 -type f -exec chmod 644 '{}' \;
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc TODO MANIFEST Changes README INSTALL HACKING examples docs
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{_bindir}/*
|
||
|
%{perl_vendorarch}/Template*
|
||
|
%{perl_vendorarch}/auto/Template
|
||
|
%{_datadir}/tt2
|
||
|
/var/adm/perl-modules/perl-Template-Toolkit
|
||
|
|
||
|
%changelog -n perl-Template-Toolkit
|
||
|
* Wed Jul 12 2006 - anicka@suse.cz
|
||
|
- update to 2.15
|
||
|
* Added the CHOMP_GREEDY option and '~' chomping flag. Changed
|
||
|
CHOMP_COLLAPSE to greedily chomp all whitespace (including
|
||
|
multiple newlines) and replace it with a single space.
|
||
|
* Added code to the replace text virtual method to use a faster
|
||
|
and simpler implementation if the replacement text doesn't
|
||
|
contain any back references.
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Thu Sep 15 2005 - anicka@suse.cz
|
||
|
- package splash samples (#63801)
|
||
|
* Fri Jul 29 2005 - mjancar@suse.cz
|
||
|
- update to 2.14
|
||
|
* Tue Jul 26 2005 - anicka@suse.cz
|
||
|
- add perl-AppConfig to Requires
|
||
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
||
|
- update to 2.13
|
||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||
|
- add %%defattr
|
||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
- require the perl version we build with
|
||
|
* Wed Jul 16 2003 - freitag@suse.de
|
||
|
- removed MANDIR
|
||
|
* Wed Jul 16 2003 - freitag@suse.de
|
||
|
- added examples to documentation
|
||
|
use vendor install
|
||
|
* Tue Jul 01 2003 - ro@suse.de
|
||
|
- use perl_process_packlist macro
|
||
|
- added unpackaged files
|
||
|
* Wed Jun 18 2003 - coolo@suse.de
|
||
|
- package directories
|
||
|
* Mon May 26 2003 - ro@suse.de
|
||
|
- remove unpackaged files from buildroot
|
||
|
- add ttree and tpage (with manpages) to filelist
|
||
|
* Fri Nov 29 2002 - freitag@suse.de
|
||
|
- fixed lib path to be 64 bit conform - and try to remember this for
|
||
|
the future ;-(
|
||
|
* Fri Nov 29 2002 - freitag@suse.de
|
||
|
- initial version 2.08, needed by bugzilla and very powerfull.
|