2007-01-15 23:31:46 +00:00
|
|
|
#
|
2010-02-10 23:53:09 +00:00
|
|
|
# spec file for package perl-SQL-Statement (Version 1.23)
|
2007-01-15 23:31:46 +00:00
|
|
|
#
|
2010-01-11 15:53:48 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:46 +00:00
|
|
|
#
|
2009-06-17 22:15:59 +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.
|
|
|
|
|
|
2007-01-15 23:31:46 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-06-17 22:15:59 +00:00
|
|
|
|
2007-01-15 23:31:46 +00:00
|
|
|
Name: perl-SQL-Statement
|
2010-02-10 23:53:09 +00:00
|
|
|
Summary: SQL parsing and processing engine
|
|
|
|
|
Version: 1.23
|
|
|
|
|
Release: 1
|
2010-01-11 15:53:48 +00:00
|
|
|
License: GPLv2+
|
2007-01-15 23:31:46 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-02-10 23:53:09 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/R/RE/REHSACK/SQL-Statement-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/SQL-Statement/
|
2007-01-15 23:31:46 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
Provides: p_sqlst
|
|
|
|
|
Obsoletes: p_sqlst
|
|
|
|
|
Requires: perl = %{perl_version}
|
2010-02-10 23:53:09 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Clone) >= 0.30
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(DBD::File) >= 0.37
|
|
|
|
|
BuildRequires: perl(Params::Util) >= 1.00
|
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.0
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(Clone) >= 0.30
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(DBD::File) >= 0.37
|
|
|
|
|
Requires: perl(Params::Util) >= 1.00
|
|
|
|
|
Requires: perl(Scalar::Util) >= 1.0
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
|
%description
|
2010-02-10 23:53:09 +00:00
|
|
|
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, complexly nested search conditions,
|
|
|
|
|
and other features.
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n SQL-Statement-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
2010-01-11 15:53:48 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-02-10 23:53:09 +00:00
|
|
|
chmod a-x Changes Todo
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
|
%install
|
2010-02-10 23:53:09 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:31:46 +00:00
|
|
|
%perl_process_packlist
|
2010-02-10 23:53:09 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2010-02-10 23:53:09 +00:00
|
|
|
%files -f %name.files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README Todo
|
2007-01-15 23:31:46 +00:00
|
|
|
|
2009-06-17 22:15:59 +00:00
|
|
|
%changelog
|