da85605f52
Fixed missing fields on partial insert via DBI::DBD::SqlEngine engines (DBD::CSV, DBD::DBM etc.) [H.Merijn Brand, Jens Rehsack] Fixed stack corruption on callbacks RT#85562 RT#84974 [Aaron Schweiger] Fixed DBI::SQL::Nano_::Statement handling of "0" [Jens Rehsack] Fixed exit op precedence in test RT#87029 [Reni Urban] Added support for finding tables in multiple directories via new DBD::File f_dir_search attribute [H.Merijn Brand] Enable compiling by C++ RT#84285 [Kurt Jaeger] Typo fixes in pod and comment [David Steinbrunner] Change DBI's docs to refer to git not svn [H.Merijn Brand] Clarify bind_col TYPE attribute is sticky [Martin J. Evans] Fixed reference to $sth in selectall_arrayref docs RT#84873 Spelling fixes [Ville Skytt344] Changed $VERSIONs to hardcoded strings [H.Merijn Brand] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=40
131 lines
4.7 KiB
RPMSpec
131 lines
4.7 KiB
RPMSpec
#
|
|
# spec file for package perl-DBI
|
|
#
|
|
# Copyright (c) 2013 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-DBI
|
|
Version: 1.628
|
|
Release: 0
|
|
%define cpan_name DBI
|
|
Summary: Database independent interface for Perl
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/DBI/
|
|
Source: http://www.cpan.org/authors/id/T/TI/TIMB/%{cpan_name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::Simple) >= 0.90
|
|
#BuildRequires: perl(AnyEvent)
|
|
#BuildRequires: perl(Apache)
|
|
#BuildRequires: perl(Apache2::ServerUtil)
|
|
#BuildRequires: perl(Cache::Memory)
|
|
#BuildRequires: perl(Clone)
|
|
#BuildRequires: perl(Coro)
|
|
#BuildRequires: perl(Coro::Handle)
|
|
#BuildRequires: perl(Coro::Select)
|
|
#BuildRequires: perl(Data::Peek)
|
|
#BuildRequires: perl(DBD::DBM)
|
|
#BuildRequires: perl(DBD::File)
|
|
#BuildRequires: perl(DBD::Gofer::Policy::Base)
|
|
#BuildRequires: perl(DBD::Gofer::Transport::Base)
|
|
#BuildRequires: perl(DBD::Gofer::Transport::pipeone)
|
|
#BuildRequires: perl(DBD::Gofer::Transport::stream)
|
|
#BuildRequires: perl(DBD::Proxy)
|
|
#BuildRequires: perl(DBI)
|
|
#BuildRequires: perl(DBI::Const::GetInfo::ANSI)
|
|
#BuildRequires: perl(DBI::Const::GetInfo::ODBC)
|
|
#BuildRequires: perl(DBI::Const::GetInfoType)
|
|
#BuildRequires: perl(DBI::db)
|
|
#BuildRequires: perl(DBI::DBD)
|
|
#BuildRequires: perl(DBI::DBD::SqlEngine)
|
|
#BuildRequires: perl(DBI::Gofer::Execute)
|
|
#BuildRequires: perl(DBI::Gofer::Request)
|
|
#BuildRequires: perl(DBI::Gofer::Response)
|
|
#BuildRequires: perl(DBI::Gofer::Serializer::Base)
|
|
#BuildRequires: perl(DBI::Gofer::Serializer::DataDumper)
|
|
#BuildRequires: perl(DBI::Gofer::Serializer::Storable)
|
|
#BuildRequires: perl(DBI::Gofer::Transport::Base)
|
|
#BuildRequires: perl(DBI::Gofer::Transport::pipeone)
|
|
#BuildRequires: perl(DBI::Profile)
|
|
#BuildRequires: perl(DBI::ProfileDumper)
|
|
#BuildRequires: perl(DBI::ProfileSubs)
|
|
#BuildRequires: perl(DBI::ProxyServer)
|
|
#BuildRequires: perl(DBI::PurePerl)
|
|
#BuildRequires: perl(DBI::SQL::Nano)
|
|
#BuildRequires: perl(DBI::st)
|
|
#BuildRequires: perl(DBI::Util::_accessor)
|
|
#BuildRequires: perl(DBI::Util::CacheMemory)
|
|
#BuildRequires: perl(DBIx::ContextualFetch)
|
|
#BuildRequires: perl(Devel::Leak)
|
|
#BuildRequires: perl(JSON::XS)
|
|
#BuildRequires: perl(List::MoreUtils)
|
|
#BuildRequires: perl(MLDBM::Serializer::JSON)
|
|
#BuildRequires: perl(MLDBM::Serializer::YAML)
|
|
#BuildRequires: perl(My::DBI)
|
|
#BuildRequires: perl(Net::Daemon::Test)
|
|
#BuildRequires: perl(Params::Util)
|
|
#BuildRequires: perl(RPC::PlClient) >= 0.2000
|
|
#BuildRequires: perl(RPC::PlServer) >= 0.2001
|
|
#BuildRequires: perl(SQL::Statement)
|
|
#BuildRequires: perl(Win32API::File)
|
|
#BuildRequires: perl(Win32::ODBC)
|
|
Recommends: perl(Clone) >= 0.34
|
|
Recommends: perl(MLDBM)
|
|
Recommends: perl(Net::Daemon)
|
|
Recommends: perl(RPC::PlServer) >= 0.2001
|
|
Recommends: perl(SQL::Statement) >= 1.402
|
|
%{perl_requires}
|
|
|
|
%description
|
|
The DBI is a database access module for the Perl programming language. It
|
|
defines a set of methods, variables, and conventions that provide a
|
|
consistent database interface, independent of the actual database being
|
|
used.
|
|
|
|
It is important to remember that the DBI is just an interface. The DBI is a
|
|
layer of "glue" between an application and one or more database _driver_
|
|
modules. It is the driver modules which do most of the real work. The DBI
|
|
provides a standard interface and framework for the drivers to operate
|
|
within.
|
|
|
|
This document often uses terms like _references_, _objects_, _methods_. If
|
|
you're not familiar with those terms then it would be a good idea to read
|
|
at least the following perl manuals first: the perlreftut manpage, the
|
|
perldsc manpage, the perllol manpage, and the perlboot manpage.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%{__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 Driver.xst README.md
|
|
|
|
%changelog
|