forked from pool/perl-SQL-Statement
Accepting request 32011 from devel:languages:perl
Copy from devel:languages:perl/perl-SQL-Statement based on submit request 32011 from user coolo OBS-URL: https://build.opensuse.org/request/show/32011 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-SQL-Statement?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
da5facab4e
commit
3a6c05d432
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-SQL-Statement (Version 1.15)
|
||||
# spec file for package perl-SQL-Statement (Version 1.23)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -19,28 +19,37 @@
|
||||
|
||||
|
||||
Name: perl-SQL-Statement
|
||||
Summary: Perl Module SQL::Statement
|
||||
Version: 1.15
|
||||
Release: 115
|
||||
Summary: SQL parsing and processing engine
|
||||
Version: 1.23
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Group: Development/Libraries/Perl
|
||||
Source0: SQL-Statement-%{version}.tar.bz2
|
||||
Url: http://search.cpan.org/~jzucker/
|
||||
Source: http://www.cpan.org/authors/id/R/RE/REHSACK/SQL-Statement-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/SQL-Statement/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: p_sqlst
|
||||
Obsoletes: p_sqlst
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
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
|
||||
|
||||
%description
|
||||
SQL parsing and processing engine
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jochen Wiedmann <joe@ispsoft.de>
|
||||
Jeff Zucker <jeff@vpservices.com>
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q -n SQL-Statement-%{version}
|
||||
@@ -48,21 +57,21 @@ Authors:
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
chmod a-x Changes Todo
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/SQL
|
||||
%{perl_vendorarch}/auto/SQL
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %name.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README Todo
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user