diff --git a/.cvsignore b/.cvsignore index e69de29..8bd5ff5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +stomper-0.2.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..99297c3 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-stomper-0_2_2-7_fc10:HEAD:python-stomper-0.2.2-7.fc10.src.rpm:1239475358 diff --git a/python-stomper.spec b/python-stomper.spec new file mode 100644 index 0000000..d672657 --- /dev/null +++ b/python-stomper.spec @@ -0,0 +1,64 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-stomper +Version: 0.2.2 +Release: 7%{?dist} +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}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools + +%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. + +%prep +%setup -q -n stomper-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/examples +rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/tests + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc lib/stomper/doc lib/stomper/examples lib/stomper/tests +%{python_sitelib}/* + +%changelog +* Thu Apr 09 2009 Silas Sewell - 0.2.2-7 +- Remove Python version dependency + +* Sun Mar 29 2009 Silas Sewell - 0.2.2-6 +- Fix dependencies + +* Thu Mar 26 2009 Silas Sewell - 0.2.2-5 +- Update package name to conform to Fedora naming standards +- Change define to global + +* Fri Mar 20 2009 Silas Sewell - 0.2.2-4 +- Update upstream package to remove hidden files + +* Thu Mar 05 2009 Silas Sewell - 0.2.2-3 +- Manually remove hidden files + +* Wed Dec 17 2008 Silas Sewell - 0.2.2-2 +- Increase Python requirements to 2.5 because stomper uses uuid + +* Wed Dec 17 2008 Silas Sewell - 0.2.2-1 +- Initial package diff --git a/sources b/sources index e69de29..25adb8f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c82988f145290943ba78dfd572b398b4 stomper-0.2.2.tar.gz