summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 03:30:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 03:30:20 +0000
commit3e2fba7a9481ec2c056814daa6d1d0a962c5cad1 (patch)
tree6b37fdcfd3b513050a8d3ac8a18a8f4bdbaba363
parent98b4210047552da6f93e4a4a528b4599fcae42f1 (diff)
automatic import of python-mmfunctions
-rw-r--r--.gitignore1
-rw-r--r--python-mmfunctions.spec102
-rw-r--r--sources1
3 files changed, 104 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d1676b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mmfunctions-0.0.2.1.tar.gz
diff --git a/python-mmfunctions.spec b/python-mmfunctions.spec
new file mode 100644
index 0000000..f87a7f0
--- /dev/null
+++ b/python-mmfunctions.spec
@@ -0,0 +1,102 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mmfunctions
+Version: 0.0.2.1
+Release: 1
+Summary: Helper package to be used in conjunction with the Maximo Asset Manager pipeline
+License: MIT License
+URL: https://github.com/sedgewickmm18/mmfunctions
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0a/3e/6c1a36a8459e2c9f10fb6d727cfc51aec7bae876edf835c4d8f14e101c31/mmfunctions-0.0.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-iotfunctions
+Requires: python3-lightgbm
+Requires: python3-matplotlib
+Requires: python3-statsmodels
+Requires: python3-torch
+Requires: python3-wiotp-sdk
+
+%description
+## mmfunctions
+
+Playground for Maximo Asset Monitor
+
+Please see the [repo wiki](https://github.com/sedgewickmm18/mmfunctions/wiki) for more information.
+
+
+
+
+
+%package -n python3-mmfunctions
+Summary: Helper package to be used in conjunction with the Maximo Asset Manager pipeline
+Provides: python-mmfunctions
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mmfunctions
+## mmfunctions
+
+Playground for Maximo Asset Monitor
+
+Please see the [repo wiki](https://github.com/sedgewickmm18/mmfunctions/wiki) for more information.
+
+
+
+
+
+%package help
+Summary: Development documents and examples for mmfunctions
+Provides: python3-mmfunctions-doc
+%description help
+## mmfunctions
+
+Playground for Maximo Asset Monitor
+
+Please see the [repo wiki](https://github.com/sedgewickmm18/mmfunctions/wiki) for more information.
+
+
+
+
+
+%prep
+%autosetup -n mmfunctions-0.0.2.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-mmfunctions -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a78b940
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cc5bae4174349e270483778f1cb60d94 mmfunctions-0.0.2.1.tar.gz