2015-06-02 17:44:08 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-kerberos
|
|
|
|
|
#
|
2018-02-09 08:44:30 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-06-02 17:44:08 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2015-07-20 06:55:26 +00:00
|
|
|
#
|
2015-06-02 17:44:08 +00:00
|
|
|
|
|
|
|
|
|
2017-12-20 09:49:54 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
%bcond_without test
|
2015-06-02 17:44:08 +00:00
|
|
|
Name: python-kerberos
|
2017-12-20 09:49:54 +00:00
|
|
|
Version: 1.2.5
|
2015-06-02 17:44:08 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Kerberos high-level interface
|
2015-07-20 06:55:26 +00:00
|
|
|
License: Apache-2.0
|
2015-06-02 17:44:08 +00:00
|
|
|
Group: Development/Languages/Python
|
2015-07-20 06:55:26 +00:00
|
|
|
Url: http://www.calendarserver.org/
|
2017-12-20 09:49:54 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/k/kerberos/kerberos-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: fdupes
|
2017-12-20 09:53:24 +00:00
|
|
|
BuildRequires: krb5-mini-devel
|
2017-12-20 09:49:54 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
%python_subpackages
|
2015-06-02 17:44:08 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A high-level wrapper for Kerberos (GSSAPI) operations.
|
|
|
|
|
The goal is to avoid having to build a module that wraps
|
|
|
|
|
the entire Kerberos.framework, and instead offer a limited set of
|
|
|
|
|
functions that do what is needed for client/server Kerberos
|
|
|
|
|
authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n kerberos-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2017-12-20 09:49:54 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
%python_build
|
2015-06-02 17:44:08 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-12-20 09:49:54 +00:00
|
|
|
%python_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2015-06-02 17:44:08 +00:00
|
|
|
|
2017-12-20 09:49:54 +00:00
|
|
|
%files %{python_files}
|
2015-06-02 17:44:08 +00:00
|
|
|
%defattr(-,root,root,-)
|
2017-12-20 09:49:54 +00:00
|
|
|
%doc README.rst
|
2015-06-02 17:44:08 +00:00
|
|
|
%{python_sitearch}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|