Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Catalyst-Model-DBI
perl-Catalyst-Model-DBI.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Catalyst-Model-DBI.spec of Package perl-Catalyst-Model-DBI
# # spec file for package perl-Catalyst-Model-DBI # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # Name: perl-Catalyst-Model-DBI Version: 0.32 Release: 0 %define cpan_name Catalyst-Model-DBI Summary: DBI Model Class License: listed above. Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Catalyst-Model-DBI/ Source0: http://www.cpan.org/authors/id/A/AL/ALEXP/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst) >= 5.00 BuildRequires: perl(DBI) BuildRequires: perl(DBIx::Connector) BuildRequires: perl(MRO::Compat) Requires: perl(Catalyst) >= 5.00 Requires: perl(DBI) Requires: perl(DBIx::Connector) Requires: perl(MRO::Compat) %{perl_requires} %description This is the 'DBI' model class. It has been rewritten to use the DBIx::Connector manpage since it's internal code that deals with connection maintenance has already been ported into there. You now have two options for doing custom models with Catalyst. Either by using this model and any related modules as needed or by having your custom model decoupled from Catalyst and glued on using the Catalyst::Model::Adaptor manpage Some general rules are as follows. If you do not wish to use the DBIx::Connector manpage directly or DBI and setup connections in your custom models or have glue models, then use this model. If you however need models that can be re-used outside of your application or simply wish to maintain connection code yourself outside of the Catalyst, then use the Catalyst::Model::Adaptor manpage which allows you to glue outside models into your Catalyst app. %prep %setup -q -n %{cpan_name}-%{version} %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 %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