- up to 0.6.0
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
CommitLineData
176bba03 1%define module SQLAlchemy
666da082 2Summary: Database Abstraction Library
40827375 3Summary(pl.UTF-8): Biblioteka abstrakcji baz danych
666da082 4Name: python-SQLAlchemy
c7fa20e4 5Version: 0.6.0
f8e5d67d 6Release: 1
666da082 7License: MIT
4fc44ee0 8Group: Libraries/Python
af4c7ed3 9Source0: http://downloads.sourceforge.net/sqlalchemy/%{module}-%{version}.tar.gz
c7fa20e4 10# Source0-md5: 575c2ca742e9ab3c08c384dbc4861f86
666da082 11URL: http://www.sqlalchemy.org/
d05dd446 12BuildRequires: python-devel >= 1:2.4
666da082 13BuildRequires: python-setuptools >= 0.6-0.a9.1
eff90088 14BuildRequires: rpm-pythonprov
bbaffef6 15BuildRequires: rpmbuild(macros) >= 1.219
666da082 16%pyrequires_eq python-modules
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
bbaffef6
ER
21The Python SQL toolkit and Object Relational Mapper that gives
22application developers the full power and flexibility of SQL.
23SQLAlchemy provides a full suite of well known enterprise-level
24persistence patterns, designed for efficient and high-performing
25database access, adapted into a simple and Pythonic domain language.
666da082 26
2aabef56 27%description -l pl.UTF-8
2aea6699
JB
28Zestaw narzędzi SQL dla Pythona oraz odwzorowań obiektowo-relacyjnych
29dających programistom całą potęgę i elastyczność SQL-a. SQLAlchemy
30udostępnia pełny zbiór dobrze znanych wzorców trwałości,
31zaprojektowanych do wydajnego dostępu do baz danych, zaadoptowanych do
32prostej, pythonowej domeny językowej.
f3fd8b7b 33
666da082 34%prep
176bba03 35%setup -q -n %{module}-%{version}
666da082 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*
2aea6699 60%{_examplesdir}/%{name}-%{version}
This page took 0.062765 seconds and 4 git commands to generate.