diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 09:41:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 09:41:31 +0000 |
commit | 56aa85903522fb0099c9c858b476e006e7e33fef (patch) | |
tree | 71a981467a4bc068824cc511354622007f714df8 /python-flask-prose.spec | |
parent | 9fdb7c62ce738a49d062e62d5df0f680bbb23805 (diff) |
automatic import of python-Flask-Proseopeneuler20.03
Diffstat (limited to 'python-flask-prose.spec')
-rw-r--r-- | python-flask-prose.spec | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/python-flask-prose.spec b/python-flask-prose.spec new file mode 100644 index 0000000..bd22714 --- /dev/null +++ b/python-flask-prose.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-Prose +Version: 0.1.56 +Release: 1 +Summary: A flask extension for generating markov prose +License: MIT +URL: https://github.com/slippers/Flask-Prose +Source0: https://mirrors.aliyun.com/pypi/web/packages/fd/e1/08312511ff2397fab17b3db85a37e56c9378b8326aebd9b6aebfe0fa07b9/Flask-Prose-0.1.56.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-flask-jsontools-slippers +Requires: python3-flask-sqlalchemy +Requires: python3-flask +Requires: python3-itsdangerous +Requires: python3-jinja2 +Requires: python3-markovify +Requires: python3-markupsafe +Requires: python3-six +Requires: python3-sqlalchemy-utils +Requires: python3-sqlalchemy +Requires: python3-textstat +Requires: python3-unidecode +Requires: python3-werkzeug + +%description +UNKNOWN + + + + +%package -n python3-Flask-Prose +Summary: A flask extension for generating markov prose +Provides: python-Flask-Prose +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-Prose +UNKNOWN + + + + +%package help +Summary: Development documents and examples for Flask-Prose +Provides: python3-Flask-Prose-doc +%description help +UNKNOWN + + + + +%prep +%autosetup -n Flask-Prose-0.1.56 + +%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-Flask-Prose -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.56-1 +- Package Spec generated |