2007-01-16 00:30:21 +01:00
|
|
|
#
|
2010-06-02 16:50:02 +02:00
|
|
|
# spec file for package perl-DBI (Version 1.611)
|
2007-01-16 00:30:21 +01:00
|
|
|
#
|
2010-01-11 16:20:48 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-DBI
|
2010-06-02 16:50:02 +02:00
|
|
|
%define cpan_name DBI
|
|
|
|
Summary: Database independent interface for Perl
|
2010-07-19 15:31:50 +02:00
|
|
|
Version: 1.612
|
2010-06-02 16:50:02 +02:00
|
|
|
Release: 1
|
2010-01-11 16:20:48 +01:00
|
|
|
License: GPLv2+
|
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/
|
|
|
|
#Source: http://www.cpan.org/modules/by-module/DBI/DBI-1.611.tar.gz
|
2009-07-27 22:13:22 +02:00
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
2010-06-02 16:50:02 +02:00
|
|
|
Source1: %{name}.rpmlintrc
|
2007-01-16 00:30:21 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-27 22:13:22 +02:00
|
|
|
BuildRequires: perl
|
2010-06-02 16:50:02 +02:00
|
|
|
%if 0%{?suse_version} < 1120
|
2009-07-27 22:13:22 +02:00
|
|
|
BuildRequires: perl-macros
|
2010-06-02 16:50:02 +02:00
|
|
|
%endif
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.84
|
2009-07-27 22:13:22 +02:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
BuildRequires: perl(Storable) >= 1
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl(Storable) >= 1
|
|
|
|
Requires: perl(File::Spec)
|
|
|
|
Requires: perl(Scalar::Util)
|
|
|
|
Requires: perl-PlRPC
|
2010-06-02 16:50:02 +02:00
|
|
|
# dont think it is needed any more
|
|
|
|
#Obsoletes: perl_dbi
|
|
|
|
#Provides: perl_dbi DBI DBDI
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
%description
|
2010-06-02 16:50:02 +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.
|
|
|
|
|
|
|
|
|
2007-01-16 00:30:21 +01:00
|
|
|
|
2010-06-02 16:50:02 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Tim Bunce <Tim.Bunce@pobox.com>
|
|
|
|
<dbi-users@isc.org>
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2009-07-27 22:13:22 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-16 00:30:21 +01:00
|
|
|
|
|
|
|
%build
|
2010-06-02 16:50:02 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-12 11:45:02 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-06-14 15:48:59 +02:00
|
|
|
|
|
|
|
%check
|
2009-07-27 22:13:22 +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
|
|
|
|
|
|
|
%clean
|
2009-07-27 22:13:22 +02:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-16 00:30:21 +01:00
|
|
|
|
2009-07-27 22:13:22 +02:00
|
|
|
%files -f %{name}.files
|
2010-06-02 16:50:02 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes Driver.xst README TODO_2005.txt TODO_gofer.txt ex
|
2008-02-22 01:43:38 +01:00
|
|
|
|
2007-02-26 13:20:36 +01:00
|
|
|
%changelog
|