summaryrefslogtreecommitdiff
path: root/python-special-functions.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:14:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:14:09 +0000
commitde9034ac259a81c312b8db25a0bc598637a24189 (patch)
treebb2443836bcadac33ec3a560dc8a5695437ee7e7 /python-special-functions.spec
parent4144c0cf7e92798110b710ee3823e0494ee1c0e4 (diff)
automatic import of python-special-functionsopeneuler20.03
Diffstat (limited to 'python-special-functions.spec')
-rw-r--r--python-special-functions.spec74
1 files changed, 74 insertions, 0 deletions
diff --git a/python-special-functions.spec b/python-special-functions.spec
new file mode 100644
index 0000000..fbd48b4
--- /dev/null
+++ b/python-special-functions.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-special-functions
+Version: 0.2.3
+Release: 1
+Summary: Cython and Python API for special functions.
+License: MIT License
+URL: https://github.com/ameli/special_functions
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e8/fa/a6c0a6bfc2de5b651b72790e9ed54e775d72397aeb843c5f46120f850400/special_functions-0.2.3.tar.gz
+
+
+%description
+
+
+%package -n python3-special-functions
+Summary: Cython and Python API for special functions.
+Provides: python-special-functions
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-special-functions
+
+
+%package help
+Summary: Development documents and examples for special-functions
+Provides: python3-special-functions-doc
+%description help
+
+
+%prep
+%autosetup -n special_functions-0.2.3
+
+%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-special-functions -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.3-1
+- Package Spec generated