|
|
2fd1617 |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
2fd1617 |
|
|
|
2fd1617 |
Name: python-stomper
|
|
Luke Macken |
c68040c |
Version: 0.2.4
|
|
|
58ead4e |
Release: 4%{?dist}
|
|
|
2fd1617 |
Summary: A python client implementation of the STOMP protocol
|
|
|
2fd1617 |
|
|
|
2fd1617 |
Group: Development/Languages
|
|
|
2fd1617 |
License: ASL 2.0
|
|
|
2fd1617 |
URL: http://code.google.com/p/stomper/
|
|
|
2fd1617 |
Source0: http://stomper.googlecode.com/files/stomper-%{version}.tar.gz
|
|
|
2fd1617 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
2fd1617 |
|
|
|
2fd1617 |
BuildArch: noarch
|
|
|
2fd1617 |
BuildRequires: python-devel
|
|
|
2fd1617 |
BuildRequires: python-setuptools
|
|
|
b9c8997 |
BuildRequires: python-nose
|
|
|
b9c8997 |
|
|
|
b9c8997 |
%if 0%{?el5}
|
|
|
b9c8997 |
BuildRequires: python-uuid
|
|
|
b9c8997 |
Requires: python-uuid
|
|
|
b9c8997 |
%endif
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%description
|
|
|
2fd1617 |
This is a python client implementation of the STOMP protocol. The client is
|
|
|
2fd1617 |
attempting to be transport layer neutral. This module provides functions to
|
|
|
2fd1617 |
create and parse STOMP messages in a programatic fashion.
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%prep
|
|
|
2fd1617 |
%setup -q -n stomper-%{version}
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%build
|
|
|
2fd1617 |
%{__python} setup.py build
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%install
|
|
|
2fd1617 |
rm -rf $RPM_BUILD_ROOT
|
|
|
2fd1617 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
2fd1617 |
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/examples
|
|
|
2fd1617 |
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/tests
|
|
|
2fd1617 |
|
|
|
b9c8997 |
%check
|
|
|
b9c8997 |
PYTHONPATH=$(pwd) nosetests
|
|
|
b9c8997 |
|
|
|
2fd1617 |
%clean
|
|
|
2fd1617 |
rm -rf $RPM_BUILD_ROOT
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%files
|
|
|
2fd1617 |
%defattr(-,root,root,-)
|
|
|
2fd1617 |
%doc lib/stomper/doc lib/stomper/examples lib/stomper/tests
|
|
|
2fd1617 |
%{python_sitelib}/*
|
|
|
2fd1617 |
|
|
|
2fd1617 |
%changelog
|
|
|
58ead4e |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
|
|
|
58ead4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
58ead4e |
|
|
|
b6a3264 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
|
|
|
b6a3264 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b6a3264 |
|
|
|
8929610 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
8929610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8929610 |
|
|
Luke Macken |
c68040c |
* Thu Oct 21 2010 Luke Macken <lmacken@redhat.com> - 0.2.4-1
|
|
Luke Macken |
c68040c |
- Update to 0.2.4 (#639565)
|
|
Luke Macken |
c68040c |
|
|
Luke Macken |
f07c4f4 |
* Tue Sep 07 2010 Luke Macken <lmacken@redhat.com> - 0.2.3-1
|
|
Luke Macken |
f07c4f4 |
- Update to 0.2.3
|
|
Luke Macken |
f07c4f4 |
|
|
|
dc23366 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.2-10
|
|
|
dc23366 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
dc23366 |
|
|
|
b9c8997 |
* Thu Sep 03 2009 Luke Macken <lmacken@redhat.com> - 0.2.2-9
|
|
|
b9c8997 |
- Require python-uuid when using Python2.4 only
|
|
|
b9c8997 |
- Run the test suite in %%check
|
|
|
b9c8997 |
|
|
|
96f8c02 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-8
|
|
|
96f8c02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
96f8c02 |
|
|
|
2fd1617 |
* Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
|
|
|
2fd1617 |
- Remove Python version dependency
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Sun Mar 29 2009 Silas Sewell <silas at sewell ch> - 0.2.2-6
|
|
|
2fd1617 |
- Fix dependencies
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Thu Mar 26 2009 Silas Sewell <silas at sewell ch> - 0.2.2-5
|
|
|
2fd1617 |
- Update package name to conform to Fedora naming standards
|
|
|
2fd1617 |
- Change define to global
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Fri Mar 20 2009 Silas Sewell <silas at sewell ch> - 0.2.2-4
|
|
|
2fd1617 |
- Update upstream package to remove hidden files
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Thu Mar 05 2009 Silas Sewell <silas at sewell ch> - 0.2.2-3
|
|
|
2fd1617 |
- Manually remove hidden files
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-2
|
|
|
2fd1617 |
- Increase Python requirements to 2.5 because stomper uses uuid
|
|
|
2fd1617 |
|
|
|
2fd1617 |
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-1
|
|
|
2fd1617 |
- Initial package
|