%global _empty_manifest_terminate_build 0 Name: python-bundesliga-tippspiel Version: 2.0.10 Release: 1 Summary: A Bundesliga Tippspiel Website License: GNU GPL3 URL: https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel Source0: https://mirrors.aliyun.com/pypi/web/packages/76/44/d6b5f6bdc08f46e2274ce7b3bd16c3f3609e1790578552ad888900639861/bundesliga-tippspiel-2.0.10.tar.gz BuildArch: noarch Requires: python3-flask Requires: python3-flask-login Requires: python3-flask-sqlalchemy Requires: python3-requests Requires: python3-blinker Requires: python3-sentry-sdk Requires: python3-sqlalchemy Requires: python3-werkzeug Requires: python3-cherrypy Requires: python3-puffotter[crypto] Requires: python3-beautifulsoup4 Requires: python3-pytz Requires: python3-jerrycan %description # Bundesliga Tippspiel |master|develop| |:----:|:-----:| |[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/develop)| ![Logo](resources/logo/logo-readme.png) Bundesliga Tippspiel is a website using flask and various plugins that allows users to bet on Bundesliga matches and compete with one another. A live version of the page is available at [hk-tippspiel.com](https://hk-tippspiel.com). ## Documentation Documentation on the API can be found [here](doc/api/API.md). For general documentation visit the [progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) page # Deployment notes: You can deploy the website using docker and docker-compose. To do this run the following commands: # Builds the docker image docker-compose build # Starts the container and the database container docker-compose up -d The .env file should contain the following variables: * FLASK_SECRET * DB_MODE * RECAPTCHA_SITE_KEY * RECAPTCHA_SECRET_KEY * SMTP_HOST * SMTP_PORT * SMTP_ADDRESS * SMTP_PASSWORD * TELEGRAM_API_KEY * POSTGRES_HOST * POSTGRES_PORT * POSTGRES_USER * POSTGRES_PASSWORD * POSTGRES_DB * DOMAIN_NAME * HTTP_PORT * BEHIND_PROXY * OPENLIGADB_SEASON # Backing up and restoring The project provides a backup and restore script in the [bin](bin) directory. # Backup bin/backup.sh backup.tar.gz # Restore bin/restore.sh backup.tar.gz ## Further Information * [Changelog](CHANGELOG) * [License (GPLv3)](LICENSE) * [Gitlab](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel) * [Github](https://github.com/namboy94/bundesliga-tippspiel) * [Progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) * [PyPi](https://pypi.org/project/bundesliga-tippspiel) %package -n python3-bundesliga-tippspiel Summary: A Bundesliga Tippspiel Website Provides: python-bundesliga-tippspiel BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-bundesliga-tippspiel # Bundesliga Tippspiel |master|develop| |:----:|:-----:| |[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/develop)| ![Logo](resources/logo/logo-readme.png) Bundesliga Tippspiel is a website using flask and various plugins that allows users to bet on Bundesliga matches and compete with one another. A live version of the page is available at [hk-tippspiel.com](https://hk-tippspiel.com). ## Documentation Documentation on the API can be found [here](doc/api/API.md). For general documentation visit the [progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) page # Deployment notes: You can deploy the website using docker and docker-compose. To do this run the following commands: # Builds the docker image docker-compose build # Starts the container and the database container docker-compose up -d The .env file should contain the following variables: * FLASK_SECRET * DB_MODE * RECAPTCHA_SITE_KEY * RECAPTCHA_SECRET_KEY * SMTP_HOST * SMTP_PORT * SMTP_ADDRESS * SMTP_PASSWORD * TELEGRAM_API_KEY * POSTGRES_HOST * POSTGRES_PORT * POSTGRES_USER * POSTGRES_PASSWORD * POSTGRES_DB * DOMAIN_NAME * HTTP_PORT * BEHIND_PROXY * OPENLIGADB_SEASON # Backing up and restoring The project provides a backup and restore script in the [bin](bin) directory. # Backup bin/backup.sh backup.tar.gz # Restore bin/restore.sh backup.tar.gz ## Further Information * [Changelog](CHANGELOG) * [License (GPLv3)](LICENSE) * [Gitlab](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel) * [Github](https://github.com/namboy94/bundesliga-tippspiel) * [Progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) * [PyPi](https://pypi.org/project/bundesliga-tippspiel) %package help Summary: Development documents and examples for bundesliga-tippspiel Provides: python3-bundesliga-tippspiel-doc %description help # Bundesliga Tippspiel |master|develop| |:----:|:-----:| |[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel/commits/develop)| ![Logo](resources/logo/logo-readme.png) Bundesliga Tippspiel is a website using flask and various plugins that allows users to bet on Bundesliga matches and compete with one another. A live version of the page is available at [hk-tippspiel.com](https://hk-tippspiel.com). ## Documentation Documentation on the API can be found [here](doc/api/API.md). For general documentation visit the [progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) page # Deployment notes: You can deploy the website using docker and docker-compose. To do this run the following commands: # Builds the docker image docker-compose build # Starts the container and the database container docker-compose up -d The .env file should contain the following variables: * FLASK_SECRET * DB_MODE * RECAPTCHA_SITE_KEY * RECAPTCHA_SECRET_KEY * SMTP_HOST * SMTP_PORT * SMTP_ADDRESS * SMTP_PASSWORD * TELEGRAM_API_KEY * POSTGRES_HOST * POSTGRES_PORT * POSTGRES_USER * POSTGRES_PASSWORD * POSTGRES_DB * DOMAIN_NAME * HTTP_PORT * BEHIND_PROXY * OPENLIGADB_SEASON # Backing up and restoring The project provides a backup and restore script in the [bin](bin) directory. # Backup bin/backup.sh backup.tar.gz # Restore bin/restore.sh backup.tar.gz ## Further Information * [Changelog](CHANGELOG) * [License (GPLv3)](LICENSE) * [Gitlab](https://gitlab.namibsun.net/namibsun/python/bundesliga-tippspiel) * [Github](https://github.com/namboy94/bundesliga-tippspiel) * [Progstats](https://progstats.namibsun.net/projects/bundesliga-tippspiel) * [PyPi](https://pypi.org/project/bundesliga-tippspiel) %prep %autosetup -n bundesliga-tippspiel-2.0.10 %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-bundesliga-tippspiel -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 2.0.10-1 - Package Spec generated