- up to 0.5.2
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
CommitLineData
666da082 1Summary: Database Abstraction Library
40827375 2Summary(pl.UTF-8): Biblioteka abstrakcji baz danych
666da082 3Name: python-SQLAlchemy
def14030 4Version: 0.5.2
344c4a8a 5Release: 1
666da082 6License: MIT
4fc44ee0 7Group: Libraries/Python
7b924cc7 8Source0: http://dl.sourceforge.net/sqlalchemy/SQLAlchemy-%{version}.tar.gz
def14030 9# Source0-md5: d2b041f5877bf108b8ecf7a624e1bec0
666da082 10URL: http://www.sqlalchemy.org/
11BuildRequires: python-devel
12BuildRequires: python-setuptools >= 0.6-0.a9.1
eff90088 13BuildRequires: rpm-pythonprov
bbaffef6 14BuildRequires: rpmbuild(macros) >= 1.219
666da082 15%pyrequires_eq python-modules
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
bbaffef6
ER
20The Python SQL toolkit and Object Relational Mapper that gives
21application developers the full power and flexibility of SQL.
22SQLAlchemy provides a full suite of well known enterprise-level
23persistence patterns, designed for efficient and high-performing
24database access, adapted into a simple and Pythonic domain language.
666da082 25
2aabef56 26%description -l pl.UTF-8
def14030 27Zestaw narzędzi SQL dla Pythona oraz odwzorowań
28obiektowo-relacyjnych dających programistom całą potęgę i
29elastyczność SQL-a. SQLAlchemy udostępnia pełny zbiór dobrze
30znanych wzorców trwałości, zaprojektowanych do wydajnego dostępu
31do baz danych, zaadoptowanych do prostej, pythonowej domeny
32językowej.
f3fd8b7b 33
666da082 34%prep
35%setup -q -n SQLAlchemy-%{version}
36
37%build
def14030 38%{__python} setup.py build
666da082 39
40%install
41rm -rf $RPM_BUILD_ROOT
def14030 42%{__python} setup.py install \
666da082 43 --single-version-externally-managed \
44 --optimize=2 \
45 --root=$RPM_BUILD_ROOT
def14030 46
3e5d0494 47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
666da082 49
bbaffef6 50%py_postclean
666da082 51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
def14030 57%doc CHANGES README* doc/*.html
666da082 58%{py_sitescriptdir}/SQLAlchemy*
59%{py_sitescriptdir}/sqlalchemy*
3e5d0494 60%{_examplesdir}/%{name}-%{version}/
This page took 0.07128 seconds and 4 git commands to generate.