]> git.pld-linux.org Git - packages/python-sqlalchemy.git/blame - python-SQLAlchemy.spec
- up to 0.4.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
344c4a8a 4Version: 0.4.8
5Release: 1
666da082 6License: MIT
4fc44ee0 7Group: Libraries/Python
7b924cc7 8Source0: http://dl.sourceforge.net/sqlalchemy/SQLAlchemy-%{version}.tar.gz
344c4a8a 9# Source0-md5: 2377e8f87d60e5040e2efc67bfd240b0
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
JR
26%description -l pl.UTF-8
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
37python setup.py build
38
39%install
40rm -rf $RPM_BUILD_ROOT
41python setup.py install \
42 --single-version-externally-managed \
43 --optimize=2 \
44 --root=$RPM_BUILD_ROOT
3e5d0494 45install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
666da082 47
bbaffef6 48%py_postclean
666da082 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
3e5d0494 55%doc README CHANGES doc/*html
666da082 56%{py_sitescriptdir}/SQLAlchemy*
57%{py_sitescriptdir}/sqlalchemy*
3e5d0494 58%{_examplesdir}/%{name}-%{version}/
This page took 0.107627 seconds and 4 git commands to generate.