Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Template-Sandbox
perl-Template-Sandbox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Template-Sandbox.spec of Package perl-Template-Sandbox
# # spec file for package perl-Template-Sandbox # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Template-Sandbox Version: 1.04 Release: 1 License: GPL+ or Artistic %define cpan_name Template-Sandbox Summary: Fast template engine sandboxed from your application. Url: http://search.cpan.org/dist/Template-Sandbox/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/S/SG/SGRAHAM/Template-Sandbox-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz BuildRequires: perl(Cache::Cache) >= 1 BuildRequires: perl(Cache::CacheFactory) >= 1.08 BuildRequires: perl(Carp) BuildRequires: perl(Class::Handle) BuildRequires: perl(Clone) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::MD5) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::File) BuildRequires: perl(Log::Any) >= 0.03 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Exception) BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) Requires: perl(Cache::Cache) >= 1 Requires: perl(Cache::CacheFactory) >= 1.08 Requires: perl(Carp) Requires: perl(Class::Handle) Requires: perl(Clone) Requires: perl(Data::Dumper) Requires: perl(Digest::MD5) Requires: perl(File::Spec) Requires: perl(IO::File) Requires: perl(Log::Any) >= 0.03 Requires: perl(Scalar::Util) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description the Template::Sandbox manpage is Yet Another Templating module, designed primarily for use in a webserver environment but usable anywhere, providing a more secure "sandboxed" environment than most templating systems. The core design philosophy for the Template::Sandbox manpage is that the template logic should have no access outside the template beyond that which you choose to permit it, this is frequently known as sandboxing. Unlike many other template systems, available on CPAN or in other languages, the Template::Sandbox manpage doesn't give the template access to the global variables of your application or to the core functions of the language. This means that your template authors only have access to the data and functionality that your application developers choose to grant them, this encourages both to work with "published" interfaces between the two systems - your template authors can't reach into the application's internal-only data, and so your application developers can change that internal data without worrying that the templates will stop working or expose confidential information. the Template::Sandbox manpage also provides exceptional performance, ranking among the fastest of the fully-featured template engines that don't rely on embedding perl within the templates. the Template::Sandbox manpage also provides the usual gamut of behaviours and optional features: caching compiled templates, includes, flow control, embedded expressions, cascading template candidates, and useful debugging information in case of errors. Furthermore, the Template::Sandbox manpage is designed to be subclassable should you wish to customize or extend other of its features. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes COPYING README %changelog
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