File python-linaro-json.spec of Package python-linaro-json

#
# spec file for package python-linaro-json
#
# Copyright (c) 2013 SUSE LINUX Products 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-linaro-json
Version:        2.0.1
Release:        0
Url:            https://launchpad.net/linaro-python-json
Summary:        JSON Schema Validator
License:        LGPL-3.0+
Group:          Development/Languages/Python
Source:         http://pypi.python.org/packages/source/l/linaro-json/linaro-json-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  python-simplejson
BuildRequires:  python-testscenarios
BuildRequires:  python-testtools
BuildRequires:  python-versiontools
Requires:       python-simplejson
Requires:       python-versiontools
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif

%description
This package contains useful JSON utilities developed by the Linaro
(www.linaro.org) Infrastructure Team.

%prep
%setup -q -n linaro-json-%{version}

%build
python setup.py build

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

#NOTE(saschpe): Contains failing tests, ignore these for now:
#%%check
#python setup.py test

%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by