diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 15:10:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 15:10:26 +0000 |
commit | ffa643dd3aa8497fd5d3eb4476933714c5e46ffa (patch) | |
tree | bc2764a3211c6bbaf059de77846b98347ea53a74 | |
parent | c02400ffb5e4fd52ab0f83517d734ff36b0f2a72 (diff) |
automatic import of python-flask-sitemapopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-flask-sitemap.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/Flask-Sitemap-0.4.0.tar.gz diff --git a/python-flask-sitemap.spec b/python-flask-sitemap.spec new file mode 100644 index 0000000..25be26e --- /dev/null +++ b/python-flask-sitemap.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-Sitemap +Version: 0.4.0 +Release: 1 +Summary: Flask extension that helps with sitemap generation. +License: BSD +URL: http://github.com/inveniosoftware/flask-sitemap/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c6/d7/146fa795769b53e10371e18b2e73acd269a249ca1ed77dec16fae61b53b6/Flask-Sitemap-0.4.0.tar.gz +BuildArch: noarch + +Requires: python3-Flask +Requires: python3-blinker +Requires: python3-Sphinx +Requires: python3-check-manifest +Requires: python3-coverage +Requires: python3-pytest-cov +Requires: python3-pytest-flask +Requires: python3-pytest-isort +Requires: python3-pytest-pycodestyle +Requires: python3-pytest-pydocstyle +Requires: python3-pytest +Requires: python3-Sphinx +Requires: python3-check-manifest +Requires: python3-coverage +Requires: python3-pytest-cov +Requires: python3-pytest-flask +Requires: python3-pytest-isort +Requires: python3-pytest-pycodestyle +Requires: python3-pytest-pydocstyle +Requires: python3-pytest + +%description + + +%package -n python3-Flask-Sitemap +Summary: Flask extension that helps with sitemap generation. +Provides: python-Flask-Sitemap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-Sitemap + + +%package help +Summary: Development documents and examples for Flask-Sitemap +Provides: python3-Flask-Sitemap-doc +%description help + + +%prep +%autosetup -n Flask-Sitemap-0.4.0 + +%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-Sitemap -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1 +- Package Spec generated @@ -0,0 +1 @@ +c34a7340554f34568d960bd545569d5d Flask-Sitemap-0.4.0.tar.gz |