- reformatted using _proper_ locale (shouldn't adapter check for UTF-8?)
[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
2aea6699
JB
27Zestaw narzędzi SQL dla Pythona oraz odwzorowań obiektowo-relacyjnych
28dających programistom całą potęgę i elastyczność SQL-a. SQLAlchemy
29udostępnia pełny zbiór dobrze znanych wzorców trwałości,
30zaprojektowanych do wydajnego dostępu do baz danych, zaadoptowanych do
31prostej, pythonowej domeny językowej.
f3fd8b7b 32
666da082 33%prep
34%setup -q -n SQLAlchemy-%{version}
35
36%build
def14030 37%{__python} setup.py build
666da082 38
39%install
40rm -rf $RPM_BUILD_ROOT
def14030 41%{__python} setup.py install \
666da082 42 --single-version-externally-managed \
43 --optimize=2 \
44 --root=$RPM_BUILD_ROOT
def14030 45
3e5d0494 46install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
666da082 48
bbaffef6 49%py_postclean
666da082 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
def14030 56%doc CHANGES README* doc/*.html
666da082 57%{py_sitescriptdir}/SQLAlchemy*
58%{py_sitescriptdir}/sqlalchemy*
2aea6699 59%{_examplesdir}/%{name}-%{version}
This page took 0.076117 seconds and 4 git commands to generate.