File python-ClientForm.spec of Package python-ClientForm

# spec file for package python-ClientForm
# 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

%define skip_python3 1
%define modname ClientForm

%{?!python_module:%define python_module() python-%{**} python3-%{**}}

Name:           python-%{modname}
Version:        0.2.10
Release:        0
Summary:        Python module for client-side HTML forms
License:        BSD-3-Clause OR ZPL-2.1
Group:          Development/Libraries/Python
Url:  {modname}/
BuildRequires:  %{python_module base}
BuildRequires:  %{python_module setuptools}
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


ClientForm is a Python module for handling HTML forms on the client side,
useful for parsing HTML forms, filling them in and returning the completed
forms to the server.  It developed from a port of Gisle Aas' Perl module
HTML::Form, from the libwww-perl library, but the interface is not the same.

%setup -q -n %{modname}-%{version}



%files %{python_files}
%doc COPYING.txt GeneralFAQ.html README.html examples