diff --git a/python-zope-sqlalchemy.spec b/python-zope-sqlalchemy.spec new file mode 100644 index 0000000..c9c0c85 --- /dev/null +++ b/python-zope-sqlalchemy.spec @@ -0,0 +1,53 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-zope-sqlalchemy +Version: 0.3 +Release: 1%{?dist} +Summary: Minimal Zope/SQLAlchemy transaction integration + +Group: Development/Languages +License: ZPL +URL: http://pypi.python.org/pypi/zope.sqlalchemy +Source0: http://pypi.python.org/packages/source/z/zope.sqlalchemy/zope.sqlalchemy-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python-devel python-setuptools-devel +Requires: python-transaction +Requires: python-sqlalchemy >= 0.4.7 +Requires: python-zope-interface + +%description +The aim of this package is to unify the plethora of existing packages +integrating SQLAlchemy with Zope's transaction management. As such it seeks +only to provide a data manager and makes no attempt to define a zopeish way to +configure engines. + + +%prep +%setup -q -n zope.sqlalchemy-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README.txt +%{python_sitelib}/* + + + +%changelog +* Tue Oct 21 2008 Luke Macken - 0.3-1 +- Initial package diff --git a/sources b/sources index e69de29..5d3fe68 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3edc2b0f02e778483de64b60ff214df9 zope.sqlalchemy-0.3.tar.gz