8
0
Files
perl-DBD-SQLite/perl-DBD-SQLite.spec

115 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-DBD-SQLite (Version 1.14)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# 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: 71
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
Patch1: dbimp-no_uninit.diff
Patch2: sqlite3-finalize.diff
Url: http://search.cpan.org/~msergeant/DBD-SQLite-1.14
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.
Linking against sqlite3-devel
Authors:
--------
Matt Sergeant, <matt@sergeant.org>
%prep
%setup -q -n DBD-SQLite-%{version}
%patch1 -p1
%patch2
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
make
%check
make test
%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
* Wed Jan 14 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