Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Template-Toolkit
perl-Template-Toolkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Template-Toolkit.spec of Package perl-Template-Toolkit
# # spec file for package perl-Template-Toolkit # # norootforbuild %define real_name Template-Toolkit %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} Summary: Template Processing System Version: 2.22 Release: 1 License: Artistic License .. Group: Development/Libraries/Perl Url: http://cpan.org/dist/Template-Toolkit Source: %{real_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: perl-AppConfig perl-DBI perl-Date-Calc perl-XML-DOM perl-XML-Parser BuildRequires: perl(Date::Calc) BuildRequires: perl(DBI) BuildRequires: perl(Image::Size) BuildRequires: perl(Pod::POM) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(Text::Autoformat) BuildRequires: perl(XML::DOM) # BuildRequires: perl(AppConfig) >= 1.56 BuildRequires: perl(File::Spec) >= 0.8 BuildRequires: perl(File::Temp) >= 0.12 BuildRequires: perl(Scalar::Util) # Requires: perl(AppConfig) >= 1.56 Requires: perl(File::Spec) >= 0.8 Requires: perl(Scalar::Util) # not defined but needed Requires: perl(Data::Dumper) Requires: perl(Pod::POM) BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif %description The Template Toolkit is a collection of modules which implement a fast, flexible, powerful and extensible template processing system. It was originally designed and remains primarily useful for generating dynamic web content, but it can be used equally well for processing any other kind of text based documents: HTML, XML, POD, PostScript, LaTeX, and so on. It can be used as a stand-alone Perl module or embedded within an Apache/mod_perl server for generating highly configurable dynamic web content. A number of Perl scripts are also provided which can greatly simplify the process of creating and managing static web content and other offline document systems. Authors: Andy Wardley <abw@kfs.org> %prep %setup -q -n %{real_name}-%{version} chmod -R u+rw %{_builddir}/%{real_name}-%{version} %build grep -rsl '^#!.*perl' . | grep -v '.bak$' |xargs --no-run-if-empty \ %__perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL TT_XS_DEFAULT=y TT_ACCEPT=y `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\. 9[1-6]|6\.0[0-5]/ '` %{__make} %{?_smp_mflags} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} find %{buildroot} -type f |xargs -i chmod 644 {} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes HACKING INSTALL README TODO %doc %{_mandir}/man?/* %{_bindir}/tpage %{_bindir}/ttree %{perl_vendorarch}/Template* %{perl_vendorarch}/auto/Template* %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de> - remove perl-version require * Tue Jun 8 2010 Holger Manthey <holger.manthey@bertelsmann.de> - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor