From 2fa797864a71d92877ab8e8ddb05de0d00c2753b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 03:47:43 +0000 Subject: automatic import of python-pygsp --- python-pygsp.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 python-pygsp.spec (limited to 'python-pygsp.spec') 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 - 0.5.1-1 +- Package Spec generated -- cgit v1.2.3