ALT Linux repositórios
Group :: Desenvolvimento/Perl
RPM: perl-DBD-SQLite
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: perl-DBD-SQLite-1.14-alt1.patch
Download
Download
.gear-rules | 2 +
.../2be6db106a1f9bc49db32b14f820a8a468027349 | 13 +++
.../d1fc605e0db67bc5d10e69ee3079d3a8129bb780 | 13 +++
.gear-tags/list | 2 +
MANIFEST | 70 -----------------
Makefile.PL | 3 +
dbdimp.h | 2 +-
perl-DBD-SQLite.spec | 81 ++++++++++++++++++++
8 files changed, 115 insertions(+), 71 deletions(-)
diff --git a/.gear-rules b/.gear-rules
new file mode 100644
index 0000000..3879f01
--- /dev/null
+++ b/.gear-rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=DBD-SQLite-@version@-no-sqlite-src base=DBD-SQLite-@version@
+diff: @version@:. . name=perl-DBD-SQLite-@version@-@release@.patch
diff --git a/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349 b/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349
new file mode 100644
index 0000000..a33d7a3
--- /dev/null
+++ b/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349
@@ -0,0 +1,13 @@
+object 9855ef953b55e1174e9011891655b9bfb21ba42c
+type commit
+tag 1.13
+tagger Alexey Tourbin <at@altlinux.ru> 1161466613 +0400
+
+1.13
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQBFOpL3fBKgtDjnu0YRAiKpAJ94hjNy5CLnDAQl/ukwJg/A/dZHkgCeJDbb
+6LnD2Yo0sqES7aBvxP6piaU=
+=Saly
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780 b/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780
new file mode 100644
index 0000000..4f01641
--- /dev/null
+++ b/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780
@@ -0,0 +1,13 @@
+object 988700f2b4503f3b14dd533da8a9dea43811d326
+type commit
+tag 1.14
+tagger Alexey Tourbin <at@altlinux.ru> 1192547283 +0400
+
+1.14
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQBHFNPTfBKgtDjnu0YRAtybAKCXBi4h3T/s1UY8sqG4Mx5w8TrAjwCfZH1N
+8nInCSUJllVjQxpM7eevRis=
+=dOh8
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/list b/.gear-tags/list
new file mode 100644
index 0000000..7414e2f
--- /dev/null
+++ b/.gear-tags/list
@@ -0,0 +1,2 @@
+2be6db106a1f9bc49db32b14f820a8a468027349 1.13
+d1fc605e0db67bc5d10e69ee3079d3a8129bb780 1.14
diff --git a/MANIFEST b/MANIFEST
index 53e1a9c..c11e56d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,68 +1,15 @@
-alter.c
-analyze.c
-attach.c
-auth.c
-btree.c
-btree.h
-btreeInt.h
-build.c
-callback.c
Changes
-complete.c
-date.c
dbdimp.c
dbdimp.h
-delete.c
-expr.c
-func.c
-fts2.c
-fts2.h
-fts2_hash.c
-fts2_hash.h
-fts2_icu.c
-fts2_porter.c
-fts2_tokenizer.c
-fts2_tokenizer.h
-fts2_tokenizer1.c
getsqlite.pl
-hash.c
-hash.h
-insert.c
-keywordhash.h
-legacy.c
lib/DBD/SQLite.pm
-loadext.c
-main.c
Makefile.PL
-malloc.c
MANIFEST
MANIFEST.SKIP
META.yml Module meta-data (added by MakeMaker)
-opcodes.c
-opcodes.h
-os.c
-os.h
-os_common.h
-os_os2.c
-os_os2.h
-os_unix.c
-os_win.c
-pager.c
-pager.h
-parse.c
-parse.h
ppport.h
-pragma.c
-prepare.c
-printf.c
-random.c
README
-select.c
SQLite.xs
-sqlite3.h
-sqlite3ext.h
-sqliteInt.h
-sqliteLimit.h
SQLiteXS.h
t/00basic.t
t/01logon.t
@@ -95,20 +42,3 @@ t/ak-dbd.t
t/dbdadmin.t
t/lib.pl
t/SQLite.dbtest
-table.c
-tokenize.c
-trigger.c
-update.c
-utf.c
-util.c
-vacuum.c
-vdbe.c
-vdbe.h
-vdbeapi.c
-vdbeaux.c
-vdbeblob.c
-vdbefifo.c
-vdbeInt.h
-vdbemem.c
-vtab.c
-where.c
diff --git a/Makefile.PL b/Makefile.PL
index d5c210e..6caa453 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -10,6 +10,8 @@ if ($@) {
}
use Config;
use strict;
+
+=pod
eval {
require DBD::SQLite;
if ($DBD::SQLite::VERSION < 1.0) {
@@ -38,6 +40,7 @@ EOT
}
}
};
+=cut # (ALT) don't look for existing installations
# 2005/6/19, by rjray@blackperl.com
#
diff --git a/dbdimp.h b/dbdimp.h
index 34701f7..e659c15 100644
--- a/dbdimp.h
+++ b/dbdimp.h
@@ -4,7 +4,7 @@
#define _DBDIMP_H 1
#include "SQLiteXS.h"
-#include "sqliteInt.h"
+#include <sqlite3.h>
/* 30 second timeout by default */
#define SQL_TIMEOUT 30000
diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec
new file mode 100644
index 0000000..597f344
--- /dev/null
+++ b/perl-DBD-SQLite.spec
@@ -0,0 +1,81 @@
+%define dist DBD-SQLite
+Name: perl-%dist
+Version: 1.14
+Release: alt1
+
+Summary: SQLite driver for DBI interface in Perl
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version-no-sqlite-src.tar
+Patch: %name-%version-%release.patch
+
+# last_insert_id will only work on DBI 1.43
+Requires: perl-DBI >= 1.43
+BuildPreReq: perl-DBI-devel >= 1.43
+
+# for CCFLAGS=-fvisibility=hidden
+BuildPreReq: perl-devel >= 1:5.8.8-alt5
+
+# Automatically added by buildreq on Tue Oct 16 2007
+BuildRequires: libsqlite3-devel perl-DBI-devel perl-devel
+
+%description
+DBD::SQLite is a DBI driver for SQLite database.
+SQLite is a small C library that implements a self-contained,
+embeddable, zero-configuration SQL database engine.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build LIBS=-lsqlite3 CCFLAGS=-fvisibility=hidden
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README
+%dir %perl_vendor_archlib/DBD
+ %perl_vendor_archlib/DBD/SQLite.pm
+%dir %perl_vendor_autolib/DBD
+%dir %perl_vendor_autolib/DBD/SQLite
+ %perl_vendor_autolib/DBD/SQLite/SQLite.so
+
+%changelog
+* Tue Oct 16 2007 Alexey Tourbin <at@altlinux.ru> 1.14-alt1
+- 1.13 -> 1.14
+
+* Mon Aug 06 2007 Alexey Tourbin <at@altlinux.ru> 1.13-alt3
+- applied debian fix for "Unknown named parameter" (deb #422209)
+
+* Sun Oct 22 2006 Alexey Tourbin <at@altlinux.ru> 1.13-alt2
+- imported sources into git and built with gear
+- backported fix for pragmas on empty db causing "Not an error" errors
+- there's still a problem with Class::DBI, but I think I should also
+ fix Class::DBI for this time
+
+* Sat Sep 09 2006 Alexey Tourbin <at@altlinux.ru> 1.13-alt1
+- 1.12 -> 1.13
+
+* Mon Apr 17 2006 Alexey Tourbin <at@altlinux.ru> 1.12-alt1
+- 1.09 -> 1.12
+
+* Fri Jun 24 2005 Alexey Tourbin <at@altlinux.ru> 1.09-alt1
+- 1.08 -> 1.09
+
+* Fri Mar 04 2005 Alexey Tourbin <at@altlinux.ru> 1.08-alt1
+- 1.07 -> 1.08
+
+* Sun Dec 19 2004 Alexey Tourbin <at@altlinux.ru> 1.07-alt1
+- 1.05 -> 1.07
+- manual pages not packaged (use perldoc)
+
+* Thu Sep 16 2004 Alexey Tourbin <at@altlinux.ru> 1.05-alt1
+- 1.03 -> 1.05
+
+* Fri Aug 13 2004 Alexey Tourbin <at@altlinux.ru> 1.03-alt1
+- initial revision
+- remove sqlite3 sources and use system-wide libsqlite3