/[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 389213 - (show annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: obsolete/cauldron/python-storm/current/SPECS/python-storm.spec
File size: 1315 byte(s)
Drop 
1 %define oname storm
2
3 Summary: Object Relational Mapper for Python
4 Name: python-%{oname}
5 Version: 0.19
6 Release: %mkrel 2
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 BuildArch: noarch
14 BuildRequires: libpython-devel
15 Requires: python >= 2.4
16 Requires: python-psycopg2
17 Requires: python-sqlite2
18
19 %files
20 %defattr(-,root,root)
21 %doc TODO LICENSE README tests/tutorial.txt tests/
22 %{py_puresitedir}/*
23
24 #--------------------------------------------------------------------
25
26 %description
27 Storm is an object-relation mapper (ORM) for the Python language. It allows
28 rows from a relational database to be seen as objects in an object-oriented
29 language like Python.
30
31 - Storm lets you efficiently access and update large datasets by allowing you
32 to formulate complex queries spanning multiple tables using Python.
33
34 - Storm allows you to fallback to SQL if needed (or if you just prefer),
35 allowing you to mix "old school" code and ORM code
36
37 %prep
38 %setup -q -n %{oname}-%{version}
39
40 %build
41
42 %install
43 install -d %{buildroot}%{py_puresitedir}
44 cp -af storm/ %{buildroot}%{py_puresitedir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48

  ViewVC Help
Powered by ViewVC 1.1.30