summaryrefslogtreecommitdiff
path: root/python-pygsp.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 03:47:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 03:47:43 +0000
commit2fa797864a71d92877ab8e8ddb05de0d00c2753b (patch)
tree26075e1d9ae2895af0321c53581d66aaed21b870 /python-pygsp.spec
parent7a46e1f3e72ccc20785da87615a8f31b064a2c8b (diff)
automatic import of python-pygspopeneuler20.03
Diffstat (limited to 'python-pygsp.spec')
-rw-r--r--python-pygsp.spec92
1 files changed, 92 insertions, 0 deletions
diff --git a/python-pygsp.spec b/python-pygsp.spec
new file mode 100644
index 0000000..b7f0c72
--- /dev/null
+++ b/python-pygsp.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyGSP
+Version: 0.5.1
+Release: 1
+Summary: Graph Signal Processing in Python
+License: BSD
+URL: https://github.com/epfl-lts2/pygsp
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/87/78/78793c753799de6f2728213a46867cd2ab756242f22a205c7a29aec05395/PyGSP-0.5.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-scikit-image
+Requires: python3-pyunlocbox
+Requires: python3-matplotlib
+Requires: python3-pyqtgraph
+Requires: python3-PyOpenGL
+Requires: python3-PySide
+Requires: python3-pyflann
+Requires: python3-pyflann3
+Requires: python3-PyQt5
+Requires: python3-sphinx
+Requires: python3-numpydoc
+Requires: python3-sphinxcontrib-bibtex
+Requires: python3-sphinx-rtd-theme
+Requires: python3-wheel
+Requires: python3-twine
+Requires: python3-flake8
+Requires: python3-coverage
+Requires: python3-coveralls
+
+%description
+
+
+%package -n python3-PyGSP
+Summary: Graph Signal Processing in Python
+Provides: python-PyGSP
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PyGSP
+
+
+%package help
+Summary: Development documents and examples for PyGSP
+Provides: python3-PyGSP-doc
+%description help
+
+
+%prep
+%autosetup -n PyGSP-0.5.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-PyGSP -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1
+- Package Spec generated