File perl-DBD-SQLite.spec of Package perl-DBD-SQLite

#
# spec file for package perl-DBD-SQLite (Version 1.14)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-DBD-SQLite
BuildRequires:  perl-DBI sqlite-devel
Summary:        The DBD::SQLite is a self contained RDBMS in a DBI driver
Version:        1.14
Release:        11
License:        Artistic License; GPL v2 or later
Group:          Development/Libraries/Perl
Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz
Patch0:         makefile-forgiving.diff
Patch1:         dbimp-no_uninit.diff
Patch2:         sqlite3-finalize.diff
Url:            http://www.cpan.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       perl-DBI sqlite
Requires:       perl = %{perl_version}
AutoReqProv:    on
Provides:       perl_sqlite

%description
SQLite is a small fast embedded SQL database engine.

DBD::SQLite embeds that database engine into a DBD driver, so if you
want a relational database for your project, but don't want to install
a large RDBMS system like MySQL or PostgreSQL, then DBD::SQLite may be
just what you need.

It supports quite a lot of features, such as transactions (atomic
commit and rollback), indexes, DBA-free operation, a large subset of
SQL92 supported, and more.



Authors:
--------
    Matt Sergeant, <matt@sergeant.org>

%prep
%setup -q -n DBD-SQLite-%{version}
#%patch -p1
%patch1 -p1
%patch2

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make

%check
make test || true

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%doc README
%{perl_vendorarch}/auto/DBD
%{perl_vendorarch}/DBD
%{_mandir}/man3/*
/var/adm/perl-modules/*

%changelog
* Thu Feb 07 2008 schwab@suse.de
- Don't call sqlite3_finalize twice.
* Sun Jan 13 2008 coolo@suse.de
- update to 1.14
- disable test suite for now
* Fri Sep 08 2006 jw@suse.de
- painless update to 1.13
* Mon May 29 2006 jw@suse.de
- update to 1.12, to make it compile again.
  Using SQLite 3.3.5 and Perl 5.8.8
* Mon Mar 13 2006 jw@suse.de
- fixed bugzilla#156965, unintialized variable.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Dec 04 2005 jw@suse.de
- update to 1.11, feature++
* Fri Dec 02 2005 jw@suse.de
- update to 1.10
  be more forgiving to sqlite3.h, it is buggy again.
* Tue Oct 04 2005 dmueller@suse.de
- add norootforbuild
* Thu Jun 30 2005 schwab@suse.de
- Fix neededforbuild.
* Wed Jun 29 2005 jw@suse.de
- initial version 1.09
  Since 1.09 it can link against a system provided sqlite library,
  but uses its own copy due to a buggy sqlite3.h
openSUSE Build Service is sponsored by