From 9ee7864c26001c76e257c415fbb18bd708fc9c06f0be367a503607eb73e775d2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 1 Feb 2017 08:50:42 +0000 Subject: [PATCH] Accepting request 445812 from devel:languages:python - Include in SLE 12 (fate#322171, bsc#1014478) OBS-URL: https://build.opensuse.org/request/show/445812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-adal?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + adal-0.4.3.tar.gz | 3 +++ python-adal.changes | 10 +++++++++ python-adal.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 adal-0.4.3.tar.gz create mode 100644 python-adal.changes create mode 100644 python-adal.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/adal-0.4.3.tar.gz b/adal-0.4.3.tar.gz new file mode 100644 index 0000000..87b5909 --- /dev/null +++ b/adal-0.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cf8ce4784b85cf18b1446be492cf56b25b2c4635d024bca238d347ea0713d70 +size 27835 diff --git a/python-adal.changes b/python-adal.changes new file mode 100644 index 0000000..48fd15c --- /dev/null +++ b/python-adal.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 12 15:32:12 UTC 2016 - ms@suse.com + +- Include in SLE 12 (fate#322171, bsc#1014478) + +------------------------------------------------------------------- +Mon Dec 12 15:30:26 UTC 2016 - ms@suse.com + +- Initial build + + Version 0.4.3 diff --git a/python-adal.spec b/python-adal.spec new file mode 100644 index 0000000..b822c2c --- /dev/null +++ b/python-adal.spec @@ -0,0 +1,54 @@ +# +# spec file for package python-adal +# +# Copyright (c) 2016 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/ +# +Name: python-adal +Version: 0.4.3 +Release: 0 +Summary: Azure Active Directory library +License: MIT +Group: Development/Languages/Python +Url: https://pypi.python.org/pypi/adal +Source: adal-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-PyJWT >= 1.0.0 +Requires: python-requests >= 2.7.0 +Requires: python-dateutil >= 2.1.0 +Requires: python-cryptography >= 1.1.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +The ADAL for Python library makes it easy for python application to authenticate to +Azure Active Directory (AAD) in order to access AAD protected web resources. + +%prep +%setup -q -n adal-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%fdupes %{buildroot}/%{python_sitelib}/* + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog