source: spec/trunk/SPECS/perl-SQL-Interp.spec@ 1566

Last change on this file since 1566 was 1410, checked in by tellie, 7 years ago

spec: perl-SQL-Interp: Release version 1.24-1.

File size: 2.0 KB
Line 
1Name: perl-SQL-Interp
2Version: 1.24
3Release: 1%{?dist}
4Summary: Interpolate Perl variables into SQL statements
5License: GPL+ or Artistic
6URL: http://search.cpan.org/dist/SQL-Interp/
7Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/SQL-Interp-%{version}.tar.gz
8BuildArch: noarch
9#BuildRequires: perl-interpreter
10BuildRequires: perl-generators
11BuildRequires: perl(Module::Build)
12# Run-time
13BuildRequires: perl(base)
14BuildRequires: perl(Carp)
15BuildRequires: perl(DBI) >= 1
16# perl(Filter::Simple)
17BuildRequires: perl(overload)
18BuildRequires: perl(Scalar::Util)
19BuildRequires: perl(strict)
20BuildRequires: perl(Sub::Exporter)
21BuildRequires: perl(warnings)
22# perl(Text::Balanced) >= 1.87
23# Tests
24#BuildRequires: perl(Data::Dumper)
25#BuildRequires: perl(lib)
26#BuildRequires: perl(Test::More)
27# Optional tests
28#BuildRequires: perl(Test::Pod) >= 1.00
29#Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
30#Requires: perl(DBI) >= 1
31#Requires: perl(Filter::Simple)
32#Requires: perl(Text::Balanced) >= 1.87
33
34%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(DBI\\)\s*$
35%global __requires_exclude %{__requires_exclude}|^perl\\(DBI::db)\s*$
36
37%description
38SQL::Interp converts a list of intermixed SQL fragments and variable
39references into a conventional SQL string and list of bind values suitable
40for passing onto DBI. This simple technique creates database calls that are
41simpler to create and easier to read, while still giving you full access to
42custom SQL.
43
44%prep
45%setup -q -n SQL-Interp-%{version}
46
47%build
48perl Build.PL installdirs=vendor
49./Build
50
51%install
52./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
53%{_fixperms} $RPM_BUILD_ROOT/*
54
55%check
56#./Build test
57
58%files
59%doc Changes ex README
60%{perl_vendorlib}/*
61%{_mandir}/man3/*
62
63%changelog
64
65* Thu May 17 2018 Elbert Pol <elbert.pol@gmail.com> - 1.24-1
66- initial rpm for OS2
Note: See TracBrowser for help on using the repository browser.