summaryrefslogtreecommitdiff
path: root/python-openidc-client.spec
blob: 9badba9705bb417cebd497ffcaa1b68166767bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%global srcname openidc-client
%global pkgname openidc_client


Name:           python-%{srcname}
Version:        0.6.0
Release:        1
Summary:        Python OpenID Connect client with token caching and management

License:        MIT
Source0:        %{name}.tar.gz

BuildArch:      noarch

%description
%{summary}.

%package     -n python3-%{srcname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-requests
Requires:       python3-requests

%description -n python3-%{srcname}
%{summary}.

%prep
%autosetup -n %{name}

%build
%py3_build

%install
%py3_install

%check
%{__python3} setup.py test

%files -n python3-openidc-client
%license COPYING
%doc README.md
%{python3_sitelib}/%{pkgname}-*.egg-info/
%{python3_sitelib}/%{pkgname}/

%changelog
* Thu Jun 30 2021 jinzig <jinzhiguang@kylinos.cn> - 0.6-1
- Initial packaging of python-openidc-client