summaryrefslogtreecommitdiff
path: root/python-sqlitebiter.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-sqlitebiter.spec')
-rw-r--r--python-sqlitebiter.spec103
1 files changed, 103 insertions, 0 deletions
diff --git a/python-sqlitebiter.spec b/python-sqlitebiter.spec
new file mode 100644
index 0000000..d5416f7
--- /dev/null
+++ b/python-sqlitebiter.spec
@@ -0,0 +1,103 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sqlitebiter
+Version: 0.36.1
+Release: 1
+Summary: sqlitebiter is a CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
+License: MIT License
+URL: https://github.com/thombashi/sqlitebiter
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e6/55/021049079ed5e5860845e525f979f08475c7494d86a2bba1d31b77e01f82/sqlitebiter-0.36.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-appconfigpy
+Requires: python3-click
+Requires: python3-envinfopy
+Requires: python3-loguru
+Requires: python3-msgfy
+Requires: python3-nbformat
+Requires: python3-path
+Requires: python3-pathvalidate
+Requires: python3-pytablereader[excel,md,sqlite,url]
+Requires: python3-retryrequests
+Requires: python3-SimpleSQLite
+Requires: python3-tcolorpy
+Requires: python3-typepy
+Requires: python3-gspread
+Requires: python3-oauth2client
+Requires: python3-pyOpenSSL
+Requires: python3-pypandoc
+Requires: python3-ujson
+Requires: python3-pyinstaller
+Requires: python3-gspread
+Requires: python3-oauth2client
+Requires: python3-pyOpenSSL
+Requires: python3-pypandoc
+Requires: python3-pytest
+Requires: python3-nbformat
+Requires: python3-ujson
+Requires: python3-pytest-discord
+Requires: python3-XlsxWriter
+Requires: python3-pytest-md-report
+Requires: python3-sqliteschema[dumps]
+Requires: python3-responses
+
+%description
+`sqlitebiter <https://github.com/thombashi/sqlitebiter>`__ is a CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
+
+%package -n python3-sqlitebiter
+Summary: sqlitebiter is a CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
+Provides: python-sqlitebiter
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sqlitebiter
+`sqlitebiter <https://github.com/thombashi/sqlitebiter>`__ is a CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
+
+%package help
+Summary: Development documents and examples for sqlitebiter
+Provides: python3-sqlitebiter-doc
+%description help
+`sqlitebiter <https://github.com/thombashi/sqlitebiter>`__ is a CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
+
+%prep
+%autosetup -n sqlitebiter-0.36.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-sqlitebiter -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.36.1-1
+- Package Spec generated