File python-elixir.spec of Package python-elixir
%define modname Elixir
Name: python-elixir
Version: 0.7.1
Release: 1
Summary: Declarative Mapper for SQLAlchemy
URL: http://elixir.ematia.de/trac/wiki
License: MIT
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
#Patch: fixassoc.patch
%{py_requires}
BuildRequires: python-devel python-sqlalchemy python-setuptools
Requires: python-sqlalchemy python-setuptools
%description
A declarative layer on top of SQLAlchemy. It is a fairly thin wrapper, which
provides the ability to create simple Python classes that map directly to
relational database tables (this pattern is often referred to as the Active
Record design pattern), providing many of the benefits of traditional
databases without losing the convenience of Python objects.
Elixir is intended to replace the ActiveMapper SQLAlchemy extension, and the
TurboEntity project but does not intend to replace SQLAlchemy's core features,
and instead focuses on providing a simpler syntax for defining model objects
when you do not need the full expressiveness of SQLAlchemy's manual mapper
definitions.
Authors:
--------
Gaetan de Menten, Daniel Haus and Jonathan LaCour <sqlelixir@googlegroups.com>
%prep
%setup -q -n %{modname}-%{version}
#%patch 0
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README PKG-INFO
%changelog
* Fri Jan 07 2011 - hpj@urpla.net
- Updated to 0.7.1
* Mon Nov 17 2008 - Ciaran Farrell <cfarrell1980@gmail.com> - 0.6.1-1
- Updated to 0.6.1 from cheeseshop. fixassoc patch should now be outdated
- Update fixes problem with elixir 0.5 with sqlalchemy >= 5 on e.g. tg 1.0.7
- Replaced --record with --record-rpm as per bnc#441794
* Wed Mar 19 2008 - James Oakley <jfunk@funktronics.ca> - 0.5.1-1
- Initial release