2018-02-19 08:17:26 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-stomp.py
|
|
|
|
#
|
2019-04-24 08:46:34 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-02-19 08:17:26 +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:07:58 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-07-07 08:59:48 +00:00
|
|
|
#
|
2018-02-19 08:17:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-stomp.py
|
2019-04-24 08:46:34 +00:00
|
|
|
Version: 4.1.22
|
2018-02-19 08:17:26 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Python STOMP client
|
2018-07-07 08:59:48 +00:00
|
|
|
License: Apache-2.0
|
2018-02-19 08:17:26 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-07-07 08:59:48 +00:00
|
|
|
Url: https://github.com/jasonrbriggs/stomp.py
|
2018-02-19 08:17:26 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/stomp.py/stomp.py-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: fdupes
|
2018-07-07 08:59:48 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2018-02-19 08:17:26 +00:00
|
|
|
Requires: python-docopt >= 0.6.2
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Python client library for accessing messaging servers (such as ActiveMQ, Apollo or RabbitMQ) using the STOMP protocol versions 1.0, 1.1 and 1.2. It can also be run as a standalone, command-line client for testing.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n stomp.py-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README CHANGELOG
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%python3_only %{_bindir}/stomp
|
|
|
|
|
|
|
|
%changelog
|