Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-CGI-Application
perl-CGI-Application.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CGI-Application.spec of Package perl-CGI-Application
# # spec file for package perl-CGI-Application # # 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-CGI-Application Version: 4.50 Release: 1 License: GPL-1.0+ or Artistic-1.0 %define cpan_name CGI-Application Summary: Framework for building reusable web-applications Url: http://search.cpan.org/dist/CGI-Application/ Group: Development/Libraries/Perl Source: http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Carp) BuildRequires: perl(CGI) BuildRequires: perl(Class::ISA) BuildRequires: perl(HTML::Template) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.47 #BuildRequires: perl(CGI::Application) #BuildRequires: perl(CGI::Carp) #BuildRequires: perl(CGI::PSGI) #BuildRequires: perl(Data::Dumper) #BuildRequires: perl(ExtUtils::MakeMaker) #BuildRequires: perl(Net::SMTP) #BuildRequires: perl(TestApp) #BuildRequires: perl(TestApp10) #BuildRequires: perl(TestApp14) #BuildRequires: perl(TestApp2) #BuildRequires: perl(TestApp3) #BuildRequires: perl(TestApp4) #BuildRequires: perl(TestApp5) #BuildRequires: perl(TestApp9) #BuildRequires: perl(TestCGI) #BuildRequires: perl(vars) Requires: perl(Carp) Requires: perl(CGI) Requires: perl(Class::ISA) Requires: perl(HTML::Template) Requires: perl(Test::More) >= 0.47 Recommends: perl(CGI::PSGI) >= 0.09 %{perl_requires} %description It is intended that your Application Module will be implemented as a sub-class of CGI::Application. This is done simply as follows: package My::App; use base 'CGI::Application'; *Notation and Conventions* For the purpose of this document, we will refer to the following conventions: WebApp.pm The Perl module which implements your Application Module class. WebApp Your Application Module class; a sub-class of CGI::Application. webapp.cgi The Instance Script which implements your Application Module. $webapp An instance (object) of your Application Module class. $c Same as $webapp, used in instance methods to pass around the current object. (Sometimes referred as "$self" in other code) %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 %files -f %{name}.files %defattr(-,root,root,755) %doc ARTISTIC Changes Examples GPL 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