diff options
Diffstat (limited to 'python-richie.spec')
| -rw-r--r-- | python-richie.spec | 286 |
1 files changed, 286 insertions, 0 deletions
diff --git a/python-richie.spec b/python-richie.spec new file mode 100644 index 0000000..301206c --- /dev/null +++ b/python-richie.spec @@ -0,0 +1,286 @@ +%global _empty_manifest_terminate_build 0 +Name: python-richie +Version: 2.22.0 +Release: 1 +Summary: A CMS to build learning portals for open education +License: MIT +URL: https://github.com/openfun/richie +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/5f/b6a8e6836a3fd059ef7e87fbf12f197539e8ea1df3a7827e2d1f5a3c57d3/richie-2.22.0.tar.gz +BuildArch: noarch + +Requires: python3-arrow +Requires: python3-Django +Requires: python3-djangocms-file +Requires: python3-djangocms-googlemap +Requires: python3-djangocms-link +Requires: python3-djangocms-picture +Requires: python3-djangocms-text-ckeditor +Requires: python3-djangocms-video +Requires: python3-djangorestframework +Requires: python3-django-autocomplete-light +Requires: python3-django-cms +Requires: python3-django-parler +Requires: python3-django-redis +Requires: python3-django-treebeard +Requires: python3-dj-pagination +Requires: python3-easy-thumbnails[svg] +Requires: python3-elasticsearch +Requires: python3-exrex +Requires: python3-oauthlib +Requires: python3-requests +Requires: python3-twine +Requires: python3-bandit +Requires: python3-black +Requires: python3-pyRdfa3 +Requires: python3-cssselect +Requires: python3-factory-boy +Requires: python3-flake8 +Requires: python3-htmlmin +Requires: python3-ipdb +Requires: python3-ipython +Requires: python3-isort +Requires: python3-lxml +Requires: python3-msgpack +Requires: python3-mysqlclient +Requires: python3-pylint +Requires: python3-pylint-django +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-django +Requires: python3-responses +Requires: python3-django-configurations +Requires: python3-dockerflow +Requires: python3-factory-boy +Requires: python3-gunicorn +Requires: python3-psycopg2-binary +Requires: python3-sentry-sdk + +%description +# Richie, the best OpenSource CMS to build education portals + +[](https://circleci.com/gh/openfun/richie/tree/master) + +## Overview + +`Learning Management Systems` (LMS) are great tools for hosting and playing interactive online +courses and MOOCs. + +However, if you need to build a complete website with flexible content to aggregate your courses, +in several languages and from different sources, **you will soon need a CMS**. + +At "France Université Numérique", we wanted to build an OpenSource portal with `Python` and +`Django`. That's why we built `Richie` on top of [DjangoCMS](https://www.django-cms.org), one of +the best CMS on the market, as a toolbox to easily create full fledged websites with a catalog of +online courses. + +Among the features that `Richie` offers out of the box: + +- multi-lingual by default, +- advanced access rights and moderation, +- catalog of courses synchronized with one or more `LMS` instances, +- search engine based on `Elasticsearch` and pre-configured to offer full-text queries, + multi-facetting, auto-complete,... +- flexible custom pages for courses, organizations, categories, teachers, blog posts, + programs (and their inter-relations), +- Extensible with any third-party `DjangoCMS` plugin or any third-party `Django` application. + +## Discover Richie + +If you're looking for a quick preview of `Richie`, you can take a look and have a tour of +`Richie` on our dedicated [demo site](https://demo.richie.education). + +It is connected back-to-back with a demo of OpenEdX running on +[OpenEdX Docker](https://github.com/openfun/openedx-docker). + +Two users are available for testing: + +- admin: `admin@example.com`/`admin` +- student: `edx@example.com`/`edx` + +The database is regularly flushed. + +## Getting started + +Take a look at our [documentation](https://richie.education/docs/discover) to get started with Richie. + +## Contributing + +### [Contributing guide](https://richie.education/docs/contributing-guide) + +Read our [contributing guide](https://richie.education/docs/contributing-guide) to learn about our development process and get started developing on `Richie`. + +### License + +This work is released under the MIT License (see [LICENSE](./LICENSE)). + + +%package -n python3-richie +Summary: A CMS to build learning portals for open education +Provides: python-richie +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-richie +# Richie, the best OpenSource CMS to build education portals + +[](https://circleci.com/gh/openfun/richie/tree/master) + +## Overview + +`Learning Management Systems` (LMS) are great tools for hosting and playing interactive online +courses and MOOCs. + +However, if you need to build a complete website with flexible content to aggregate your courses, +in several languages and from different sources, **you will soon need a CMS**. + +At "France Université Numérique", we wanted to build an OpenSource portal with `Python` and +`Django`. That's why we built `Richie` on top of [DjangoCMS](https://www.django-cms.org), one of +the best CMS on the market, as a toolbox to easily create full fledged websites with a catalog of +online courses. + +Among the features that `Richie` offers out of the box: + +- multi-lingual by default, +- advanced access rights and moderation, +- catalog of courses synchronized with one or more `LMS` instances, +- search engine based on `Elasticsearch` and pre-configured to offer full-text queries, + multi-facetting, auto-complete,... +- flexible custom pages for courses, organizations, categories, teachers, blog posts, + programs (and their inter-relations), +- Extensible with any third-party `DjangoCMS` plugin or any third-party `Django` application. + +## Discover Richie + +If you're looking for a quick preview of `Richie`, you can take a look and have a tour of +`Richie` on our dedicated [demo site](https://demo.richie.education). + +It is connected back-to-back with a demo of OpenEdX running on +[OpenEdX Docker](https://github.com/openfun/openedx-docker). + +Two users are available for testing: + +- admin: `admin@example.com`/`admin` +- student: `edx@example.com`/`edx` + +The database is regularly flushed. + +## Getting started + +Take a look at our [documentation](https://richie.education/docs/discover) to get started with Richie. + +## Contributing + +### [Contributing guide](https://richie.education/docs/contributing-guide) + +Read our [contributing guide](https://richie.education/docs/contributing-guide) to learn about our development process and get started developing on `Richie`. + +### License + +This work is released under the MIT License (see [LICENSE](./LICENSE)). + + +%package help +Summary: Development documents and examples for richie +Provides: python3-richie-doc +%description help +# Richie, the best OpenSource CMS to build education portals + +[](https://circleci.com/gh/openfun/richie/tree/master) + +## Overview + +`Learning Management Systems` (LMS) are great tools for hosting and playing interactive online +courses and MOOCs. + +However, if you need to build a complete website with flexible content to aggregate your courses, +in several languages and from different sources, **you will soon need a CMS**. + +At "France Université Numérique", we wanted to build an OpenSource portal with `Python` and +`Django`. That's why we built `Richie` on top of [DjangoCMS](https://www.django-cms.org), one of +the best CMS on the market, as a toolbox to easily create full fledged websites with a catalog of +online courses. + +Among the features that `Richie` offers out of the box: + +- multi-lingual by default, +- advanced access rights and moderation, +- catalog of courses synchronized with one or more `LMS` instances, +- search engine based on `Elasticsearch` and pre-configured to offer full-text queries, + multi-facetting, auto-complete,... +- flexible custom pages for courses, organizations, categories, teachers, blog posts, + programs (and their inter-relations), +- Extensible with any third-party `DjangoCMS` plugin or any third-party `Django` application. + +## Discover Richie + +If you're looking for a quick preview of `Richie`, you can take a look and have a tour of +`Richie` on our dedicated [demo site](https://demo.richie.education). + +It is connected back-to-back with a demo of OpenEdX running on +[OpenEdX Docker](https://github.com/openfun/openedx-docker). + +Two users are available for testing: + +- admin: `admin@example.com`/`admin` +- student: `edx@example.com`/`edx` + +The database is regularly flushed. + +## Getting started + +Take a look at our [documentation](https://richie.education/docs/discover) to get started with Richie. + +## Contributing + +### [Contributing guide](https://richie.education/docs/contributing-guide) + +Read our [contributing guide](https://richie.education/docs/contributing-guide) to learn about our development process and get started developing on `Richie`. + +### License + +This work is released under the MIT License (see [LICENSE](./LICENSE)). + + +%prep +%autosetup -n richie-2.22.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-richie -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.22.0-1 +- Package Spec generated |
