%global _empty_manifest_terminate_build 0 Name: python-nanohttp Version: 1.11.10 Release: 1 Summary: A very micro http framework. License: MIT URL: http://github.com/pylover/nanohttp Source0: https://mirrors.nju.edu.cn/pypi/web/packages/82/8b/91428349a91cae9ca403b8ca78b7e5941225ffb6119839281f10609da45c/nanohttp-1.11.10.tar.gz BuildArch: noarch %description # nanohttp A very micro HTTP framework. [documentation](http://nanohttp.org) [![PyPI](http://img.shields.io/pypi/v/nanohttp.svg)](https://pypi.python.org/pypi/nanohttp) [![Gitter](https://badges.gitter.im//nanohttp.svg)](https://gitter.im/pylover/nanohttp) [![Build Status](https://travis-ci.org/pylover/nanohttp.svg?branch=master)](https://travis-ci.org/pylover/nanohttp) [![Coverage Status](https://coveralls.io/repos/github/pylover/nanohttp/badge.svg?branch=master)](https://coveralls.io/github/pylover/nanohttp?branch=master) ## Contribution ### Branching A new branching model is applied to this repository, which consists of a master branch and release branches. #### Master branch The master branch is an integration branch where bug fixes/features are gathered for compiling and functional testing. #### Release branch The release branch is where releases are maintained and hot fixes (with names like release/v2.x.x) are added. Please ensure that all your production-related work are tracked with the release branches. With this new model, we can push out bug fixes more quickly and achieve simpler maintenance. %package -n python3-nanohttp Summary: A very micro http framework. Provides: python-nanohttp BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-nanohttp # nanohttp A very micro HTTP framework. [documentation](http://nanohttp.org) [![PyPI](http://img.shields.io/pypi/v/nanohttp.svg)](https://pypi.python.org/pypi/nanohttp) [![Gitter](https://badges.gitter.im//nanohttp.svg)](https://gitter.im/pylover/nanohttp) [![Build Status](https://travis-ci.org/pylover/nanohttp.svg?branch=master)](https://travis-ci.org/pylover/nanohttp) [![Coverage Status](https://coveralls.io/repos/github/pylover/nanohttp/badge.svg?branch=master)](https://coveralls.io/github/pylover/nanohttp?branch=master) ## Contribution ### Branching A new branching model is applied to this repository, which consists of a master branch and release branches. #### Master branch The master branch is an integration branch where bug fixes/features are gathered for compiling and functional testing. #### Release branch The release branch is where releases are maintained and hot fixes (with names like release/v2.x.x) are added. Please ensure that all your production-related work are tracked with the release branches. With this new model, we can push out bug fixes more quickly and achieve simpler maintenance. %package help Summary: Development documents and examples for nanohttp Provides: python3-nanohttp-doc %description help # nanohttp A very micro HTTP framework. [documentation](http://nanohttp.org) [![PyPI](http://img.shields.io/pypi/v/nanohttp.svg)](https://pypi.python.org/pypi/nanohttp) [![Gitter](https://badges.gitter.im//nanohttp.svg)](https://gitter.im/pylover/nanohttp) [![Build Status](https://travis-ci.org/pylover/nanohttp.svg?branch=master)](https://travis-ci.org/pylover/nanohttp) [![Coverage Status](https://coveralls.io/repos/github/pylover/nanohttp/badge.svg?branch=master)](https://coveralls.io/github/pylover/nanohttp?branch=master) ## Contribution ### Branching A new branching model is applied to this repository, which consists of a master branch and release branches. #### Master branch The master branch is an integration branch where bug fixes/features are gathered for compiling and functional testing. #### Release branch The release branch is where releases are maintained and hot fixes (with names like release/v2.x.x) are added. Please ensure that all your production-related work are tracked with the release branches. With this new model, we can push out bug fixes more quickly and achieve simpler maintenance. %prep %autosetup -n nanohttp-1.11.10 %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-nanohttp -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 1.11.10-1 - Package Spec generated