Bump to python3-sqlite 0.4.7 62/278262/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix backup/python3-sqlite-0.4.7-20230215 sandbox/dh0128.kwak/python3-sqlite-0.4.7-20220718 tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.061932 accepted/tizen/7.0/unified/hotfix/20221116.111402 accepted/tizen/unified/20220720.064020 submit/tizen/20220719.052113 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 07:36:52 +0000 (16:36 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 07:37:10 +0000 (16:37 +0900)
Change-Id: Ifced6ed0b8b60e0325149bcc3a50cd7d00174a09

packaging/python3-sqlite.manifest [new file with mode: 0644]
packaging/python3-sqlite.spec [new file with mode: 0644]

diff --git a/packaging/python3-sqlite.manifest b/packaging/python3-sqlite.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-sqlite.spec b/packaging/python3-sqlite.spec
new file mode 100644 (file)
index 0000000..0b114ce
--- /dev/null
@@ -0,0 +1,38 @@
+Name:           python3-sqlite
+Version:        0.4.2
+Release:        0
+Summary:        DB-API 2.0 interface for SQLite 3.x
+License:        Zlib
+Group:          Platform Development/Python
+Url:            http://pysqlite.googlecode.com/
+Source:         %{name}-%{version}.tar.gz
+Source1001:    python3-sqlite.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  sqlite3-devel
+BuildRequires:  python3-setuptools
+
+Requires:       sqlite3
+
+%description
+Python3 interface to SQLite 3
+pysqlite is an interface to the SQLite 3.x embedded relational database engine.
+It is almost fully compliant with the Python3 database API version 2.0 also
+exposes the unique features of SQLite.
+
+%prep
+%setup -q -n pysqlite3-%{version}
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS="%{optflags}"
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -rf %{buildroot}%{_prefix}/pysqlite3-doc # Remove wrongly installed junk
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitearch}/*