# Created by pyp2rpm-3.2.1 %global pypi_name keras Name: python3-%{pypi_name} Version: 2.3.1 Release: 1%{?dist} Summary: Deep Learning for Python License: MIT URL: https://github.com/fchollet/keras Source0: https://files.pythonhosted.org/packages/source/K/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch Obsoletes: python3-Keras BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python-rpm-macros BuildRequires: python3-rpm-macros #Requires: python3-tensorflow Requires: python3-PyYAML Requires: python3-six Requires: python3-%{pypi_name}-applications >= 1.0.4 Requires: python3-%{pypi_name}-preprocessing >= 1.0.2 %description Keras is a high-level neural networks API, written in Python and capable of running on top of TensorFlow, CNTK, or Theano. It was developed with a focus on enabling fast experimentation. Being able to go from idea to result with the least possible delay is key to doing good research. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. %py3_install %files %doc %{python3_sitelib}/docs %{python3_sitelib}/keras %{python3_sitelib}/Keras-%{version}-py?.?.egg-info %changelog * Fri Mar 13 2020 Yupeng Chang - 2.3.1-1 - Update to 2.3.1 * Wed May 29 2019 Yupeng Chang - 2.2.4-1 - Update to 2.2.4 * Tue Nov 13 2018 Yupeng Chang - 2.2.2-1 - Initial build