Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-DBIx-Class-BitField
perl-DBIx-Class-BitField.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DBIx-Class-BitField.spec of Package perl-DBIx-Class-BitField
# # spec file for package perl-DBIx-Class-BitField # # 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-DBIx-Class-BitField Version: 0.13 Release: 0 %define cpan_name DBIx-Class-BitField Summary: Store multiple boolean fields in one integer field License: BSD-3-Clause Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DBIx-Class-BitField/ Source: http://www.cpan.org/authors/id/P/PE/PERLER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBIx::Class) >= 0.08107 BuildRequires: perl(File::Find::Rule) BuildRequires: perl(Test::More) >= 0.92 Requires: perl(DBD::SQLite) Requires: perl(DBIx::Class) >= 0.08107 Requires: perl(File::Find::Rule) Requires: perl(Test::More) >= 0.92 %{perl_requires} %description This module is useful if you manage data which has a lot of on/off attributes like _active, inactive, deleted, important, etc._. If you do not want to add an extra column for each of those attributes you can easily specify them in one 'integer' column. A bit field is a way to store multiple bit values on one integer field. The main benefit from this module is that you can add additional attributes to your result class whithout the need to deploy or change the schema on the data base. *This module encourages to not normalize your schema. You should consider a 'has_many' relationship to a table which holds all the flags instead of this module.* %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 LICENSE 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