%global _empty_manifest_terminate_build 0 Name: python-EOxServer Version: 1.2.6 Release: 1 Summary: EOxServer is a server for Earth Observation (EO) data License: EOxServer Open License (MIT-style) URL: http://eoxserver.org/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6f/2e/27b3d717f47c8b7eba8c0605e8d5a5ddc425af71140149cf122739ac8491/EOxServer-1.2.6.tar.gz BuildArch: noarch Requires: python3-django-model-utils Requires: python3-django-prometheus Requires: python3-django-utils-six Requires: python3-django Requires: python3-gdal Requires: python3-gunicorn Requires: python3-jsonfield Requires: python3-lxml Requires: python3-mapscript Requires: python3-matplotlib Requires: python3-psycopg2 Requires: python3-pycql Requires: python3-pyows Requires: python3-dateutil Requires: python3-keystoneclient Requires: python3-swiftclient Requires: python3-tzdata Requires: python3-zipstream Requires: python3-black Requires: python3-flake8 Requires: python3-mypy Requires: python3-scipy Requires: python3-myst-parser Requires: python3-sphinx Requires: python3-sphinx-rtd-theme %description # EOxServer EOxServer is a Python application and library for presenting Earth Observation (EO) data and metadata. ![build](https://github.com/EOxServer/eoxserver/actions/workflows/ci.yml/badge.svg) [![PyPi](https://badge.fury.io/py/EOxServer.svg)](https://pypi.org/project/EOxServer/) [![ReadTheDocs](https://readthedocs.org/projects/eoxserver/badge/?version=master)](http://docs.eoxserver.org/en/master) EOxServer implements the [OGC](http://www.opengeospatial.org) Implementation Specifications EO-WCS and EO-WMS on top of [MapServer's](http://mapserver.org) [WCS](http://www.opengeospatial.org/standards/wcs) and [WMS](http://www.opengeospatial.org/standards/wms) implementations. EOxServer is released under the [EOxServer Open License](https://docs.eoxserver.org/en/stable/copyright.html) an MIT-style license and written in python and entirely based on open source software including: - [MapServer](http://mapserver.org) - [Django/GeoDjango](https://www.djangoproject.com) - [GDAL](http://www.gdal.org>) - [SpatiaLite](http://www.gaia-gis.it/spatialite) - [PostGIS](http://postgis.refractions.net/>) - [PROJ.4](http://trac.osgeo.org/proj/>) More information is available at [https://eoxserver.org](https://eoxserver.org). Documentation is available at [readthedocs](https://docs.eoxserver.org/en/stable/) ## Docker To run with SpatiaLite database simply run: ```sh docker run -it --rm -p 8080:8000 eoxa/eoxserver ``` EOxServer is now accessible at [http://localhost:8080/](http://localhost:8080/). And you can login to the `Admin Client` using: - username: admin - password: admin The following environment variables control configuration: - `DB`: Specify the used database type. either `spatialite` or `postgis` - `DB_PW`, `DB_NAME`, `DB_HOST`, `DB_USER`: these credentials will be used to establish a connection to the postgres database when DB is set to `postgis` in order to wait for it to come online - `INSTANCE_NAME`: the name of the instance passed to `eoxserver-instance.py` - defaults to `instance` - `INSTANCE_DIR`: the directory of the instance. Defaults to `/opt/instance` - `DJANGO_USER`, `DJANGO_MAIL`, `DJANGO_PASSWORD`: when set, these credentials will be used to create a superuser to be used for the Django Admin. By default, no user is created - `COLLECT_STATIC`: if set to "true" (the default), static files will be collected upon initialization - `PREINIT_SCRIPTS`: the list of commands that will be executed before the instance is initialized - `INIT_SCRIPTS`: the list of commands that will be executed once when the instance is initialized - `STARTUP_SCRIPTS`: the list of commands that will be executed before the command is run - `GUNICORN_CMD_ARGS`: gunicorn command arguments. Defaults to `--config /opt/eoxserver/gunicorn.conf.py ${INSTANCE_NAME}.wsgi:application` ## Development The autotest instance can be used for development and testing. More information in `./autotest/README.md` %package -n python3-EOxServer Summary: EOxServer is a server for Earth Observation (EO) data Provides: python-EOxServer BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-EOxServer # EOxServer EOxServer is a Python application and library for presenting Earth Observation (EO) data and metadata. ![build](https://github.com/EOxServer/eoxserver/actions/workflows/ci.yml/badge.svg) [![PyPi](https://badge.fury.io/py/EOxServer.svg)](https://pypi.org/project/EOxServer/) [![ReadTheDocs](https://readthedocs.org/projects/eoxserver/badge/?version=master)](http://docs.eoxserver.org/en/master) EOxServer implements the [OGC](http://www.opengeospatial.org) Implementation Specifications EO-WCS and EO-WMS on top of [MapServer's](http://mapserver.org) [WCS](http://www.opengeospatial.org/standards/wcs) and [WMS](http://www.opengeospatial.org/standards/wms) implementations. EOxServer is released under the [EOxServer Open License](https://docs.eoxserver.org/en/stable/copyright.html) an MIT-style license and written in python and entirely based on open source software including: - [MapServer](http://mapserver.org) - [Django/GeoDjango](https://www.djangoproject.com) - [GDAL](http://www.gdal.org>) - [SpatiaLite](http://www.gaia-gis.it/spatialite) - [PostGIS](http://postgis.refractions.net/>) - [PROJ.4](http://trac.osgeo.org/proj/>) More information is available at [https://eoxserver.org](https://eoxserver.org). Documentation is available at [readthedocs](https://docs.eoxserver.org/en/stable/) ## Docker To run with SpatiaLite database simply run: ```sh docker run -it --rm -p 8080:8000 eoxa/eoxserver ``` EOxServer is now accessible at [http://localhost:8080/](http://localhost:8080/). And you can login to the `Admin Client` using: - username: admin - password: admin The following environment variables control configuration: - `DB`: Specify the used database type. either `spatialite` or `postgis` - `DB_PW`, `DB_NAME`, `DB_HOST`, `DB_USER`: these credentials will be used to establish a connection to the postgres database when DB is set to `postgis` in order to wait for it to come online - `INSTANCE_NAME`: the name of the instance passed to `eoxserver-instance.py` - defaults to `instance` - `INSTANCE_DIR`: the directory of the instance. Defaults to `/opt/instance` - `DJANGO_USER`, `DJANGO_MAIL`, `DJANGO_PASSWORD`: when set, these credentials will be used to create a superuser to be used for the Django Admin. By default, no user is created - `COLLECT_STATIC`: if set to "true" (the default), static files will be collected upon initialization - `PREINIT_SCRIPTS`: the list of commands that will be executed before the instance is initialized - `INIT_SCRIPTS`: the list of commands that will be executed once when the instance is initialized - `STARTUP_SCRIPTS`: the list of commands that will be executed before the command is run - `GUNICORN_CMD_ARGS`: gunicorn command arguments. Defaults to `--config /opt/eoxserver/gunicorn.conf.py ${INSTANCE_NAME}.wsgi:application` ## Development The autotest instance can be used for development and testing. More information in `./autotest/README.md` %package help Summary: Development documents and examples for EOxServer Provides: python3-EOxServer-doc %description help # EOxServer EOxServer is a Python application and library for presenting Earth Observation (EO) data and metadata. ![build](https://github.com/EOxServer/eoxserver/actions/workflows/ci.yml/badge.svg) [![PyPi](https://badge.fury.io/py/EOxServer.svg)](https://pypi.org/project/EOxServer/) [![ReadTheDocs](https://readthedocs.org/projects/eoxserver/badge/?version=master)](http://docs.eoxserver.org/en/master) EOxServer implements the [OGC](http://www.opengeospatial.org) Implementation Specifications EO-WCS and EO-WMS on top of [MapServer's](http://mapserver.org) [WCS](http://www.opengeospatial.org/standards/wcs) and [WMS](http://www.opengeospatial.org/standards/wms) implementations. EOxServer is released under the [EOxServer Open License](https://docs.eoxserver.org/en/stable/copyright.html) an MIT-style license and written in python and entirely based on open source software including: - [MapServer](http://mapserver.org) - [Django/GeoDjango](https://www.djangoproject.com) - [GDAL](http://www.gdal.org>) - [SpatiaLite](http://www.gaia-gis.it/spatialite) - [PostGIS](http://postgis.refractions.net/>) - [PROJ.4](http://trac.osgeo.org/proj/>) More information is available at [https://eoxserver.org](https://eoxserver.org). Documentation is available at [readthedocs](https://docs.eoxserver.org/en/stable/) ## Docker To run with SpatiaLite database simply run: ```sh docker run -it --rm -p 8080:8000 eoxa/eoxserver ``` EOxServer is now accessible at [http://localhost:8080/](http://localhost:8080/). And you can login to the `Admin Client` using: - username: admin - password: admin The following environment variables control configuration: - `DB`: Specify the used database type. either `spatialite` or `postgis` - `DB_PW`, `DB_NAME`, `DB_HOST`, `DB_USER`: these credentials will be used to establish a connection to the postgres database when DB is set to `postgis` in order to wait for it to come online - `INSTANCE_NAME`: the name of the instance passed to `eoxserver-instance.py` - defaults to `instance` - `INSTANCE_DIR`: the directory of the instance. Defaults to `/opt/instance` - `DJANGO_USER`, `DJANGO_MAIL`, `DJANGO_PASSWORD`: when set, these credentials will be used to create a superuser to be used for the Django Admin. By default, no user is created - `COLLECT_STATIC`: if set to "true" (the default), static files will be collected upon initialization - `PREINIT_SCRIPTS`: the list of commands that will be executed before the instance is initialized - `INIT_SCRIPTS`: the list of commands that will be executed once when the instance is initialized - `STARTUP_SCRIPTS`: the list of commands that will be executed before the command is run - `GUNICORN_CMD_ARGS`: gunicorn command arguments. Defaults to `--config /opt/eoxserver/gunicorn.conf.py ${INSTANCE_NAME}.wsgi:application` ## Development The autotest instance can be used for development and testing. More information in `./autotest/README.md` %prep %autosetup -n EOxServer-1.2.6 %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-EOxServer -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.2.6-1 - Package Spec generated