- adapter, typo, use macro
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
CommitLineData
666da082 1Summary: Database Abstraction Library
2Name: python-SQLAlchemy
3Version: 0.1.7
4Release: 1
666da082 5License: MIT
bbaffef6 6Group: Development/Languages/Python
666da082 7Source0: http://cheeseshop.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
8# Source0-md5: 1c9c0124ad057c9fbcf8c4e16ecae960
9URL: http://www.sqlalchemy.org/
10BuildRequires: python-devel
11BuildRequires: python-setuptools >= 0.6-0.a9.1
bbaffef6 12BuildRequires: rpmbuild(macros) >= 1.219
666da082 13%pyrequires_eq python-modules
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
bbaffef6
ER
18The Python SQL toolkit and Object Relational Mapper that gives
19application developers the full power and flexibility of SQL.
20SQLAlchemy provides a full suite of well known enterprise-level
21persistence patterns, designed for efficient and high-performing
22database access, adapted into a simple and Pythonic domain language.
666da082 23
24%prep
25%setup -q -n SQLAlchemy-%{version}
26
27%build
28python setup.py build
29
30%install
31rm -rf $RPM_BUILD_ROOT
32python setup.py install \
33 --single-version-externally-managed \
34 --optimize=2 \
35 --root=$RPM_BUILD_ROOT
36
bbaffef6 37%py_postclean
666da082 38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc README CHANGES doc/*html examples/
45%{py_sitescriptdir}/SQLAlchemy*
46%{py_sitescriptdir}/sqlalchemy*
This page took 0.152518 seconds and 4 git commands to generate.