| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2011-11-17 14:04:13 +00:00
										 |  |  | # spec file for package perl-Data-ObjectDriver
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2025-05-24 14:52:02 +00:00
										 |  |  | # Copyright (c) 2025 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # 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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-14 10:43:46 +00:00
										 |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-13 19:05:16 +00:00
										 |  |  | %define cpan_name Data-ObjectDriver
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | Name:           perl-Data-ObjectDriver
 | 
					
						
							| 
									
										
										
										
											2025-05-24 14:52:02 +00:00
										 |  |  | Version:        0.250.0
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2025-05-24 14:52:02 +00:00
										 |  |  | # 0.25 -> normalize -> 0.250.0
 | 
					
						
							|  |  |  | %define cpan_version 0.25
 | 
					
						
							| 
									
										
										
										
											2020-09-15 12:09:36 +00:00
										 |  |  | License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
					
						
							| 
									
										
										
										
											2023-02-13 19:05:16 +00:00
										 |  |  | Summary:        Simple, transparent data interface, with caching
 | 
					
						
							| 
									
										
										
										
											2020-09-15 12:09:36 +00:00
										 |  |  | URL:            https://metacpan.org/release/%{cpan_name}
 | 
					
						
							| 
									
										
										
										
											2025-01-09 16:25:20 +00:00
										 |  |  | Source0:        https://cpan.metacpan.org/authors/id/S/SI/SIXAPART/%{cpan_name}-%{cpan_version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2015-05-18 11:13:20 +00:00
										 |  |  | Source1:        cpanspec.yml
 | 
					
						
							| 
									
										
										
										
											2025-08-12 18:13:04 +02:00
										 |  |  | Source100:      README.md
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | BuildRequires:  perl
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | BuildRequires:  perl-macros
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | BuildRequires:  perl(Class::Accessor::Fast)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Class::Data::Inheritable)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Class::Trigger)
 | 
					
						
							|  |  |  | BuildRequires:  perl(DBI)
 | 
					
						
							|  |  |  | BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.59
 | 
					
						
							| 
									
										
										
										
											2025-01-09 16:25:20 +00:00
										 |  |  | BuildRequires:  perl(Module::Build)
 | 
					
						
							| 
									
										
										
										
											2025-05-24 14:52:02 +00:00
										 |  |  | BuildRequires:  perl(Module::Build::Tiny) >= 0.35.0
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | BuildRequires:  perl(Test::Exception)
 | 
					
						
							| 
									
										
										
										
											2016-01-21 11:08:05 +00:00
										 |  |  | BuildRequires:  perl(version)
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | Requires:       perl(Class::Accessor::Fast)
 | 
					
						
							|  |  |  | Requires:       perl(Class::Data::Inheritable)
 | 
					
						
							|  |  |  | Requires:       perl(Class::Trigger)
 | 
					
						
							|  |  |  | Requires:       perl(DBI)
 | 
					
						
							| 
									
										
										
										
											2025-01-09 16:25:20 +00:00
										 |  |  | Provides:       perl(Data::ObjectDriver) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::BaseObject)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::BaseView)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::BaseCache)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Cache::Apache)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Cache::Cache)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Cache::Memcached)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Cache::RAM)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::MariaDB)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::Oracle)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::Oracle::db)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::Pg)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::SQLite)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBD::mysql)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::DBI)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::GearmanDBI)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::MultiPartition)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Multiplexer)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::Partition)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Driver::SimplePartition)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Errors)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Iterator)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::Profiler)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::ResultSet)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::SQL)
 | 
					
						
							|  |  |  | Provides:       perl(Data::ObjectDriver::SQL::Oracle)
 | 
					
						
							|  |  |  | %undefine       __perllib_provides
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | Recommends:     perl(Text::SimpleTable)
 | 
					
						
							|  |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | _Data::ObjectDriver_ is an object relational mapper, meaning that it maps
 | 
					
						
							|  |  |  | object-oriented design concepts onto a relational database.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | It's inspired by, and descended from, the _MT::ObjectDriver_ classes in Six
 | 
					
						
							|  |  |  | Apart's Movable Type and TypePad weblogging products. But it adds in
 | 
					
						
							|  |  |  | caching and partitioning layers, allowing you to spread data across
 | 
					
						
							|  |  |  | multiple physical databases, without your application code needing to know
 | 
					
						
							|  |  |  | where the data is stored.
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2025-05-24 14:52:02 +00:00
										 |  |  | %autosetup  -n %{cpan_name}-%{cpan_version} -p1
 | 
					
						
							| 
									
										
										
										
											2023-02-13 19:05:16 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-09 16:25:20 +00:00
										 |  |  | find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2019-03-14 10:43:46 +00:00
										 |  |  | perl Build.PL --installdirs=vendor
 | 
					
						
							| 
									
										
										
										
											2016-01-21 11:08:05 +00:00
										 |  |  | ./Build build --flags=%{?_smp_mflags}
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							| 
									
										
										
										
											2015-04-14 08:06:52 +00:00
										 |  |  | ./Build test
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2016-01-21 11:08:05 +00:00
										 |  |  | ./Build install --destdir=%{buildroot} --create_packlist=0
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							| 
									
										
										
										
											2025-01-09 16:25:20 +00:00
										 |  |  | %doc Changes README.md ToDo
 | 
					
						
							| 
									
										
										
										
											2017-04-24 08:30:02 +00:00
										 |  |  | %license LICENSE
 | 
					
						
							| 
									
										
										
										
											2009-11-06 23:52:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |