From b9a1b2ff94861ca57d45c07445883951f38259c8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:30:09 +0000 Subject: automatic import of python-jupyter-spark --- .gitignore | 1 + python-jupyter-spark.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 python-jupyter-spark.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..84fd27c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/jupyter-spark-0.4.0.tar.gz diff --git a/python-jupyter-spark.spec b/python-jupyter-spark.spec new file mode 100644 index 0000000..7217193 --- /dev/null +++ b/python-jupyter-spark.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jupyter-spark +Version: 0.4.0 +Release: 1 +Summary: Jupyter Notebook extension for Apache Spark integration +License: MPL2 +URL: https://github.com/mozilla/jupyter-spark +Source0: https://mirrors.aliyun.com/pypi/web/packages/86/29/3bbb27d26815760b3329a2110517a8735ef5884ce30f3dee41ede65d2633/jupyter-spark-0.4.0.tar.gz +BuildArch: noarch + +Requires: python3-ipython +Requires: python3-jupyter +Requires: python3-notebook +Requires: python3-beautifulsoup4 +Requires: python3-widgetsnbextension + +%description +UNKNOWN + + + + +%package -n python3-jupyter-spark +Summary: Jupyter Notebook extension for Apache Spark integration +Provides: python-jupyter-spark +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-jupyter-spark +UNKNOWN + + + + +%package help +Summary: Development documents and examples for jupyter-spark +Provides: python3-jupyter-spark-doc +%description help +UNKNOWN + + + + +%prep +%autosetup -n jupyter-spark-0.4.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-jupyter-spark -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.4.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..204d138 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3da96aae3f147c1408192dc489d7679d jupyter-spark-0.4.0.tar.gz -- cgit v1.2.3