2007-01-16 00:30:21 +01:00
|
|
|
#
|
2011-11-17 16:25:34 +01:00
|
|
|
# spec file for package perl-DBI
|
2007-01-16 00:30:21 +01:00
|
|
|
#
|
2018-02-07 16:54:58 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:21 +01:00
|
|
|
#
|
2009-05-19 01:27:49 +02: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-16 00:30:21 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-DBI
|
2018-02-07 16:54:58 +01:00
|
|
|
Version: 1.640
|
2012-02-02 13:38:33 +01:00
|
|
|
Release: 0
|
2010-06-02 16:50:02 +02:00
|
|
|
%define cpan_name DBI
|
|
|
|
Summary: Database independent interface for Perl
|
2013-06-16 08:51:36 +02:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2009-07-27 22:13:22 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2010-06-02 16:50:02 +02:00
|
|
|
Url: http://search.cpan.org/dist/DBI/
|
2017-08-29 11:59:35 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMB/%{cpan_name}-%{version}.tar.gz
|
2015-04-18 07:45:42 +02:00
|
|
|
Source1: perl-DBI.rpmlintrc
|
|
|
|
Source2: cpanspec.yml
|
2013-06-16 08:51:36 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-27 22:13:22 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2018-01-05 11:06:17 +01:00
|
|
|
BuildRequires: perl(Storable) >= 2.16
|
2010-08-09 02:12:48 +02:00
|
|
|
BuildRequires: perl(Test::Simple) >= 0.90
|
2018-01-05 11:06:17 +01:00
|
|
|
Requires: perl(Storable) >= 2.16
|
2013-06-16 08:51:36 +02:00
|
|
|
%{perl_requires}
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
%description
|
2013-06-16 08:51:36 +02:00
|
|
|
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
|
2016-05-25 09:49:52 +02:00
|
|
|
at least the following perl manuals first: perlreftut, perldsc, perllol,
|
|
|
|
and perlboot.
|
2010-06-02 16:50:02 +02:00
|
|
|
|
2007-01-16 00:30:21 +01:00
|
|
|
%prep
|
2009-07-27 22:13:22 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2016-05-25 09:49:52 +02:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
%build
|
2013-06-16 08:51:36 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2007-06-14 15:48:59 +02:00
|
|
|
|
|
|
|
%check
|
2013-06-16 08:51:36 +02:00
|
|
|
%{__make} test
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-27 22:13:22 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:30:21 +01:00
|
|
|
|
2009-07-27 22:13:22 +02:00
|
|
|
%files -f %{name}.files
|
2013-06-16 08:51:36 +02:00
|
|
|
%defattr(-,root,root,755)
|
2017-08-29 11:59:35 +02:00
|
|
|
%doc Changes Driver.xst README.md
|
|
|
|
%license LICENSE
|
2008-02-22 01:43:38 +01:00
|
|
|
|
2007-02-26 13:20:36 +01:00
|
|
|
%changelog
|