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