From 44cd49f75507b88dfaa88d3cd98fee5112f74fa3 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: May 29 2020 05:01:38 +0000 Subject: First import --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..320935b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/msal-1.3.0.tar.gz diff --git a/python-msal.spec b/python-msal.spec new file mode 100644 index 0000000..64d1e47 --- /dev/null +++ b/python-msal.spec @@ -0,0 +1,58 @@ +%global srcname msal +%global _description %{expand:The Microsoft Authentication Library for Python enables applications to +integrate with the Microsoft identity platform. It allows you to sign in users +or apps with Microsoft identities (Azure AD, Microsoft Accounts and Azure AD B2C +accounts) and obtain tokens to call Microsoft APIs such as Microsoft Graph or +your own APIs registered with the Microsoft identity platform. It is built using +industry standard OAuth2 and OpenID Connect protocols.} + +Name: python-%{srcname} +Version: 1.3.0 +Release: 1%{?dist} +Summary: Microsoft Authentication Library (MSAL) for Python + +License: MIT +URL: https://github.com/AzureAD/microsoft-authentication-library-for-python/ +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: python3-devel +BuildRequires: %{py3_dist setuptools} +BuildArch: noarch + +%description +%{_description} + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +%{_description} + + +%prep +%autosetup -n microsoft-authentication-library-for-python-%{version} + +# Remove bundled egg-info +rm -rf *.egg-info + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-%{srcname} +%doc README.md +%license LICENSE +%{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}-*.egg-info/ + + +%changelog +* Fri May 29 2020 Mohamed El Morabity - 1.3.0-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..ca48812 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (msal-1.3.0.tar.gz) = d4a2299835300f94ce571e8976090a19d86d63ce44ea786053dfb5f0abb50e7f3f1103db89b743a4502c2a06017e255e3074a516bc622c831ad6c85bce73848b