Blob Blame History Raw
%global         srcname     msal-extensions
%global         forgeurl
Version:        1.2.0~b1
%global         tag         1.2.0b1

Name:           python-%{srcname}
Release:        %autorelease
Summary:        Microsoft Authentication extensions for MSAL Python
License:        MIT
URL:            %forgeurl
Source0:        %forgesource

BuildArch:      noarch

BuildRequires:  python3-devel

%global _description %{expand:
The Microsoft Authentication Extensions for Python offers secure mechanisms for
client applications to perform cross-platform token cache serialization and
persistence. It gives additional support to the Microsoft Authentication Library
for Python (MSAL).

MSAL Python supports an in-memory cache by default and provides the
SerializableTokenCache to perform cache serialization. You can read more about
this in the MSAL Python documentation. Developers are required to implement
their own cache persistance across multiple platforms and Microsoft
Authentication Extensions makes this simpler.}

%description %{_description}

%package -n python3-%{srcname}
Summary:        %{summary}

%description -n python3-%{srcname} %{_description}

%forgeautosetup -p1

# Remove DOS line endings
sed "s|\r||g" > && \
touch -r && \

%pyproject_buildrequires -r


%pyproject_save_files msal_extensions

%files -n python3-%{srcname} -f %{pyproject_files}