]>
Commit | Line | Data |
---|---|---|
666da082 | 1 | Summary: Database Abstraction Library |
2 | Name: python-SQLAlchemy | |
3 | Version: 0.1.7 | |
4 | Release: 1 | |
666da082 | 5 | License: MIT |
bbaffef6 | 6 | Group: Development/Languages/Python |
666da082 | 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 | |
bbaffef6 | 12 | BuildRequires: rpmbuild(macros) >= 1.219 |
666da082 | 13 | %pyrequires_eq python-modules |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
bbaffef6 ER |
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. | |
666da082 | 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 | ||
bbaffef6 | 37 | %py_postclean |
666da082 | 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* |