%global _empty_manifest_terminate_build 0 Name: python-MeneTools Version: 3.3.0 Release: 1 Summary: Metabolic Network Topology Analysis Tools License: GPLv3+ URL: https://github.com/cfrioux/MeneTools Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a9/5a/75c719f75295dbb5a2a1a08695341cd7c2e636fa97e7d9f5c1090a84b4e6/MeneTools-3.3.0.tar.gz BuildArch: noarch Requires: python3-clyngor-with-clingo %description Python Metabolic Network Topology Tools. Analyze the topology of metabolic networks. Explore producibility, production paths and needed initiation sources. More information on usage and troubleshooting on Github: https://github.com/cfrioux/MeneTools %package -n python3-MeneTools Summary: Metabolic Network Topology Analysis Tools Provides: python-MeneTools BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-MeneTools Python Metabolic Network Topology Tools. Analyze the topology of metabolic networks. Explore producibility, production paths and needed initiation sources. More information on usage and troubleshooting on Github: https://github.com/cfrioux/MeneTools %package help Summary: Development documents and examples for MeneTools Provides: python3-MeneTools-doc %description help Python Metabolic Network Topology Tools. Analyze the topology of metabolic networks. Explore producibility, production paths and needed initiation sources. More information on usage and troubleshooting on Github: https://github.com/cfrioux/MeneTools %prep %autosetup -n MeneTools-3.3.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-MeneTools -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed May 31 2023 Python_Bot - 3.3.0-1 - Package Spec generated