%global _empty_manifest_terminate_build 0 Name: python-Flask-FontAwesome Version: 0.1.5 Release: 1 Summary: FontAwesome for Flask License: Apache Software License URL: https://github.com/heartsucker/flask-fontawesome Source0: https://mirrors.aliyun.com/pypi/web/packages/87/40/d5780675fa8bec026a26cafcb4e9f31eec60d878896dee42ee7cda8f35cd/Flask-FontAwesome-0.1.5.tar.gz BuildArch: noarch Requires: python3-Flask %description # Flask-FontAwesome [![PyPI Version](https://badge.fury.io/py/Flask-FontAwesome.svg)](https://pypi.python.org/pypi/Flask-FontAwesome) [![CI](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop)](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop) [![Documentation Status](https://readthedocs.org/projects/flask-fontawesome/badge/?version=latest)](https://flask-fontawesome.readthedocs.io/en/latest/?badge=latest) Flask extension for [FontAwesome](https://fontawesome.com/). ## Example ```python from flask import Flask, render_template from flask_fontawesome import FontAwesome app = Flask(__name__) fa = FontAwesome(app) @app.route('/') def index(): return render_template('index.html') app.run(host='127.0.0.1', port=8080) ``` ```html
{{ fontawesome_html() }}This is an example of a link.
``` ## License This work is dual licensed under the MIT and Apache-2.0 licenses. See [LICENSE-MIT](./LICENSE-MIT) and [LICENSE-APACHE](./LICENSE-APACHE) for details. ### Attribution The resources contained under [`flask_fontawesome/static`](./flask_fontawesome/static) are licensed to FontAwesome. %package -n python3-Flask-FontAwesome Summary: FontAwesome for Flask Provides: python-Flask-FontAwesome BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-Flask-FontAwesome # Flask-FontAwesome [![PyPI Version](https://badge.fury.io/py/Flask-FontAwesome.svg)](https://pypi.python.org/pypi/Flask-FontAwesome) [![CI](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop)](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop) [![Documentation Status](https://readthedocs.org/projects/flask-fontawesome/badge/?version=latest)](https://flask-fontawesome.readthedocs.io/en/latest/?badge=latest) Flask extension for [FontAwesome](https://fontawesome.com/). ## Example ```python from flask import Flask, render_template from flask_fontawesome import FontAwesome app = Flask(__name__) fa = FontAwesome(app) @app.route('/') def index(): return render_template('index.html') app.run(host='127.0.0.1', port=8080) ``` ```html {{ fontawesome_html() }}This is an example of a link.
``` ## License This work is dual licensed under the MIT and Apache-2.0 licenses. See [LICENSE-MIT](./LICENSE-MIT) and [LICENSE-APACHE](./LICENSE-APACHE) for details. ### Attribution The resources contained under [`flask_fontawesome/static`](./flask_fontawesome/static) are licensed to FontAwesome. %package help Summary: Development documents and examples for Flask-FontAwesome Provides: python3-Flask-FontAwesome-doc %description help # Flask-FontAwesome [![PyPI Version](https://badge.fury.io/py/Flask-FontAwesome.svg)](https://pypi.python.org/pypi/Flask-FontAwesome) [![CI](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop)](https://api.travis-ci.org/heartsucker/flask-fontawesome.svg?branch=develop) [![Documentation Status](https://readthedocs.org/projects/flask-fontawesome/badge/?version=latest)](https://flask-fontawesome.readthedocs.io/en/latest/?badge=latest) Flask extension for [FontAwesome](https://fontawesome.com/). ## Example ```python from flask import Flask, render_template from flask_fontawesome import FontAwesome app = Flask(__name__) fa = FontAwesome(app) @app.route('/') def index(): return render_template('index.html') app.run(host='127.0.0.1', port=8080) ``` ```html {{ fontawesome_html() }}This is an example of a link.
``` ## License This work is dual licensed under the MIT and Apache-2.0 licenses. See [LICENSE-MIT](./LICENSE-MIT) and [LICENSE-APACHE](./LICENSE-APACHE) for details. ### Attribution The resources contained under [`flask_fontawesome/static`](./flask_fontawesome/static) are licensed to FontAwesome. %prep %autosetup -n Flask-FontAwesome-0.1.5 %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-FontAwesome -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot