|
@@ -5,18 +5,17 @@
|
|
|
|
|
|
%define with_check %{?_with_check:1}%{!?_with_check:0}
|
|
|
|
|
|
-%define year 2020
|
|
|
-%define realver 3320300
|
|
|
-%define docver 3320300
|
|
|
-%define rpmver 3.32.3
|
|
|
-
|
|
|
+%define year 2021
|
|
|
+%define realver 3340100
|
|
|
+%define docver 3340100
|
|
|
+%define rpmver 3.34.1
|
|
|
|
|
|
Summary: SQLite is a C library that implements an embeddable SQL database engine
|
|
|
Summary(ja): SQLite は組み込み型SQLデータベースエンジンを実装するCライブラリです。
|
|
|
Name: %{packagename}
|
|
|
Version: %{rpmver}
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
@@ -26,7 +25,7 @@ Source0: https://www.sqlite.org/%{year}/%{archivename}-src-%{realver}.zip
|
|
|
Source1: https://www.sqlite.org/%{year}/%{archivename}-doc-%{docver}.zip
|
|
|
|
|
|
# Support a system-wide lemon template
|
|
|
-Patch1: sqlite-3.6.23-lemon-system-template.patch
|
|
|
+Patch1: sqlite-3.34.1-lemon-system-template.patch
|
|
|
# sqlite >= 3.7.10 is buggy if malloc_usable_size() is detected, disable it:
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=801981
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665363
|
|
@@ -41,7 +40,6 @@ Patch8: sqlite-3.18.0-sync2-dirsync.patch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: tcl-devel, libedit-devel, ncurses-devel, zlib-devel
|
|
|
|
|
|
-
|
|
|
%description
|
|
|
SQLite is a C library that implements an embeddable SQL database engine.
|
|
|
Programs that link with the SQLite library can have SQL database access
|
|
@@ -59,7 +57,7 @@ SQLiteライブラリにリンクされたプログラムではSQLデータベ
|
|
|
%package -n %{name}-devel
|
|
|
Summary: Header files and libraries for developing apps which will use sqlite3
|
|
|
Summary(ja): sqlite3 の開発用ヘッダファイル及びライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n %{name}-devel
|
|
@@ -70,10 +68,11 @@ to develop programs that use the SQLite database library.
|
|
|
sqlite3-develはSQLiteデータベースライブラリを用いるプログラムの開発に
|
|
|
必要なヘッダファイル及びライブラリを含むパッケージです。
|
|
|
|
|
|
+
|
|
|
%package -n lemon
|
|
|
Summary: A parser generator
|
|
|
Summary(ja): パーザジェネレータ
|
|
|
-Group: Development/Tools
|
|
|
+Group: programming
|
|
|
|
|
|
%description -n lemon
|
|
|
Lemon is an LALR(1) parser generator for C or C++. It does the same
|
|
@@ -99,7 +98,7 @@ Lemon は C や C++ 用の LALR(1) パーザジェネレータです。bison や
|
|
|
%package -n %{name}-tcl
|
|
|
Summary: Tcl client library for SQLite
|
|
|
Summary(ja): SQLiteのTclクライアントライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n %{name}-tcl
|
|
@@ -114,7 +113,7 @@ sqlite3-tclはTclからSQLiteデータベースライブラリを扱うために
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: SQLite is a C library that implements an embeddable SQL database engine
|
|
|
Summary(ja): SQLite は組み込み型SQLデータベースエンジンを実装するCライブラリです。
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
@@ -134,7 +133,7 @@ SQLiteライブラリにリンクされたプログラムではSQLデータベ
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Header files and libraries for developing apps which will use sqlite3
|
|
|
Summary(ja): sqlite3の開発用ヘッダファイル及びライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
@@ -170,6 +169,7 @@ export CFLAGS="$RPM_OPT_FLAGS
|
|
|
-DSQLITE_DISABLE_DIRSYNC=1
|
|
|
-DSQLITE_ENABLE_FTS3=1
|
|
|
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1
|
|
|
+ -DSQLITE_ENABLE_FTS4=1
|
|
|
-DSQLITE_ENABLE_JSON1=1
|
|
|
-DSQLITE_ENABLE_RTREE=1
|
|
|
-DSQLITE_SECURE_DELETE=1
|
|
@@ -178,6 +178,7 @@ export CFLAGS="$RPM_OPT_FLAGS
|
|
|
-Wall -fno-strict-aliasing"
|
|
|
%configure --enable-load-extension \
|
|
|
--enable-threadsafe \
|
|
|
+ --enable-fts4 \
|
|
|
--enable-fts5 \
|
|
|
--enable-threads-override-locks
|
|
|
|
|
@@ -213,7 +214,6 @@ install -D -m0644 tool/lempar.c $RPM_BUILD_ROOT/%{_datadir}/lemon/lempar.c
|
|
|
%{_libdir}/*.so.*
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
-
|
|
|
%files -n %{name}-devel
|
|
|
%defattr(-, root, root)
|
|
|
%{_libdir}/*.so
|
|
@@ -221,18 +221,15 @@ install -D -m0644 tool/lempar.c $RPM_BUILD_ROOT/%{_datadir}/lemon/lempar.c
|
|
|
%{_includedir}/*
|
|
|
%doc doc/*
|
|
|
|
|
|
-
|
|
|
%files -n lemon
|
|
|
%defattr(-, root, root)
|
|
|
%{_bindir}/lemon
|
|
|
%{_datadir}/lemon
|
|
|
|
|
|
-
|
|
|
%files -n %{name}-tcl
|
|
|
%defattr(-, root, root)
|
|
|
%{_datadir}/tcl%{tclver}/%{packagename}/*
|
|
|
|
|
|
-
|
|
|
%if %{build_compat32}
|
|
|
%files -n compat32-%{name}
|
|
|
%defattr(-, root, root)
|
|
@@ -245,6 +242,11 @@ install -D -m0644 tool/lempar.c $RPM_BUILD_ROOT/%{_datadir}/lemon/lempar.c
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Feb 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.34.1-1
|
|
|
+- new upstream release.
|
|
|
+- updated Patch1.
|
|
|
+- enabled fts4.
|
|
|
+
|
|
|
* Thu Jul 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.32.3-1
|
|
|
- new upstream release.
|
|
|
- dropped Patch1000: fixed in upstream.
|