]> git.pld-linux.org Git - packages/python-sqlalchemy.git/blame_incremental - python-SQLAlchemy.spec
- initial release
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
... / ...
CommitLineData
1Summary: Database Abstraction Library
2Name: python-SQLAlchemy
3Version: 0.1.7
4Release: 1
5Group: Development/Languages/Python
6License: MIT
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
12%pyrequires_eq python-modules
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The Python SQL toolkit and Object Relational Mapper that gives application
18developers the full power and flexibility of SQL. SQLAlchemy provides a
19full suite of well known enterprise-level persistence patterns, designed for
20efficient and high-performing database access, adapted into a simple and
21Pythonic domain languag.
22
23%prep
24%setup -q -n SQLAlchemy-%{version}
25
26%build
27python setup.py build
28
29%install
30rm -rf $RPM_BUILD_ROOT
31python setup.py install \
32 --single-version-externally-managed \
33 --optimize=2 \
34 --root=$RPM_BUILD_ROOT
35
36find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f \{\} \;
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc README CHANGES doc/*html examples/
44%{py_sitescriptdir}/SQLAlchemy*
45%{py_sitescriptdir}/sqlalchemy*
This page took 0.022278 seconds and 4 git commands to generate.