diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-biosimulators-amici.spec | 118 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 120 insertions, 0 deletions
@@ -0,0 +1 @@ +/biosimulators_amici-0.1.22.tar.gz diff --git a/python-biosimulators-amici.spec b/python-biosimulators-amici.spec new file mode 100644 index 0000000..d8a37c9 --- /dev/null +++ b/python-biosimulators-amici.spec @@ -0,0 +1,118 @@ +%global _empty_manifest_terminate_build 0 +Name: python-biosimulators-amici +Version: 0.1.22 +Release: 1 +Summary: BioSimulators-compliant command-line interface to the AMICI simulation program <https://github.com/AMICI-dev/amici>. +License: MIT +URL: https://github.com/biosimulators/Biosimulators_AMICI> +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9c/dc/deae31ed9cd9ba1885e3ec7b275ce89953d6c0629cd05e6ab0a77e9b4d58/biosimulators_amici-0.1.22.tar.gz +BuildArch: noarch + +Requires: python3-amici +Requires: python3-biosimulators-utils[logging] +Requires: python3-kisao +Requires: python3-lxml +Requires: python3-numpy +Requires: python3-sympy +Requires: python3-biosimulators-utils[containers] +Requires: python3-dateutil +Requires: python3-biosimulators-utils[containers] +Requires: python3-dateutil + +%description +BioSimulators-compliant command-line interface to the +`AMICI <https://github.com/AMICI-dev/AMICI>`__ simulation program. +This command-line interface and Docker image enable users to use AMICI +to execute `COMBINE/OMEX archives <https://combinearchive.org/>`__ that +describe one or more simulation experiments (in `SED-ML +format <https://sed-ml.org>`__) of one or more models (in `SBML +format <http://sbml.org]>`__). +A list of the algorithms and algorithm parameters supported by AMICI is +available at +`BioSimulators <https://biosimulators.org/simulators/amici>`__. +A simple web application and web service for using AMICI to execute +COMBINE/OMEX archives is also available at +`runBioSimulations <https://run.biosimulations.org>`__. + +%package -n python3-biosimulators-amici +Summary: BioSimulators-compliant command-line interface to the AMICI simulation program <https://github.com/AMICI-dev/amici>. +Provides: python-biosimulators-amici +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-biosimulators-amici +BioSimulators-compliant command-line interface to the +`AMICI <https://github.com/AMICI-dev/AMICI>`__ simulation program. +This command-line interface and Docker image enable users to use AMICI +to execute `COMBINE/OMEX archives <https://combinearchive.org/>`__ that +describe one or more simulation experiments (in `SED-ML +format <https://sed-ml.org>`__) of one or more models (in `SBML +format <http://sbml.org]>`__). +A list of the algorithms and algorithm parameters supported by AMICI is +available at +`BioSimulators <https://biosimulators.org/simulators/amici>`__. +A simple web application and web service for using AMICI to execute +COMBINE/OMEX archives is also available at +`runBioSimulations <https://run.biosimulations.org>`__. + +%package help +Summary: Development documents and examples for biosimulators-amici +Provides: python3-biosimulators-amici-doc +%description help +BioSimulators-compliant command-line interface to the +`AMICI <https://github.com/AMICI-dev/AMICI>`__ simulation program. +This command-line interface and Docker image enable users to use AMICI +to execute `COMBINE/OMEX archives <https://combinearchive.org/>`__ that +describe one or more simulation experiments (in `SED-ML +format <https://sed-ml.org>`__) of one or more models (in `SBML +format <http://sbml.org]>`__). +A list of the algorithms and algorithm parameters supported by AMICI is +available at +`BioSimulators <https://biosimulators.org/simulators/amici>`__. +A simple web application and web service for using AMICI to execute +COMBINE/OMEX archives is also available at +`runBioSimulations <https://run.biosimulations.org>`__. + +%prep +%autosetup -n biosimulators-amici-0.1.22 + +%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-biosimulators-amici -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.22-1 +- Package Spec generated @@ -0,0 +1 @@ +0a98a94a486d40e4ee5154665f5cdb2f biosimulators_amici-0.1.22.tar.gz |
