diff options
Diffstat (limited to 'python-keras-nightly.spec')
| -rw-r--r-- | python-keras-nightly.spec | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/python-keras-nightly.spec b/python-keras-nightly.spec new file mode 100644 index 0000000..aa259a7 --- /dev/null +++ b/python-keras-nightly.spec @@ -0,0 +1,138 @@ +%global _empty_manifest_terminate_build 0 +Name: python-keras-nightly +Version: 2.13.0.dev2023041007 +Release: 1 +Summary: Deep learning for humans. +License: Apache 2.0 +URL: https://keras.io/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4d/e8/661ceaceecc49c996d2e03b7d81fc39a29ec65f7073190d405a91ff47089/keras-nightly-2.13.0.dev2023041007.tar.gz +BuildArch: noarch + + +%description +Keras is a deep learning API written in Python, +running on top of the machine learning platform TensorFlow. + +It was developed with a focus on enabling fast experimentation and +providing a delightful developer experience. +The purpose of Keras is to give an *unfair advantage* to any developer +looking to ship ML-powered apps. + +Keras is: + +- **Simple** -- but not simplistic. Keras reduces developer *cognitive load* + to free you to focus on the parts of the problem that really matter. + Keras focuses on ease of use, debugging speed, code elegance & conciseness, + maintainability, and deployability (via TFServing, TFLite, TF.js). +- **Flexible** -- Keras adopts the principle of *progressive disclosure of + complexity*: simple workflows should be quick and easy, while arbitrarily + advanced workflows should be *possible* via a clear path that builds upon + what you've already learned. +- **Powerful** -- Keras provides industry-strength performance and + scalability: it is used by organizations and companies including NASA, + YouTube, and Waymo. That's right -- your YouTube recommendations are + powered by Keras, and so is the world's most advanced driverless vehicle. + + +%package -n python3-keras-nightly +Summary: Deep learning for humans. +Provides: python-keras-nightly +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-keras-nightly +Keras is a deep learning API written in Python, +running on top of the machine learning platform TensorFlow. + +It was developed with a focus on enabling fast experimentation and +providing a delightful developer experience. +The purpose of Keras is to give an *unfair advantage* to any developer +looking to ship ML-powered apps. + +Keras is: + +- **Simple** -- but not simplistic. Keras reduces developer *cognitive load* + to free you to focus on the parts of the problem that really matter. + Keras focuses on ease of use, debugging speed, code elegance & conciseness, + maintainability, and deployability (via TFServing, TFLite, TF.js). +- **Flexible** -- Keras adopts the principle of *progressive disclosure of + complexity*: simple workflows should be quick and easy, while arbitrarily + advanced workflows should be *possible* via a clear path that builds upon + what you've already learned. +- **Powerful** -- Keras provides industry-strength performance and + scalability: it is used by organizations and companies including NASA, + YouTube, and Waymo. That's right -- your YouTube recommendations are + powered by Keras, and so is the world's most advanced driverless vehicle. + + +%package help +Summary: Development documents and examples for keras-nightly +Provides: python3-keras-nightly-doc +%description help +Keras is a deep learning API written in Python, +running on top of the machine learning platform TensorFlow. + +It was developed with a focus on enabling fast experimentation and +providing a delightful developer experience. +The purpose of Keras is to give an *unfair advantage* to any developer +looking to ship ML-powered apps. + +Keras is: + +- **Simple** -- but not simplistic. Keras reduces developer *cognitive load* + to free you to focus on the parts of the problem that really matter. + Keras focuses on ease of use, debugging speed, code elegance & conciseness, + maintainability, and deployability (via TFServing, TFLite, TF.js). +- **Flexible** -- Keras adopts the principle of *progressive disclosure of + complexity*: simple workflows should be quick and easy, while arbitrarily + advanced workflows should be *possible* via a clear path that builds upon + what you've already learned. +- **Powerful** -- Keras provides industry-strength performance and + scalability: it is used by organizations and companies including NASA, + YouTube, and Waymo. That's right -- your YouTube recommendations are + powered by Keras, and so is the world's most advanced driverless vehicle. + + +%prep +%autosetup -n keras-nightly-2.13.0.dev2023041007 + +%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-keras-nightly -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.13.0.dev2023041007-1 +- Package Spec generated |
