2017-10-04 16:53:41 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-txWS
|
|
|
|
#
|
2018-02-07 11:16:11 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-10-04 16:53:41 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-04 14:10:58 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-02-07 11:16:11 +00:00
|
|
|
#
|
2017-10-04 16:53:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%bcond_without test
|
|
|
|
Name: python-txWS
|
|
|
|
Version: 0.9.1
|
|
|
|
Release: 0
|
|
|
|
Summary: Twisted WebSockets wrapper
|
2018-02-07 11:16:11 +00:00
|
|
|
License: X11
|
2017-10-04 16:53:41 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-02-07 11:16:11 +00:00
|
|
|
Url: http://github.com/MostAwesomeDude/txWS
|
2017-10-04 16:53:41 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/t/txWS/txWS-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module six}
|
|
|
|
BuildRequires: %{python_module vcversioner}
|
|
|
|
BuildRequires: fdupes
|
2018-02-07 11:16:11 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-10-04 16:53:41 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
2018-02-10 14:24:19 +00:00
|
|
|
txWS (Twisted WebSockets) is a library for
|
|
|
|
adding WebSockets server support to Twisted applications.
|
2017-10-04 16:53:41 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n txWS-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CHANGELOG.rst LICENSE README.rst
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|