14
0
Files
python-stomper/python-stomper.spec
Denisart Benjamin bb83f8b795 Accepting request 207357 from home:posophe:branches:devel:languages:python
- Update to version 0.2.7 
  + add a MANIFEST.in which makes sure README.md is present. Without
    this pip install fails: https://github.com/oisinmulvihill/stomper/issues/3.
- Changes from version 0.2.6
  + correct many spelling mistakes throughout the code base.
  + make the README.md the main
- Changes from 0.2.5
  + removes the extra line ending which can cause problems.
- README has been renamed in README.md; change it in %doc

OBS-URL: https://build.opensuse.org/request/show/207357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomper?expand=0&rev=10
2013-11-17 19:01:24 +00:00

63 lines
2.0 KiB
RPMSpec

#
# spec file for package python-stomper
#
# 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-stomper
Version: 0.2.7
Release: 0
Summary: This is a transport neutral client implementation of the STOMP protocol
License: Apache-2.0
Group: Development/Languages/Python
Url: http://code.google.com/p/stomper
Source: http://pypi.python.org/packages/source/s/stomper/stomper-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
This is a python client implementation of the STOMP protocol.
The client is attempting to be transport layer neutral. This module provides
functions to create and parse STOMP messages in a programatic fashion. The
messages can be easily generated and parsed, however its up to the user to do
the sending and receiving.
%prep
%setup -q -n stomper-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
nosetests
%files
%defattr(-,root,root,-)
%doc README.md lib/stomper/examples
%{python_sitelib}/*
%changelog