summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 09:33:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 09:33:44 +0000
commita6408db08ad1f7edf9ea22160124d70ee103bb40 (patch)
tree934ba5aec62ac06b3ccaf149cd2225d8f715b9b2
parentc68b03018fa827b7936ba8e87d059664eef07fcb (diff)
automatic import of python-bundesliga-tippspiel
-rw-r--r--.gitignore1
-rw-r--r--python-bundesliga-tippspiel.spec298
-rw-r--r--sources1
3 files changed, 300 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6d91af1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bundesliga-tippspiel-2.0.10.tar.gz
diff --git a/python-bundesliga-tippspiel.spec b/python-bundesliga-tippspiel.spec
new file mode 100644
index 0000000..5acaafe
--- /dev/null
+++ b/python-bundesliga-tippspiel.spec
@@ -0,0 +1,298 @@
+%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.nju.edu.cn/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
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..be36476
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9a65fbcb94db1eb52b4661210671c27a bundesliga-tippspiel-2.0.10.tar.gz