summaryrefslogtreecommitdiff
path: root/python-aiscalator.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 05:40:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 05:40:40 +0000
commit14b155857e0c7bce9f57ed2adbcbc967f4178f8e (patch)
treee208e6d9156a99c1315796d91bea860519ed4a4a /python-aiscalator.spec
parent6182bf7b8001b2422e8358807c5aec71b8f7df44 (diff)
automatic import of python-aiscalator
Diffstat (limited to 'python-aiscalator.spec')
-rw-r--r--python-aiscalator.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/python-aiscalator.spec b/python-aiscalator.spec
new file mode 100644
index 0000000..e82b168
--- /dev/null
+++ b/python-aiscalator.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aiscalator
+Version: 0.1.18
+Release: 1
+Summary: AIscalate your Jupyter Notebook Prototypes into Airflow Data Products
+License: Apache Software License 2.0
+URL: https://github.com/Aiscalate/aiscalator
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5d/5f/3c04dd936ee45debf278dd4ff75fea57aca28e0355e8ad8abf9b5aa785cf/aiscalator-0.1.18.tar.gz
+BuildArch: noarch
+
+Requires: python3-Click
+Requires: python3-jupytext
+Requires: python3-pyhocon
+Requires: python3-pytz
+
+%description
+
+
+%package -n python3-aiscalator
+Summary: AIscalate your Jupyter Notebook Prototypes into Airflow Data Products
+Provides: python-aiscalator
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aiscalator
+
+
+%package help
+Summary: Development documents and examples for aiscalator
+Provides: python3-aiscalator-doc
+%description help
+
+
+%prep
+%autosetup -n aiscalator-0.1.18
+
+%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-aiscalator -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.18-1
+- Package Spec generated