Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
python-django_openstack_auth
python-django_openstack_auth.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-django_openstack_auth.spec of Package python-django_openstack_auth
# # spec file for package python-django_openstack_auth # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-django_openstack_auth Version: 2.1.1 Release: 0 Summary: A Django auth backend for use with the OpenStack Keystone License: Apache-2.0 Group: Development/Languages/Python Url: http://django_openstack_auth.readthedocs.org/ Source: http://tarballs.openstack.org/django_openstack_auth/django_openstack_auth-%{version}.tar.gz BuildRequires: openstack-suse-macros BuildRequires: python-devel BuildRequires: python-pbr >= 0.6 # Documentation requirements: BuildRequires: python-Sphinx >= 1.1.2 BuildRequires: python-oslosphinx # Test requirements: BuildRequires: python-Babel >= 1.3 BuildRequires: python-Django >= 1.8 BuildRequires: python-keystoneclient >= 0.6.0 BuildRequires: python-mox3 Requires: python-Django >= 1.8 Requires: python-keystoneauth1 >= 2.1.0 Requires: python-keystoneclient >= 1.6.0 Requires: python-oslo.config >= 2.7.0 Requires: python-oslo.policy >= 0.5.0 Requires: python-pbr >= 1.6 Requires: python-six >= 1.9.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif Provides: %{name}-test = %{version} Obsoletes: %{name}-test < %{version} %description Django OpenStack Auth is a pluggable Django authentication backend that works with Django's ``contrib.auth`` framework to authenticate a user against OpenStack's Keystone Identity API. The current version is designed to work with the Keystone V2 API. %prep %setup -q -n django_openstack_auth-%{version} %build %{__python2} setup.py build #python setup.py build_sphinx && rm build/sphinx/html/.buildinfo # pbr is far to intrusive and calls to many builders, we just want docs, thus: sphinx-build -b html doc/source build/sphinx/html && rm -r build/sphinx/html/.buildinfo %install %{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot} # compile mo files from po files (cd %{buildroot}%{python2_sitelib}/openstack_auth && /usr/bin/django-admin compilemessages) # Remove po files find %{buildroot}%{python2_sitelib}/openstack_auth/locale -name "*.po" -delete -print %files %defattr(-,root,root,-) %doc LICENSE README.rst build/sphinx/html %{python2_sitelib}/django_openstack_auth-%{version}-py%{py_ver}.egg-info %{python2_sitelib}/openstack_auth %lang(ar) %{python2_sitelib}/openstack_auth/locale/ar/LC_MESSAGES/django.mo %lang(de) %{python2_sitelib}/openstack_auth/locale/de/LC_MESSAGES/django.mo %lang(en_AU) %{python2_sitelib}/openstack_auth/locale/en_AU/LC_MESSAGES/django.mo %lang(en_GB) %{python2_sitelib}/openstack_auth/locale/en_GB/LC_MESSAGES/django.mo %lang(es_MX) %{python2_sitelib}/openstack_auth/locale/es_MX/LC_MESSAGES/django.mo %lang(fr) %{python2_sitelib}/openstack_auth/locale/fr/LC_MESSAGES/django.mo %lang(hi) %{python2_sitelib}/openstack_auth/locale/hi/LC_MESSAGES/django.mo %lang(ko_KR) %{python2_sitelib}/openstack_auth/locale/ko_KR/LC_MESSAGES/django.mo %lang(nl_NL) %{python2_sitelib}/openstack_auth/locale/nl_NL/LC_MESSAGES/django.mo %lang(pl_PL) %{python2_sitelib}/openstack_auth/locale/pl_PL/LC_MESSAGES/django.mo %lang(pt_BR) %{python2_sitelib}/openstack_auth/locale/pt_BR/LC_MESSAGES/django.mo %lang(pt) %{python2_sitelib}/openstack_auth/locale/pt/LC_MESSAGES/django.mo %lang(es) %{python2_sitelib}/openstack_auth/locale/es/LC_MESSAGES/django.mo %lang(ja) %{python2_sitelib}/openstack_auth/locale/ja/LC_MESSAGES/django.mo %lang(ru) %{python2_sitelib}/openstack_auth/locale/ru/LC_MESSAGES/django.mo %lang(uk) %{python2_sitelib}/openstack_auth/locale/uk/LC_MESSAGES/django.mo %lang(zh-tw) %{python2_sitelib}/openstack_auth/locale/zh_TW/LC_MESSAGES/django.mo %lang(zh-CN) %{python2_sitelib}/openstack_auth/locale/zh_CN/LC_MESSAGES/django.mo %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor