8
0
OBS User unknown
2009-07-27 21:02:55 +00:00
committed by Git OBS Bridge
parent 7be295465f
commit ba98d34c07
4 changed files with 85 additions and 77 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-DBD-SQLite (Version 1.23)
# spec file for package perl-DBD-SQLite (Version 1.25)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,102 +19,66 @@
Name: perl-DBD-SQLite
BuildRequires: perl-DBI sqlite-devel
Summary: The DBD::SQLite is a self contained RDBMS in a DBI driver
Version: 1.23
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Self-contained RDBMS in a DBI Driver
Version: 1.25
Release: 1
License: Artistic License; GPL v2 or later
License: GPL/Artistic
Group: Development/Libraries/Perl
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-%{version}.tar.bz2
# Patch1: dbimp-no_uninit.diff
# Patch2: sqlite3-finalize.diff
Url: http://search.cpan.org/~msergeant/DBD-SQLite-1.14
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl-DBI sqlite
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More) >= 0.42
BuildRequires: perl(File::Spec)
# other not perl || perl-base
BuildRequires: perl-DBI >= 1.57
Requires: perl = %{perl_version}
AutoReqProv: on
Provides: perl_sqlite
Requires: perl(File::Spec)
# other not perl || perl-base
Requires: perl-DBI >= 1.57
%description
SQLite is a small fast embedded SQL database engine.
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.
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.
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.
Linking against sqlite3-devel
Author: Matt Sergeant, matt@sergeant.org
Perl extension functions contributed by
Francis J. Lacoste <flacoste@logreport.org>
Wolfgang Sourdeau <wolfgang@logreport.org>
Authors:
--------
Matt Sergeant, <matt@sergeant.org>
%prep
%setup -q -n DBD-SQLite-%{version}
# %patch1 -p1 # upstreamed.
# %patch2 # upstreamed.
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%check
make test
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.files
%defattr(-,root,root)
%doc README
%{perl_vendorarch}/auto/DBD
%{perl_vendorarch}/DBD
%{_mandir}/man3/*
/var/adm/perl-modules/*
%doc Changes README
%changelog
* Mon Apr 20 2009 jw@suse.de
- updated to stable release 1.23
* Wed Apr 15 2009 jw@suse.de
- updated to pristine 1.22_06
*All* patches are upstreamed now. Yeah!
Using SQLite 3.6.13 now.
* Thu Jan 15 2009 jw@suse.de
- bnc#466021 fixed.
* 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