File python-Flask-XML-RPC.spec of Package python-Flask-XML-RPC
#
# spec file for package python-Flask-XML-RPC
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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-Flask-XML-RPC
Version: 0.1.2
Release: 0
Summary: Adds support for creating XML-RPC APIs to Flask
License: MIT
Group: Development/Languages/Python
Url: http://bitbucket.org/leafstorm/flask-xml-rpc/
Source: https://pypi.io/packages/source/F/Flask-XML-RPC/Flask-XML-RPC-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-Flask
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
Requires: python-Flask
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Flask-XML-RPC adds XML-RPC support to Flask. This way, you can provide simple
APIs easily accessible from almost any programming language.
%prep
%setup -q -n Flask-XML-RPC-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}/%{python_sitelib}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/flaskext
%{python_sitelib}/Flask_XML_RPC-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/Flask_XML_RPC-%{version}-py%{py_ver}-nspkg.pth
%changelog