summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 07:18:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 07:18:27 +0000
commita11c008654e6a73f57b4e173749770059c6205e8 (patch)
treea396a3516288e44cb9fd6ea36a31fef566a9bee5
parent3b9f873a306e4d69dbc2c0dc5da94f9a8b54e4bc (diff)
automatic import of python-fallball
-rw-r--r--.gitignore1
-rw-r--r--python-fallball.spec195
-rw-r--r--sources1
3 files changed, 197 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dbd5929 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fallball-1.12.0.tar.gz
diff --git a/python-fallball.spec b/python-fallball.spec
new file mode 100644
index 0000000..7920b31
--- /dev/null
+++ b/python-fallball.spec
@@ -0,0 +1,195 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fallball
+Version: 1.12.0
+Release: 1
+Summary: Fallball file sharing service available by REST api.
+License: Apache License
+URL: https://fallball.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/73/4353d89c43804aba89c4e6fe6793c74beae3b817e1efb4292ff22e2d6257/fallball-1.12.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# FallBall Service (backend)
+[![Build Status](https://travis-ci.org/ingrammicro/fallball-service.svg?branch=master)](https://travis-ci.org/ingrammicro/fallball-service) [![PyPi Status](https://img.shields.io/pypi/v/fallball.svg)](https://pypi.python.org/pypi/fallball) [![codecov](https://codecov.io/gh/ingrammicro/fallball-service/branch/master/graph/badge.svg)](https://codecov.io/gh/ingrammicro/fallball-service)
+
+
+## Overview
+FallBall is the best in class file sharing service that offers cloud storage and file synchronization for small and medium businesses (SMBs) worldwide.
+This dummy service helps developers to learn [APS Connect](http://aps.odin.com) technology
+
+## Manual Deploy
+1. Create application database:
+ ```
+ python manage.py migrate
+ ```
+1. In order to run server you need to execute the following command from the root folder of the project:
+ ```
+ python manage.py runserver <host_name>:<port>
+ ```
+
+## Deploy into docker container
+1. Run docker-compose:
+ ```
+ docker-compose up
+ ```
+1. Run kickstart script:
+ ```
+ docker exec -it fallballapp bash kickstart.sh
+ ```
+
+Admin token:
+ ```
+ d8cc06c05a6cd5d5b6156fd2eb963a6f1fdd039c
+ ```
+
+## Tests
+To run tests simply execute the following command:
+
+```
+python manage.py test fallballapp.tests
+```
+
+## API Reference
+In order to explore API description follow to [apiary](http://docs.fallball.apiary.io/) page
+
+%package -n python3-fallball
+Summary: Fallball file sharing service available by REST api.
+Provides: python-fallball
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fallball
+# FallBall Service (backend)
+[![Build Status](https://travis-ci.org/ingrammicro/fallball-service.svg?branch=master)](https://travis-ci.org/ingrammicro/fallball-service) [![PyPi Status](https://img.shields.io/pypi/v/fallball.svg)](https://pypi.python.org/pypi/fallball) [![codecov](https://codecov.io/gh/ingrammicro/fallball-service/branch/master/graph/badge.svg)](https://codecov.io/gh/ingrammicro/fallball-service)
+
+
+## Overview
+FallBall is the best in class file sharing service that offers cloud storage and file synchronization for small and medium businesses (SMBs) worldwide.
+This dummy service helps developers to learn [APS Connect](http://aps.odin.com) technology
+
+## Manual Deploy
+1. Create application database:
+ ```
+ python manage.py migrate
+ ```
+1. In order to run server you need to execute the following command from the root folder of the project:
+ ```
+ python manage.py runserver <host_name>:<port>
+ ```
+
+## Deploy into docker container
+1. Run docker-compose:
+ ```
+ docker-compose up
+ ```
+1. Run kickstart script:
+ ```
+ docker exec -it fallballapp bash kickstart.sh
+ ```
+
+Admin token:
+ ```
+ d8cc06c05a6cd5d5b6156fd2eb963a6f1fdd039c
+ ```
+
+## Tests
+To run tests simply execute the following command:
+
+```
+python manage.py test fallballapp.tests
+```
+
+## API Reference
+In order to explore API description follow to [apiary](http://docs.fallball.apiary.io/) page
+
+%package help
+Summary: Development documents and examples for fallball
+Provides: python3-fallball-doc
+%description help
+# FallBall Service (backend)
+[![Build Status](https://travis-ci.org/ingrammicro/fallball-service.svg?branch=master)](https://travis-ci.org/ingrammicro/fallball-service) [![PyPi Status](https://img.shields.io/pypi/v/fallball.svg)](https://pypi.python.org/pypi/fallball) [![codecov](https://codecov.io/gh/ingrammicro/fallball-service/branch/master/graph/badge.svg)](https://codecov.io/gh/ingrammicro/fallball-service)
+
+
+## Overview
+FallBall is the best in class file sharing service that offers cloud storage and file synchronization for small and medium businesses (SMBs) worldwide.
+This dummy service helps developers to learn [APS Connect](http://aps.odin.com) technology
+
+## Manual Deploy
+1. Create application database:
+ ```
+ python manage.py migrate
+ ```
+1. In order to run server you need to execute the following command from the root folder of the project:
+ ```
+ python manage.py runserver <host_name>:<port>
+ ```
+
+## Deploy into docker container
+1. Run docker-compose:
+ ```
+ docker-compose up
+ ```
+1. Run kickstart script:
+ ```
+ docker exec -it fallballapp bash kickstart.sh
+ ```
+
+Admin token:
+ ```
+ d8cc06c05a6cd5d5b6156fd2eb963a6f1fdd039c
+ ```
+
+## Tests
+To run tests simply execute the following command:
+
+```
+python manage.py test fallballapp.tests
+```
+
+## API Reference
+In order to explore API description follow to [apiary](http://docs.fallball.apiary.io/) page
+
+%prep
+%autosetup -n fallball-1.12.0
+
+%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-fallball -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.12.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..cdd7e1d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e8e9bbfe5e26c0fb14538caf6e24843e fallball-1.12.0.tar.gz