From 37409ccdf8f45de7e9abc6c8562edb44a5fcb8ef58091ec7599f38224152620e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 7 May 2018 15:57:20 +0000 Subject: [PATCH] Accepting request 605166 from home:mimi_vx ok OBS-URL: https://build.opensuse.org/request/show/605166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + gssapi-1.5.0.tar.gz | 3 +++ python-gssapi.changes | 4 +++ python-gssapi.spec | 61 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gssapi-1.5.0.tar.gz create mode 100644 python-gssapi.changes create mode 100644 python-gssapi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gssapi-1.5.0.tar.gz b/gssapi-1.5.0.tar.gz new file mode 100644 index 0000000..1eb2403 --- /dev/null +++ b/gssapi-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be715cb74ac56db2dd888b016097aaa29ab7d7d34c1f8c706ff63f76b3553f71 +size 958382 diff --git a/python-gssapi.changes b/python-gssapi.changes new file mode 100644 index 0000000..6a310ed --- /dev/null +++ b/python-gssapi.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon May 7 15:54:57 UTC 2018 - mimi.vx@gmail.com + +- initial package diff --git a/python-gssapi.spec b/python-gssapi.spec new file mode 100644 index 0000000..46706ec --- /dev/null +++ b/python-gssapi.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-gssapi +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-gssapi +Version: 1.5.0 +Release: 0 +Summary: A Python interface to RFC 2743/2744 (plus common extensions) +License: ISC +Group: Development/Languages/Python +URL: https://pythongssapi.github.io/python-gssapi/stable/ +Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz +BuildRequires: %{python_module decorator} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: krb5-devel +Requires: python-decorator +Requires: python-six +%ifpython2 +BuildRequires: python2-enum34 +Requires: python2-enum34 +%endif +%python_subpackages + +%description +Python-GSSAPI provides both low-level and high level wrappers around the GSSAPI +C libraries. While it focuses on the Kerberos mechanism, it should also be +usable with other GSSAPI mechanisms. + +%prep +%setup -q -n gssapi-%{version} + +%build +export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%{python_sitearch}/gssapi* + +%changelog