%global _empty_manifest_terminate_build 0 Name: python-django-bootstrap5 Version: 23.1 Release: 1 Summary: Bootstrap 5 for Django License: BSD-3-Clause URL: https://github.com/zostera/django-bootstrap5 Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/28/1cc009670ad78eb88f496c622bf4aebbaedc08ecea802e1e66277dd1fc00/django-bootstrap5-23.1.tar.gz BuildArch: noarch Requires: python3-Django %description # django-bootstrap5 [](https://github.com/zostera/django-bootstrap5/actions?workflow=CI) [](https://coveralls.io/github/zostera/django-bootstrap5?branch=main) [](https://pypi.python.org/pypi/django-bootstrap5) [](https://github.com/ambv/black) Bootstrap 5 for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 5. ## Status Ready for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CONTRIBUTING.md). ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap5.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap5 ``` 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "django_bootstrap5", # ... ) ``` 3. In your templates, load the `django_bootstrap5` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja2 {% load django_bootstrap5 %}
``` ## Example app An example app is provided in the folder `example`. You can run it with `python manage.py runserver`. ```bash cd example python manage.py runserver ``` ## Bugs and suggestions If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub. https://github.com/zostera/django-bootstrap5/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %package -n python3-django-bootstrap5 Summary: Bootstrap 5 for Django Provides: python-django-bootstrap5 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-django-bootstrap5 # django-bootstrap5 [](https://github.com/zostera/django-bootstrap5/actions?workflow=CI) [](https://coveralls.io/github/zostera/django-bootstrap5?branch=main) [](https://pypi.python.org/pypi/django-bootstrap5) [](https://github.com/ambv/black) Bootstrap 5 for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 5. ## Status Ready for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CONTRIBUTING.md). ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap5.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap5 ``` 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "django_bootstrap5", # ... ) ``` 3. In your templates, load the `django_bootstrap5` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja2 {% load django_bootstrap5 %} ``` ## Example app An example app is provided in the folder `example`. You can run it with `python manage.py runserver`. ```bash cd example python manage.py runserver ``` ## Bugs and suggestions If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub. https://github.com/zostera/django-bootstrap5/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %package help Summary: Development documents and examples for django-bootstrap5 Provides: python3-django-bootstrap5-doc %description help # django-bootstrap5 [](https://github.com/zostera/django-bootstrap5/actions?workflow=CI) [](https://coveralls.io/github/zostera/django-bootstrap5?branch=main) [](https://pypi.python.org/pypi/django-bootstrap5) [](https://github.com/ambv/black) Bootstrap 5 for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 5. ## Status Ready for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CONTRIBUTING.md). ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap5.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap5 ``` 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "django_bootstrap5", # ... ) ``` 3. In your templates, load the `django_bootstrap5` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja2 {% load django_bootstrap5 %} ``` ## Example app An example app is provided in the folder `example`. You can run it with `python manage.py runserver`. ```bash cd example python manage.py runserver ``` ## Bugs and suggestions If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub. https://github.com/zostera/django-bootstrap5/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %prep %autosetup -n django-bootstrap5-23.1 %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-django-bootstrap5 -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed Apr 12 2023 Python_Bot