diff options
Diffstat (limited to 'python-arches.spec')
-rw-r--r-- | python-arches.spec | 291 |
1 files changed, 291 insertions, 0 deletions
diff --git a/python-arches.spec b/python-arches.spec new file mode 100644 index 0000000..4946a52 --- /dev/null +++ b/python-arches.spec @@ -0,0 +1,291 @@ +%global _empty_manifest_terminate_build 0 +Name: python-arches +Version: 7.3.0 +Release: 1 +Summary: Arches is an open-source, web-based, geospatial information system for cultural heritage inventory and management. +License: GNU AGPL3 +URL: http://archesproject.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/62/60/444a552adb6942ef53c5d573fc69578a50513ba5dade065cbcff4b0d92dc/arches-7.3.0.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-psycopg2-binary +Requires: python3-elasticsearch +Requires: python3-rdflib +Requires: python3-django-guardian +Requires: python3-memcached +Requires: python3-celery +Requires: python3-django-celery-results +Requires: python3-mapbox-vector-tile +Requires: python3-SPARQLWrapper +Requires: python3-django-recaptcha +Requires: python3-edtf +Requires: python3-arches-django-revproxy +Requires: python3-django-cors-headers +Requires: python3-django-oauth-toolkit +Requires: python3-polib +Requires: python3-docx +Requires: python3-PyLD[requests] +Requires: python3-pyprind +Requires: python3-pycryptodome +Requires: python3-pyotp +Requires: python3-qrcode +Requires: python3-pyshp +Requires: python3-requests[security] +Requires: python3-slugify +Requires: python3-pillow +Requires: python3-arcgis2geojson +Requires: python3-openpyxl +Requires: python3-django-compressor +Requires: python3-django-libsass +Requires: python3-django-webpack-loader +Requires: python3-filetype +Requires: python3-defusedxml +Requires: python3-requests-oauthlib +Requires: python3-pyjwt +Requires: python3-pyjwt[crypto] + +%description +# Arches [](https://travis-ci.org/archesproject/arches) [](https://coveralls.io/github/archesproject/arches?branch=master) + +Arches is a web-based, geospatial information system for cultural heritage inventory and management. Arches is purpose-built for the international cultural heritage field, and designed to record all types of immovable heritage, including archaeological sites, buildings and other historic structures, landscapes, and heritage ensembles or districts. For more information and background on the Arches project, please visit [archesproject.org](http://archesproject.org/). + +For general inquiries and to get technical support from the wider Arches community, visit our [Community Forum](https://community.archesproject.org/). + +For general user installation and app documentation, visit [arches.readthedocs.io](https://arches.readthedocs.io). + +For the documentation pertaining to the bleeding edge code (what is in the ``master`` branch), visit [arches.readthedocs.io/en/latest](https://arches.readthedocs.io/en/latest). We welcome new contributors; please see [Contributing to Arches](CONTRIBUTING.md) for details. + +Issue reports are encouraged! [Please read this article](http://polite.technology/reportabug.html) before reporting issues. +* [Report a Bug](https://github.com/archesproject/arches/issues/new?template=bug.md) +* [File a Feature Ticket](https://github.com/archesproject/arches/issues/new?template=feature.md) + +[Version 7.3.0 release notes](https://github.com/archesproject/arches/blob/dev/7.3.x/releases/7.3.0.md) + +#### Quick Install + +Installation is fully documented in the official documentation, [arches.readthedocs.io/en/stable](https://arches.readthedocs.io/en/stable), but assuming you have all of the dependencies installed you should make a virtual environment, activate it, and then run +``` + pip install arches +``` +then +``` + arches-project create myproject +``` +enter the new `myproject` directory +``` + cd myproject +``` +and run +``` + python manage.py setup_db + python manage.py runserver +``` +in a separate terminal, activate your virtual environment and navigate to the root directory of the project ( you should be on the same level as `package.json`) +``` + cd myproject/myproject +``` +and run +``` + yarn build_development +``` +to create a frontend asset bundle. This process should complete in less than 2 minutes. + +Finally, visit `localhost:8000` in a browser (only Chrome is fully supported at this time). + +If you run into problems, please review our the full [installation documentation](http://arches.readthedocs.io/en/stable/installation/) + +#### Release Cycle + +Our general release cycle will typically be a functional release (either major if there are backward incompatible changes or minor, if there are not) followed in 6-12 weeks by a bug release (patch). See [semver.org](https://semver.org/) for version numbering. + +- Functional releases will usually introduce new functionality to the application but could also include styling updates, enhancements to the UX, bug fixes, and general improvements. +- Bug releases are really only concerned with fixing any bugs related to the previous release or any other issues not yet addressed + +##### Support for previous releases + +Functional releases will be supported until the next functional release. After that users are expected to upgrade to the latest release on [pypi.python.org](https://pypi.python.org/pypi/arches) + + + + +%package -n python3-arches +Summary: Arches is an open-source, web-based, geospatial information system for cultural heritage inventory and management. +Provides: python-arches +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-arches +# Arches [](https://travis-ci.org/archesproject/arches) [](https://coveralls.io/github/archesproject/arches?branch=master) + +Arches is a web-based, geospatial information system for cultural heritage inventory and management. Arches is purpose-built for the international cultural heritage field, and designed to record all types of immovable heritage, including archaeological sites, buildings and other historic structures, landscapes, and heritage ensembles or districts. For more information and background on the Arches project, please visit [archesproject.org](http://archesproject.org/). + +For general inquiries and to get technical support from the wider Arches community, visit our [Community Forum](https://community.archesproject.org/). + +For general user installation and app documentation, visit [arches.readthedocs.io](https://arches.readthedocs.io). + +For the documentation pertaining to the bleeding edge code (what is in the ``master`` branch), visit [arches.readthedocs.io/en/latest](https://arches.readthedocs.io/en/latest). We welcome new contributors; please see [Contributing to Arches](CONTRIBUTING.md) for details. + +Issue reports are encouraged! [Please read this article](http://polite.technology/reportabug.html) before reporting issues. +* [Report a Bug](https://github.com/archesproject/arches/issues/new?template=bug.md) +* [File a Feature Ticket](https://github.com/archesproject/arches/issues/new?template=feature.md) + +[Version 7.3.0 release notes](https://github.com/archesproject/arches/blob/dev/7.3.x/releases/7.3.0.md) + +#### Quick Install + +Installation is fully documented in the official documentation, [arches.readthedocs.io/en/stable](https://arches.readthedocs.io/en/stable), but assuming you have all of the dependencies installed you should make a virtual environment, activate it, and then run +``` + pip install arches +``` +then +``` + arches-project create myproject +``` +enter the new `myproject` directory +``` + cd myproject +``` +and run +``` + python manage.py setup_db + python manage.py runserver +``` +in a separate terminal, activate your virtual environment and navigate to the root directory of the project ( you should be on the same level as `package.json`) +``` + cd myproject/myproject +``` +and run +``` + yarn build_development +``` +to create a frontend asset bundle. This process should complete in less than 2 minutes. + +Finally, visit `localhost:8000` in a browser (only Chrome is fully supported at this time). + +If you run into problems, please review our the full [installation documentation](http://arches.readthedocs.io/en/stable/installation/) + +#### Release Cycle + +Our general release cycle will typically be a functional release (either major if there are backward incompatible changes or minor, if there are not) followed in 6-12 weeks by a bug release (patch). See [semver.org](https://semver.org/) for version numbering. + +- Functional releases will usually introduce new functionality to the application but could also include styling updates, enhancements to the UX, bug fixes, and general improvements. +- Bug releases are really only concerned with fixing any bugs related to the previous release or any other issues not yet addressed + +##### Support for previous releases + +Functional releases will be supported until the next functional release. After that users are expected to upgrade to the latest release on [pypi.python.org](https://pypi.python.org/pypi/arches) + + + + +%package help +Summary: Development documents and examples for arches +Provides: python3-arches-doc +%description help +# Arches [](https://travis-ci.org/archesproject/arches) [](https://coveralls.io/github/archesproject/arches?branch=master) + +Arches is a web-based, geospatial information system for cultural heritage inventory and management. Arches is purpose-built for the international cultural heritage field, and designed to record all types of immovable heritage, including archaeological sites, buildings and other historic structures, landscapes, and heritage ensembles or districts. For more information and background on the Arches project, please visit [archesproject.org](http://archesproject.org/). + +For general inquiries and to get technical support from the wider Arches community, visit our [Community Forum](https://community.archesproject.org/). + +For general user installation and app documentation, visit [arches.readthedocs.io](https://arches.readthedocs.io). + +For the documentation pertaining to the bleeding edge code (what is in the ``master`` branch), visit [arches.readthedocs.io/en/latest](https://arches.readthedocs.io/en/latest). We welcome new contributors; please see [Contributing to Arches](CONTRIBUTING.md) for details. + +Issue reports are encouraged! [Please read this article](http://polite.technology/reportabug.html) before reporting issues. +* [Report a Bug](https://github.com/archesproject/arches/issues/new?template=bug.md) +* [File a Feature Ticket](https://github.com/archesproject/arches/issues/new?template=feature.md) + +[Version 7.3.0 release notes](https://github.com/archesproject/arches/blob/dev/7.3.x/releases/7.3.0.md) + +#### Quick Install + +Installation is fully documented in the official documentation, [arches.readthedocs.io/en/stable](https://arches.readthedocs.io/en/stable), but assuming you have all of the dependencies installed you should make a virtual environment, activate it, and then run +``` + pip install arches +``` +then +``` + arches-project create myproject +``` +enter the new `myproject` directory +``` + cd myproject +``` +and run +``` + python manage.py setup_db + python manage.py runserver +``` +in a separate terminal, activate your virtual environment and navigate to the root directory of the project ( you should be on the same level as `package.json`) +``` + cd myproject/myproject +``` +and run +``` + yarn build_development +``` +to create a frontend asset bundle. This process should complete in less than 2 minutes. + +Finally, visit `localhost:8000` in a browser (only Chrome is fully supported at this time). + +If you run into problems, please review our the full [installation documentation](http://arches.readthedocs.io/en/stable/installation/) + +#### Release Cycle + +Our general release cycle will typically be a functional release (either major if there are backward incompatible changes or minor, if there are not) followed in 6-12 weeks by a bug release (patch). See [semver.org](https://semver.org/) for version numbering. + +- Functional releases will usually introduce new functionality to the application but could also include styling updates, enhancements to the UX, bug fixes, and general improvements. +- Bug releases are really only concerned with fixing any bugs related to the previous release or any other issues not yet addressed + +##### Support for previous releases + +Functional releases will be supported until the next functional release. After that users are expected to upgrade to the latest release on [pypi.python.org](https://pypi.python.org/pypi/arches) + + + + +%prep +%autosetup -n arches-7.3.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-arches -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 7.3.0-1 +- Package Spec generated |