summaryrefslogtreecommitdiff
path: root/python-pysparkaudit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pysparkaudit.spec')
-rw-r--r--python-pysparkaudit.spec185
1 files changed, 185 insertions, 0 deletions
diff --git a/python-pysparkaudit.spec b/python-pysparkaudit.spec
new file mode 100644
index 0000000..7d829d5
--- /dev/null
+++ b/python-pysparkaudit.spec
@@ -0,0 +1,185 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PySparkAudit
+Version: 1.0.0
+Release: 1
+Summary: PySpark Data Audit library
+License: MIT
+URL: https://github.com/runawayhorse001/PySparkAudit.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/38/e5a793cc77d834570365b49ccabc2fd3ca1806f2ec2b60c3d26c81f79c8a/PySparkAudit-1.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-seaborn
+Requires: python3-xlsxwriter
+
+%description
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%package -n python3-PySparkAudit
+Summary: PySpark Data Audit library
+Provides: python-PySparkAudit
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PySparkAudit
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%package help
+Summary: Development documents and examples for PySparkAudit
+Provides: python3-PySparkAudit-doc
+%description help
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%prep
+%autosetup -n PySparkAudit-1.0.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-PySparkAudit -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+- Package Spec generated