8
0
Files
perl-DBD-SQLite/perl-DBD-SQLite.spec
Dirk Stoecker 3958e6af5a Accepting request 141389 from home:vitezslav_cizek:branches:devel:languages:perl
- update to 1.37
    - Updated to SQLite 3.7.12.1 (ISHIGAKI)
    - Tweaked Makefile.PL to behave better during the Bsymbolic
      check (HMBRAND)
    - Added SQLITE_WITHOUT_ZONEMALLOC for older MacOS X (ISHIGAKI)
    - Fix >32bit integer truncation and other sqlite_set_result
      condition issue (Yuriy Kaminskiy)
    - Fix integer overflow in passing argument to perl function
    - Convert unsigned -> int64 when possible (Yuriy Kaminskiy)
    - Turned datatype mismatch error (introduced in 1.34_02) into
      a warning (you can disable this warning by setting PrintWarn
      attribute to false). (ISHIGAKI)
    - Refactored sqlite_is_number to fix various corner cases
    - Downgraded SQLite to 3.7.9, as 3.7.10 turned out to be
      broken on the latest MacOS X (due to a missing symbol),
      and broke other modules that typically use temporary tables
      under a few environments too. As of this writing, would-be
      3.7.11 seems fine, but it would take another month to be
      released. (ISHIGAKI)
    *** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***
      Note that this release changed the default schema format
      number, that means newly created database files will be
      unreadable by SQLite version prior to 3.3.0 (2006-01-10)
      (or DBD::SQLite prior to 1.12) unless you explicitly issue
      "PRAGMA legacy_file_format=ON".
    - Enabled SQLITE_ENABLE_FTS4
    - Enabled SQLITE_ENABLE_STAT3
    - Resolved #73159: FTS tokenizer segfault (ISHIGAKI)
    - Resolved #73787: sqlite_see_if_its_a_number causes a buffer
      overflow (ISHIGAKI)

OBS-URL: https://build.opensuse.org/request/show/141389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-SQLite?expand=0&rev=34
2012-11-16 08:01:33 +00:00

96 lines
3.0 KiB
RPMSpec

#
# spec file for package perl-DBD-SQLite
#
# Copyright (c) 2012 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/
#
Name: perl-DBD-SQLite
%define cpan_name DBD-SQLite
Summary: Self-contained RDBMS in a DBI Driver
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Version: 1.37
Release: 0
Url: http://search.cpan.org/dist/DBD-SQLite/
#Source: http://www.cpan.org/modules/by-module/DBD/DBD-SQLite-%{version}.tar.bz2
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DBI) >= 1.57
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Tie::Hash)
Requires: perl(DBI) >= 1.57
Requires: perl(Tie::Hash)
%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.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Perl
%{perl_requires}
%description devel
This package contains sqlite3.c / sqlite3.h files for development.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%dir %{perl_vendorarch}/DBD
%{perl_vendorarch}/DBD/SQLite.pm
%dir %{perl_vendorarch}/DBD/SQLite
%doc %{perl_vendorarch}/DBD/SQLite/Cookbook.pod
%dir %{perl_vendorarch}/auto/DBD
%{perl_vendorarch}/auto/DBD/SQLite
%doc %{perl_man3dir}/DBD::SQLite.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/DBD::SQLite::*.%{perl_man3ext}%{ext_man}
%files devel
%defattr(-,root,root)
%dir %{perl_vendorarch}/auto/share
%dir %{perl_vendorarch}/auto/share/dist
%{perl_vendorarch}/auto/share/dist/DBD-SQLite
%changelog