%global _empty_manifest_terminate_build 0 Name: python-Self-Check-Algorithm-Model Version: 1.0.6 Release: 1 Summary: A sample Python project License: MIT License URL: https://github.com/pypa/sampleproject Source0: https://mirrors.aliyun.com/pypi/web/packages/30/17/0109bed7e79fd4ffa731769a92e7d53870fcfd37bd85b2d3c1aa601fde22/Self-Check-Algorithm-Model-1.0.6.tar.gz BuildArch: noarch %description This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %package -n python3-Self-Check-Algorithm-Model Summary: A sample Python project Provides: python-Self-Check-Algorithm-Model BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-Self-Check-Algorithm-Model This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %package help Summary: Development documents and examples for Self-Check-Algorithm-Model Provides: python3-Self-Check-Algorithm-Model-doc %description help This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %prep %autosetup -n Self-Check-Algorithm-Model-1.0.6 %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-Self-Check-Algorithm-Model -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 1.0.6-1 - Package Spec generated