File cccolutils.spec of Package cccolutils

#
# spec file for package python-CCColUtils
#
# Copyright (c) 2017 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-CCColUtils
Version:        1.5
Release:        0
License:        GPL-2.0+
Summary:        Kerberos5 Credential Cache Collection Utilities
Url:            https://pagure.io/cccolutils
Group:          Development/Languages/Python
Source:         https://pypi.python.org/packages/bc/9d/9ecda604f6068ece87b2235aab63efe7c9e215736de3d53beda8e99d4ddc/CCColUtils-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  krb5-devel
BuildRequires:  python-krbV
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description


%prep
%setup -q -n CCColUtils-%{version}

%build
CFLAGS="%{optflags}" python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test

%files
%defattr(-,root,root,-)
%doc COPYING
%{python_sitearch}/*

%changelog