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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 389214 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 471884 by philippem, Mon Aug 26 14:53:37 2013 UTC
# Line 2  Line 2 
2    
3  Summary:        Object Relational Mapper for Python  Summary:        Object Relational Mapper for Python
4  Name:           python-%{oname}  Name:           python-%{oname}
5  Version:        0.19  Version:        0.20
6  Release:        %mkrel 2  Release:        %mkrel 1
7  Source0:        https://launchpad.net/storm/trunk/%{version}/+download/%{oname}-%{version}.tar.bz2  Source0:        https://launchpad.net/storm/trunk/%{version}/+download/%{oname}-%{version}.tar.bz2
8  License:        GPLv2  License:        GPLv2
9  URL:            http://storm.canonical.com/  URL:            http://storm.canonical.com/
10  Group:          Development/Python  Group:          Development/Python
11  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12  Prefix:         %{_prefix}  Prefix:         %{_prefix}
13  BuildArch:      noarch  BuildRequires:  pkgconfig(python)
14  BuildRequires:  libpython-devel  BuildRequires:  python-setuptools
 Requires:       python >= 2.4  
15  Requires:       python-psycopg2  Requires:       python-psycopg2
16  Requires:       python-sqlite2  Requires:       python-sqlite2
17    
18  %files  %files
 %defattr(-,root,root)  
19  %doc TODO LICENSE README tests/tutorial.txt tests/  %doc TODO LICENSE README tests/tutorial.txt tests/
20  %{py_puresitedir}/*  %exclude %{python_sitearch}/storm/cextensions.c
21    %{python_sitearch}/storm*
22    
23  #--------------------------------------------------------------------  #--------------------------------------------------------------------
24    
# Line 38  language like Python. Line 37  language like Python.
37  %setup -q -n %{oname}-%{version}  %setup -q -n %{oname}-%{version}
38    
39  %build  %build
40    %{__python} setup.py build
41    
42  %install  %install
43  install -d %{buildroot}%{py_puresitedir}  %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 cp -af storm/ %{buildroot}%{py_puresitedir}  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
44    

Legend:
Removed from v.389214  
changed lines
  Added in v.471884

  ViewVC Help
Powered by ViewVC 1.1.30