diff options
Diffstat (limited to 'python-partsegcore-compiled-backend.spec')
| -rw-r--r-- | python-partsegcore-compiled-backend.spec | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/python-partsegcore-compiled-backend.spec b/python-partsegcore-compiled-backend.spec new file mode 100644 index 0000000..4b2949f --- /dev/null +++ b/python-partsegcore-compiled-backend.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-PartSegCore-compiled-backend +Version: 0.15.0 +Release: 1 +Summary: PartSegCore compiled backend, +License: BSD-3-Clause +URL: https://4dnucleome.cent.uw.edu.pl/PartSeg/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/75/2adc84a32b809121729bad87f86b9f9fddfb81b6996b9659af612ebf5c69/PartSegCore_compiled_backend-0.15.0.tar.gz + +Requires: python3-numpy +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%package -n python3-PartSegCore-compiled-backend +Summary: PartSegCore compiled backend, +Provides: python-PartSegCore-compiled-backend +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-PartSegCore-compiled-backend +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%package help +Summary: Development documents and examples for PartSegCore-compiled-backend +Provides: python3-PartSegCore-compiled-backend-doc +%description help +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%prep +%autosetup -n PartSegCore-compiled-backend-0.15.0 + +%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-PartSegCore-compiled-backend -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.0-1 +- Package Spec generated |
