-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython3-gssapi.spec
76 lines (55 loc) · 1.8 KB
/
python3-gssapi.spec
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# NOTE: tests are disabled since should_be has not yet been packaged.
# To re-enable, uncomment the 'check' section and lines marked 'for tests'
%global run_tests 0
%global mname python-gssapi
%global python3 python%{python3_pkgversion}
Name: python3-gssapi
Version: 1.3.0
Release: 1%{?dist}
Summary: Python 3 Bindings for GSSAPI (RFC 2743/2744 and extensions)
License: ISC
URL: https://github.com/pythongssapi/%{mname}
Source0: https://github.com/pythongssapi/%{mname}/releases/download/v%{version}/%{mname}-%{version}.tar.gz
# Patches
BuildRequires: krb5-devel >= 1.10
BuildRequires: krb5-libs >= 1.10
BuildRequires: %{python3}-devel
BuildRequires: %{python3}-setuptools
BuildRequires: %{python3}-Cython
%if 0%{?run_tests}
BuildRequires: krb5-server >= 1.10
BuildRequires: %{python3}-nose
BuildRequires: %{python3}-nose-parameterized
BuildRequires: %{python3}-should-be
%endif
%global _description\
A set of Python 3 bindings to the GSSAPI C library providing both\
a high-level pythonic interfaces and a low-level interfaces\
which more closely matches RFC 2743. Includes support for\
RFC 2743, as well as multiple extensions.
%description %_description
%package -n %{python3}-gssapi
Summary: %summary
Requires: %{python3}-six
Requires: %{python3}-decorator
%description -n %{python3}-gssapi %_description
%prep
%setup -q -n %{mname}-%{version}
%build
%py3_build
%install
%py3_install
%check
%if 0%{?run_tests}
%{__python3} setup.py nosetests
%endif
%files -n %{python3}-gssapi
%doc README.txt
%license LICENSE.txt
%{python3_sitearch}/gssapi
%{python3_sitearch}/gssapi-%{version}-py%{python3_version}.egg-info
%changelog
* Thu Jan 04 2017 Robbie Harwood <[email protected]> - 1.3.0-1
- Initial import
- Resolves: #1529318
- Resolves: #1531288