/[packages]/cauldron/soya/current/SPECS/soya.spec
ViewVC logotype

Annotation of /cauldron/soya/current/SPECS/soya.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1380153 - (hide annotations) (download)
Mon Mar 25 16:11:44 2019 UTC (6 years, 1 month ago) by daviddavid
File size: 2147 byte(s)
- add missing dependency on python2-pillow

1 zezinho 112810 %define oname Soya
2     %define tutver 0.14
3    
4     Name: soya
5 zezinho 112829 Version: 0.15rc1
6 daviddavid 1380153 Release: %mkrel 28
7 daviddavid 898322 Summary: A practical high-level object-oriented 3D engine
8 zezinho 112810 License: GPLv2+
9 daviddavid 898322 Group: Development/Python
10 zezinho 112810 Url: http://home.gna.org/oomadness/en/index.html
11     Source0: http://download.gna.org/soya/%{oname}-%{version}.tar.bz2
12     Source1: http://download.gna.org/soya/%{oname}Tutorial-%{tutver}.tar.bz2
13 zezinho 112829 Patch0: %{oname}-%{version}-svn-fix-compilation.patch
14 fwang 475057 Patch1: Soya-0.15rc1-ode-2.patch
15 philippem 502216 Patch2: Soya-0.15rc1-null-characters-world-py.patch
16 daviddavid 1049406 Patch3: Soya-0.15rc1-deprecated-tostring-call.patch
17 daviddavid 1148295 Patch4: soya-0.15rc1-pillow.patch
18 daviddavid 1049406 # pyrex is needed for patch3
19     BuildRequires: pythonegg(2)(pyrex)
20     BuildRequires: pkgconfig(python2)
21 ovitters 1146653 BuildRequires: pkgconfig(libpng)
22     BuildRequires: pkgconfig(sdl)
23     BuildRequires: pkgconfig(cal3d)
24     BuildRequires: pkgconfig(glu)
25     BuildRequires: pkgconfig(ode)
26     BuildRequires: pkgconfig(glew)
27 daviddavid 1148295 BuildRequires: pkgconfig(freetype2)
28 ovitters 1146653 BuildRequires: pkgconfig(openal)
29 zezinho 112810 Requires: editobj2
30 daviddavid 1380153 Requires: pythonegg(2)(pillow)
31 zezinho 112810
32     %description
33     A practical high-level object-oriented 3D engine.
34    
35     # (jiba) A separate package for the tutorial
36     %package tutorial
37     Summary: Tutorial for the Soya 3D engine
38     License: GPLv2+
39     Group: Development/Python
40     Requires: %{name} >= %{version}
41 daviddavid 898322 Recommends: blender
42 daviddavid 1148295 Recommends: pythonegg(2)(pillow)
43 daviddavid 898322 Recommends: cerealizer
44 zezinho 112810
45     %description tutorial
46     This is a set of tutorial for Soya.
47 daviddavid 1148295 Soya is a practical high-level object-oriented 3D engine for Python 2.
48 zezinho 112810
49     %prep
50 daviddavid 1148295 %setup -q -c %{oname}-%{version} -a 1
51 akien 806620 # The source needs to be in a "soya" dir to prevent this pyrex error:
52     # Pyrex.Compiler.Errors.CompileError: BUILD/Soya-0.15rc1/_soya.pyx:0:0: 'Soya-0.15rc1._soya' is not a valid module name
53 daviddavid 1148295 mv %{oname}-%{version} soya
54    
55     pushd soya
56 zezinho 112829 %patch0 -p2
57 fwang 475057 %patch1 -p1
58 philippem 502216 %patch2 -p1
59 daviddavid 1049406 %patch3 -p1
60 daviddavid 1148295 %patch4 -p1
61 zezinho 112810 rm -rf `find -name CVS` `find -name .cvswrappers`
62 akien 806620 popd
63 zezinho 112810
64     %build
65 daviddavid 1148295 pushd soya
66 daviddavid 898322 %py2_build
67 akien 806620 popd
68 zezinho 112810
69     %install
70 daviddavid 1148295 pushd soya
71 daviddavid 898322 %py2_install
72 akien 806620 popd
73 zezinho 112810
74     %files
75 daviddavid 1148295 %doc soya/{README,CHANGES,AUTHORS}
76 zezinho 112810 %{_bindir}/%{name}_editor
77 daviddavid 1380153 %{python2_sitearch}/%{name}/
78 daviddavid 898322 %{python2_sitearch}/*.egg-info
79 zezinho 112810
80     %files tutorial
81     %doc %{oname}Tutorial-%{tutver}/AUTHORS %{oname}Tutorial-%{tutver}/tutorial

  ViewVC Help
Powered by ViewVC 1.1.30