%global sourcename keras Name: python-%sourcename Version: 2.2.4 Release: 1%{?dist} Summary: High-level neural networks Python API License: MIT URL: https://keras.io/ Source0: https://github.com/keras-team/%sourcename/archive/%version/%sourcename-%version.tar.gz BuildArch: noarch BuildRequires: python-devel scipy PyYAML %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. %prep %setup -q -n %sourcename-%version %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %buildroot %files %license LICENSE %doc README.md CONTRIBUTING.md examples %{python_sitelib}/* %changelog * Wed Jul 17 2019 Dave Love - 2.2.4-1 - New version * Mon Jan 15 2018 - - Initial packaging