diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:15:08 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:15:08 +0000 |
| commit | 24b927779c8e5cec33c2ef3e763977a55234f3fc (patch) | |
| tree | 8c4a44bcec5539dbf9015c49aad6fe61398f31e0 | |
| parent | 21260ccb6797b0ad4864dd7217aa9b05ad2546b4 (diff) | |
automatic import of python-flask-blogging
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-flask-blogging.spec | 133 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 135 insertions, 0 deletions
@@ -0,0 +1 @@ +/Flask-Blogging-2.0.0.post2.tar.gz diff --git a/python-flask-blogging.spec b/python-flask-blogging.spec new file mode 100644 index 0000000..235d009 --- /dev/null +++ b/python-flask-blogging.spec @@ -0,0 +1,133 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-Blogging +Version: 2.0.0.post2 +Release: 1 +Summary: A flask extension for adding Markdown blog support to your site +License: MIT +URL: https://github.com/gouthambs/Flask-Blogging +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9f/ca/7a2080aac969bd6e3dd66b90af6d5af641aec8f29feeb9457408323954c2/Flask-Blogging-2.0.0.post2.tar.gz +BuildArch: noarch + +Requires: python3-Flask +Requires: python3-Flask-WTF +Requires: python3-Flask-Login +Requires: python3-Flask-Principal +Requires: python3-flask-caching +Requires: python3-Flask-FileUpload +Requires: python3-SQLAlchemy +Requires: python3-Markdown +Requires: python3-Werkzeug +Requires: python3-blinker +Requires: python3-slugify +Requires: python3-shortuuid +Requires: python3-feedwerk + +%description +Flask-Blogging is a Flask extension for adding blogging support to +your web application. Flask-Blogging comes with the following +features out of the box: +- Bootstrap based site +- Markdown based blog editor +- Models to store blog +- Authentication of User's choice +- Sitemap, ATOM support +- Disqus support for comments +- Google analytics for usage tracking +- Permissions enabled to control which users can create/edit blogs +- Incorporates Flask-Cache for fast rendering +- Well documented, tested, and extensible design +Links +````` +* `documentation <http://flask-blogging.readthedocs.org/>`_ +* `development version <https://github.com/gouthambs/Flask-Blogging>`_ + +%package -n python3-Flask-Blogging +Summary: A flask extension for adding Markdown blog support to your site +Provides: python-Flask-Blogging +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-Blogging +Flask-Blogging is a Flask extension for adding blogging support to +your web application. Flask-Blogging comes with the following +features out of the box: +- Bootstrap based site +- Markdown based blog editor +- Models to store blog +- Authentication of User's choice +- Sitemap, ATOM support +- Disqus support for comments +- Google analytics for usage tracking +- Permissions enabled to control which users can create/edit blogs +- Incorporates Flask-Cache for fast rendering +- Well documented, tested, and extensible design +Links +````` +* `documentation <http://flask-blogging.readthedocs.org/>`_ +* `development version <https://github.com/gouthambs/Flask-Blogging>`_ + +%package help +Summary: Development documents and examples for Flask-Blogging +Provides: python3-Flask-Blogging-doc +%description help +Flask-Blogging is a Flask extension for adding blogging support to +your web application. Flask-Blogging comes with the following +features out of the box: +- Bootstrap based site +- Markdown based blog editor +- Models to store blog +- Authentication of User's choice +- Sitemap, ATOM support +- Disqus support for comments +- Google analytics for usage tracking +- Permissions enabled to control which users can create/edit blogs +- Incorporates Flask-Cache for fast rendering +- Well documented, tested, and extensible design +Links +````` +* `documentation <http://flask-blogging.readthedocs.org/>`_ +* `development version <https://github.com/gouthambs/Flask-Blogging>`_ + +%prep +%autosetup -n Flask-Blogging-2.0.0.post2 + +%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-Blogging -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0.post2-1 +- Package Spec generated @@ -0,0 +1 @@ +462911e7c348683fd2d3f350f3d27d1a Flask-Blogging-2.0.0.post2.tar.gz |
