/[packages]/cauldron/python-storm/current/SPECS/python-storm.spec
ViewVC logotype

Contents of /cauldron/python-storm/current/SPECS/python-storm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 471884 - (show annotations) (download)
Mon Aug 26 14:53:37 2013 UTC (10 years, 7 months ago) by philippem
File size: 1319 byte(s)
update to 0.20
1 %define oname storm
2
3 Summary: Object Relational Mapper for Python
4 Name: python-%{oname}
5 Version: 0.20
6 Release: %mkrel 1
7 Source0: https://launchpad.net/storm/trunk/%{version}/+download/%{oname}-%{version}.tar.bz2
8 License: GPLv2
9 URL: http://storm.canonical.com/
10 Group: Development/Python
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12 Prefix: %{_prefix}
13 BuildRequires: pkgconfig(python)
14 BuildRequires: python-setuptools
15 Requires: python-psycopg2
16 Requires: python-sqlite2
17
18 %files
19 %doc TODO LICENSE README tests/tutorial.txt tests/
20 %exclude %{python_sitearch}/storm/cextensions.c
21 %{python_sitearch}/storm*
22
23 #--------------------------------------------------------------------
24
25 %description
26 Storm is an object-relation mapper (ORM) for the Python language. It allows
27 rows from a relational database to be seen as objects in an object-oriented
28 language like Python.
29
30 - Storm lets you efficiently access and update large datasets by allowing you
31 to formulate complex queries spanning multiple tables using Python.
32
33 - Storm allows you to fallback to SQL if needed (or if you just prefer),
34 allowing you to mix "old school" code and ORM code
35
36 %prep
37 %setup -q -n %{oname}-%{version}
38
39 %build
40 %{__python} setup.py build
41
42 %install
43 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
44

  ViewVC Help
Powered by ViewVC 1.1.30