Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-C
perl-Catalyst-View-ByCode
perl-Catalyst-View-ByCode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Catalyst-View-ByCode.spec of Package perl-Catalyst-View-ByCode
# # spec file for package perl-Catalyst-View-ByCode # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: perl-Catalyst-View-ByCode Version: 0.28 Release: 0 %define cpan_name Catalyst-View-ByCode Summary: Templating using pure Perl code License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/W/WK/WKI/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst::Runtime) >= 5.80 BuildRequires: perl(Devel::Declare) >= 0.005007 BuildRequires: perl(FindBin) >= 1.49 BuildRequires: perl(HTML::Entities) >= 1.35 BuildRequires: perl(HTML::Tagset) >= 3.10 BuildRequires: perl(List::Util) >= 1.21 BuildRequires: perl(Moose) >= 1.0 BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(Test::Builder) >= 0.86 BuildRequires: perl(Test::Builder::Tester) >= 1.18 BuildRequires: perl(Test::Exception) >= 0.270000 BuildRequires: perl(Test::Harness) >= 3.14 BuildRequires: perl(Test::More) >= 0.86 BuildRequires: perl(UUID::Random) >= 0.04 BuildRequires: perl(YAML) >= 0.68 BuildRequires: perl(ok) Requires: perl(Catalyst::Runtime) >= 5.80 Requires: perl(Devel::Declare) >= 0.005007 Requires: perl(FindBin) >= 1.49 Requires: perl(HTML::Entities) >= 1.35 Requires: perl(HTML::Tagset) >= 3.10 Requires: perl(List::Util) >= 1.21 Requires: perl(Moose) >= 1.0 Requires: perl(MooseX::Types::Path::Class) Requires: perl(Test::Builder) >= 0.86 Requires: perl(Test::Builder::Tester) >= 1.18 Requires: perl(Test::Exception) >= 0.270000 Requires: perl(Test::Harness) >= 3.14 Requires: perl(Test::More) >= 0.86 Requires: perl(UUID::Random) >= 0.04 Requires: perl(YAML) >= 0.68 Requires: perl(ok) %{perl_requires} %description 'Catalyst::View::ByCode' tries to offer an efficient, fast and robust solution for generating HTML and XHTML markup using standard perl code encapsulating all nesting into code blocks. Instead of typing opening and closing HTML-Tags we simply call a sub named like the tag we want to generate: div { 'hello' } generates: <div>hello</div> There is no templating language you will have to learn, no quirks with different syntax rules your editor might not correctly follow and no indentation problems. The whole markup is initially constructed as a huge tree-like structure in memory keeping every reference as long as possible to allow greatest flexibility and enable deferred construction of every building block until the markup is actially requested. Every part of the markup can use almost every type of data with some reasonable behavior during markup generation. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README README.md %license LICENSE %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