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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (hide annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 1315 byte(s)
oops
1 dmorgan 77544 %define oname storm
2    
3     Summary: Object Relational Mapper for Python
4     Name: python-%{oname}
5 philippem 168393 Version: 0.19
6 umeabot 379549 Release: %mkrel 2
7 dmorgan 77544 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