%global srcname social-auth-app-flask-sqlalchemy
%global desc Python Social Auth is an easy to setup social \
authentication/registration mechanism with support for several frameworks and \
auth providers. This is the Flask component of the python-social-auth \
ecosystem, it implements the needed functionality to integrate social-auth-core \
in a Flask based project using SQLAlchemy.
Name: python-%{srcname}
Version: 1.0.1
Release: 1%{?dist}
Summary: The Flask app component of python-social-auth with SQLAlchemy integration
License: BSD
URL: https://pypi.org/project/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
%{desc}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
Requires: %{py3_dist six}
Requires: %{py3_dist sqlalchemy}
Requires: %{py3_dist social-auth-core} >= 1.0.0
Requires: %{py3_dist social-auth-app-flask} >= 1.0.0
Requires: %{py3_dist social-auth-storage-sqlalchemy} >= 1.0.1
%description -n python3-%{srcname}
%{desc}
%prep
%autosetup -p1 -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
# No tests are provided by upstream as of 1.0.1
%files -n python3-%{srcname}
%license LICENSE
%doc README.md CHANGELOG.md
%{python3_sitelib}/social_flask_sqlalchemy
%{python3_sitelib}/social_auth_app_flask_sqlalchemy-%{version}*.egg-info
%changelog
* Wed Mar 28 2018 Jeremy Cline <jeremy@jcline.org> - 1.0.1-1
- Initial package.