summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:38:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:38:52 +0000
commit86d4f39cd2a63d408eb0c73b477a0bb8b1e0b7b3 (patch)
tree9e86949b93dfa78d6f32e9547f4c300ade9f107f
parent919d274968db41243147bb8625cd9c13a83dd3e5 (diff)
automatic import of python-xlsxreader
-rw-r--r--.gitignore1
-rw-r--r--python-xlsxreader.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..77b265e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xlsxreader-0.2.0.tar.gz
diff --git a/python-xlsxreader.spec b/python-xlsxreader.spec
new file mode 100644
index 0000000..95ebb7d
--- /dev/null
+++ b/python-xlsxreader.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-xlsxreader
+Version: 0.2.0
+Release: 1
+Summary: reads .xlsx files
+License: MIT License
+URL: https://github.infra.cloudera.com/michaelbrine/xlsx_to_delim
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/74/44/38d1b53ee7ab5b174a0c6461ae96260816ebee2ff89830b9a9bb0adffa0d/xlsxreader-0.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+PyPi module that reads .xlsx files
+returns a delimted python tempfile of worksheet in positon 1 in a given .xlsx workbook
+
+
+
+
+%package -n python3-xlsxreader
+Summary: reads .xlsx files
+Provides: python-xlsxreader
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-xlsxreader
+PyPi module that reads .xlsx files
+returns a delimted python tempfile of worksheet in positon 1 in a given .xlsx workbook
+
+
+
+
+%package help
+Summary: Development documents and examples for xlsxreader
+Provides: python3-xlsxreader-doc
+%description help
+PyPi module that reads .xlsx files
+returns a delimted python tempfile of worksheet in positon 1 in a given .xlsx workbook
+
+
+
+
+%prep
+%autosetup -n xlsxreader-0.2.0
+
+%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-xlsxreader -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e94c78d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+74d721e5c0f607aff7a82a9c3fcb8235 xlsxreader-0.2.0.tar.gz