forked from pool/python-stomper
- Update to version 0.2.4:
*Fixing the problem whereby uuid would be installed on python2.5+. - Changes from version 0.2.3: * Fixed issue #9 with the example code. All messages are sent and received correctly. - Spec file cleanup: * Added proper changes file and spec file license header * Run testsuite - Remove Python version dependency - Fix dependencies - Update package name to conform to Fedora naming standards - Change define to global - Update upstream package to remove hidden files - Manually remove hidden files - Initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomper?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
85f6c1784f
commit
1adde7bc29
@@ -1,60 +1,62 @@
|
||||
#
|
||||
# spec file for package python-stomper
|
||||
#
|
||||
# Copyright (c) 2011 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.2
|
||||
Release: 7
|
||||
Summary: A python client implementation of the STOMP protocol
|
||||
|
||||
Group: Development/Languages
|
||||
License: ASL 2.0
|
||||
URL: http://code.google.com/p/stomper/
|
||||
Source0: http://stomper.googlecode.com/files/stomper-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||
|
||||
Version: 0.2.4
|
||||
Release: 0
|
||||
Url: http://code.google.com/p/stomper
|
||||
Summary: This is a transport neutral client implementation of the STOMP protocol
|
||||
License: http://www.apache.org/licenses/LICENSE-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/s/stomper/stomper-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%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.
|
||||
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. The STOMP protocol specification can be found here:
|
||||
|
||||
%prep
|
||||
%setup -q -n stomper-%{version}
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install -O1 --skip-build --prefix=%{_prefix} --root $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/stomper/examples
|
||||
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/stomper/tests
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc lib/stomper/doc lib/stomper/examples lib/stomper/tests
|
||||
%{py_sitedir}/*
|
||||
%doc README lib/stomper/examples
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
|
||||
- Remove Python version dependency
|
||||
|
||||
* Sun Mar 29 2009 Silas Sewell <silas at sewell ch> - 0.2.2-6
|
||||
- Fix dependencies
|
||||
|
||||
* Thu Mar 26 2009 Silas Sewell <silas at sewell ch> - 0.2.2-5
|
||||
- Update package name to conform to Fedora naming standards
|
||||
- Change define to global
|
||||
|
||||
* Fri Mar 20 2009 Silas Sewell <silas at sewell ch> - 0.2.2-4
|
||||
- Update upstream package to remove hidden files
|
||||
|
||||
* Thu Mar 05 2009 Silas Sewell <silas at sewell ch> - 0.2.2-3
|
||||
- Manually remove hidden files
|
||||
|
||||
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-2
|
||||
- Increase Python requirements to 2.5 because stomper uses uuid
|
||||
|
||||
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-1
|
||||
- Initial package
|
||||
|
Reference in New Issue
Block a user