diff options
Diffstat (limited to 'python-waldur-mastermind.spec')
-rw-r--r-- | python-waldur-mastermind.spec | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/python-waldur-mastermind.spec b/python-waldur-mastermind.spec new file mode 100644 index 0000000..c81273c --- /dev/null +++ b/python-waldur-mastermind.spec @@ -0,0 +1,144 @@ +%global _empty_manifest_terminate_build 0 +Name: python-waldur-mastermind +Version: 4.5.1 +Release: 1 +Summary: Waldur MasterMind is a hybrid cloud orchestrator. +License: MIT +URL: http://waldur.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/25/ff/62b512c6fd64c15344dc16f970a7f6140f3af278052ec11d7930f8c39870/waldur-mastermind-4.5.1.tar.gz +BuildArch: noarch + +Requires: python3-ansible-waldur-module +Requires: python3-apache-libcloud +Requires: python3-azure-mgmt-compute +Requires: python3-azure-mgmt-network +Requires: python3-azure-mgmt-rdbms +Requires: python3-azure-mgmt-resource +Requires: python3-azure-mgmt-storage +Requires: python3-Babel +Requires: python3-Celery +Requires: python3-croniter +Requires: python3-defusedxml +Requires: python3-django-admin-tools +Requires: python3-django-auth-ldap +Requires: python3-django-defender +Requires: python3-django-filter +Requires: python3-django-fluent-dashboard +Requires: python3-django-fsm +Requires: python3-django-jsoneditor +Requires: python3-django-model-utils +Requires: python3-django-redis-cache +Requires: python3-django-rest-swagger +Requires: python3-django-reversion +Requires: python3-django-taggit +Requires: python3-Django +Requires: python3-djangorestframework +Requires: python3-djangosaml2 +Requires: python3-docker +Requires: python3-hiredis +Requires: python3-influxdb +Requires: python3-iptools +Requires: python3-jira +Requires: python3-lxml +Requires: python3-passlib +Requires: python3-paypalrestsdk +Requires: python3-pbr +Requires: python3-pdfkit +Requires: python3-Pillow +Requires: python3-PrettyTable +Requires: python3-psycopg2-binary +Requires: python3-pycountry +Requires: python3-cinderclient +Requires: python3-digitalocean +Requires: python3-freeipa +Requires: python3-glanceclient +Requires: python3-keystoneclient +Requires: python3-neutronclient +Requires: python3-novaclient +Requires: python3-pyvat +Requires: python3-pyvmomi +Requires: python3-PyYAML +Requires: python3-pyzabbix +Requires: python3-redis +Requires: python3-requests +Requires: python3-sqlparse +Requires: python3-pyjwt +Requires: python3-sentry-sdk +Requires: python3-ddt +Requires: python3-docker +Requires: python3-factory-boy +Requires: python3-freezegun +Requires: python3-mock-django +Requires: python3-sqlalchemy +Requires: python3-responses + +%description +Waldur MasterMind is an open-source RESTful server for multi-tenant resource management. +It provides an easy way for sharing access to external systems. +It is used as a platform for creating private and public clouds. +Additional information can be found at http://docs.waldur.com. + +%package -n python3-waldur-mastermind +Summary: Waldur MasterMind is a hybrid cloud orchestrator. +Provides: python-waldur-mastermind +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-waldur-mastermind +Waldur MasterMind is an open-source RESTful server for multi-tenant resource management. +It provides an easy way for sharing access to external systems. +It is used as a platform for creating private and public clouds. +Additional information can be found at http://docs.waldur.com. + +%package help +Summary: Development documents and examples for waldur-mastermind +Provides: python3-waldur-mastermind-doc +%description help +Waldur MasterMind is an open-source RESTful server for multi-tenant resource management. +It provides an easy way for sharing access to external systems. +It is used as a platform for creating private and public clouds. +Additional information can be found at http://docs.waldur.com. + +%prep +%autosetup -n waldur-mastermind-4.5.1 + +%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-waldur-mastermind -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 4.5.1-1 +- Package Spec generated |