forked from pool/perl-SQL-Statement
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
99 lines
3.6 KiB
RPMSpec
99 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package perl-SQL-Statement
|
|
#
|
|
# 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-SQL-Statement
|
|
Version: 1.405
|
|
Release: 0
|
|
%define cpan_name SQL-Statement
|
|
Summary: SQL parsing and processing engine
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/SQL-Statement/
|
|
Source: http://www.cpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Clone) >= 0.30
|
|
BuildRequires: perl(Math::BigInt) >= 1.88
|
|
BuildRequires: perl(Math::Complex) >= 1.56
|
|
BuildRequires: perl(Params::Util) >= 1.00
|
|
BuildRequires: perl(Test::Simple) >= 0.90
|
|
#BuildRequires: perl(SQL::Dialects::Role)
|
|
#BuildRequires: perl(SQL::Eval)
|
|
#BuildRequires: perl(SQL::Parser)
|
|
#BuildRequires: perl(SQL::Statement)
|
|
#BuildRequires: perl(SQL::Statement::Function)
|
|
#BuildRequires: perl(SQL::Statement::Functions)
|
|
#BuildRequires: perl(SQL::Statement::Operation)
|
|
#BuildRequires: perl(SQL::Statement::Placeholder)
|
|
#BuildRequires: perl(SQL::Statement::RAM)
|
|
#BuildRequires: perl(SQL::Statement::Term)
|
|
#BuildRequires: perl(SQL::Statement::TermFactory)
|
|
#BuildRequires: perl(SQL::Statement::Util)
|
|
#BuildRequires: perl(SQLtest)
|
|
#BuildRequires: perl(SQL::UserDefs)
|
|
#BuildRequires: perl(TestLib)
|
|
Requires: perl(Clone) >= 0.30
|
|
Requires: perl(Params::Util) >= 1.00
|
|
Recommends: perl(Math::BigInt) >= 1.88
|
|
Recommends: perl(Math::Complex) >= 1.56
|
|
Recommends: perl(Text::Soundex) >= 3.03_01
|
|
%{perl_requires}
|
|
|
|
%description
|
|
The SQL::Statement module implements a pure Perl SQL parsing and execution
|
|
engine. While it by no means implements full ANSI standard, it does support
|
|
many features including column and table aliases, built-in and user-defined
|
|
functions, implicit and explicit joins, complex nested search conditions,
|
|
and other features.
|
|
|
|
SQL::Statement is a small embeddable Database Management System (DBMS).
|
|
This means that it provides all of the services of a simple DBMS except
|
|
that instead of a persistent storage mechanism, it has two things: 1) an
|
|
in-memory storage mechanism that allows you to prepare, execute, and fetch
|
|
from SQL statements using temporary tables and 2) a set of software sockets
|
|
where any author can plug in any storage mechanism.
|
|
|
|
There are three main uses for SQL::Statement. One or another (hopefully not
|
|
all) may be irrelevant for your needs: 1) to access and manipulate data in
|
|
CSV, XML, and other formats 2) to build your own DBD for a new data source
|
|
3) to parse and examine the structure of SQL statements.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
|
|
%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 README.md
|
|
|
|
%changelog
|