2 Summary: Declarative layer on top of the SQLAlchemy library
3 Summary(pl.UTF-8): Warstwa nad biblioteką SQLAlchemy.
8 Group: Development/Languages/Python
9 Source0: http://pypi.python.org/packages/source/E/Elixir/Elixir-%{version}.tar.gz
10 # Source0-md5: 5615ec9693e3a8e44f69623d58f54116
11 URL: http://elixir.ematia.de/trac/wiki
12 BuildRequires: python-setuptools
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
15 Requires: python-SQLAlchemy
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A declarative layer on top of SQLAlchemy. It is a fairly thin wrapper,
21 which provides the ability to create simple Python classes that map
22 directly to relational database tables (this pattern is often referred
23 to as the Active Record design pattern), providing many of the
24 benefits of traditional databases without losing the convenience of
27 %description -l pl.UTF-8
28 Cienka dodatkowa warstwa ponad SQLAlchemy. Pozwala tworzyć proste
29 klasy Pythonowe bezpośrednio mapowane do tabel relacyjnej bazy danych
30 (często nazywane też wzorcem projektowym Active Record) dając wiele z
31 zalet tradycyjnych baz danych bez straty wygody obiektów Pythonowych.
34 %setup -q -n Elixir-%{version}
37 CFLAGS="%{rpmcflags}" \
38 %{__python} setup.py build
41 rm -rf $RPM_BUILD_ROOT
42 %{__python} setup.py install \
44 --root=$RPM_BUILD_ROOT
46 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
47 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{py_sitescriptdir}/elixir
56 %{py_sitescriptdir}/Elixir-%{version}-py*.egg-info