summaryrefslogtreecommitdiff
path: root/python-muffin.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 01:32:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 01:32:22 +0000
commit64c52158fb98323a2964ea45234cb2aabd246c8a (patch)
tree4e9e9a4ed9b83f5972327bee5e12d1304f815ed5 /python-muffin.spec
parent24052308f4da664cd4a11896ae8b8c17af9e26c3 (diff)
automatic import of python-muffin
Diffstat (limited to 'python-muffin.spec')
-rw-r--r--python-muffin.spec77
1 files changed, 77 insertions, 0 deletions
diff --git a/python-muffin.spec b/python-muffin.spec
new file mode 100644
index 0000000..b3eb3da
--- /dev/null
+++ b/python-muffin.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-muffin
+Version: 0.97.2
+Release: 1
+Summary: Muffin is a fast, simple and asyncronous web-framework for Python 3 (asyncio, trio, curio)
+License: MIT
+URL: https://github.com/klen/muffin
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d5/8f/60725e1b287cb1096e40d7dba2c9b7aafa9c7479975e79aaed02a3c7c920/muffin-0.97.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-asgi-tools
+Requires: python3-modconfig
+Requires: python3-ujson
+Requires: python3-gunicorn
+Requires: python3-uvicorn[standard]
+
+%description
+
+
+%package -n python3-muffin
+Summary: Muffin is a fast, simple and asyncronous web-framework for Python 3 (asyncio, trio, curio)
+Provides: python-muffin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-muffin
+
+
+%package help
+Summary: Development documents and examples for muffin
+Provides: python3-muffin-doc
+%description help
+
+
+%prep
+%autosetup -n muffin-0.97.2
+
+%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-muffin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.97.2-1
+- Package Spec generated