]>
Commit | Line | Data |
---|---|---|
cf425dc7 JB |
1 | Summary: Python bindings for Ecore library |
2 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore | |
3 | Name: python-ecore | |
278279cc | 4 | Version: 1.7.0 |
3cf653e4 | 5 | Release: 5 |
cf425dc7 JB |
6 | License: LGPL v2.1+ |
7 | Group: Development/Languages/Python | |
8 | Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2 | |
278279cc | 9 | # Source0-md5: 15dd908b71d09ef30f7e758739f3b6fd |
cf425dc7 | 10 | URL: http://trac.enlightenment.org/e/wiki/Python |
278279cc JB |
11 | BuildRequires: ecore-devel >= 1.7.0 |
12 | BuildRequires: ecore-evas-devel >= 1.7.0 | |
13 | BuildRequires: ecore-file-devel >= 1.7.0 | |
14 | BuildRequires: ecore-imf-devel >= 1.7.0 | |
15 | BuildRequires: ecore-x-devel >= 1.7.0 | |
cf425dc7 JB |
16 | BuildRequires: epydoc |
17 | BuildRequires: evas-devel >= 1.0.0 | |
278279cc JB |
18 | BuildRequires: python-Cython >= 0.15.1 |
19 | BuildRequires: python-devel >= 1:2.7 | |
20 | BuildRequires: python-evas-devel >= 1.7.0 | |
cf425dc7 JB |
21 | BuildRequires: rpm-pythonprov |
22 | BuildRequires: pkgconfig >= 1:0.22 | |
23 | BuildRequires: rpmbuild(macros) >= 1.219 | |
278279cc | 24 | Requires: ecore >= 1.7.0 |
cf425dc7 JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Python bindings for Ecore library. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Wiązania Pythona do biblioteki Ecore. | |
32 | ||
33 | %package devel | |
34 | Summary: Python bindings for Ecore library - development files | |
35 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore - pliki programistyczne | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
278279cc | 38 | Requires: ecore-devel >= 1.7.0 |
cf425dc7 JB |
39 | |
40 | %description devel | |
41 | Python bindings for Ecore library - development files. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Wiązania Pythona do biblioteki Ecore - pliki programistyczne. | |
45 | ||
46 | %package evas | |
47 | Summary: Python bindings for Ecore Evas library | |
48 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore Evas | |
49 | Group: Development/Languages/Python | |
50 | Requires: %{name} = %{version}-%{release} | |
278279cc JB |
51 | Requires: ecore-evas >= 1.7.0 |
52 | Requires: evas >= 1.7.0 | |
53 | Requires: python-evas >= 1.7.0 | |
cf425dc7 JB |
54 | |
55 | %description evas | |
56 | Python bindings for Ecore Evas library. | |
57 | ||
58 | %description evas -l pl.UTF-8 | |
59 | Wiązania Pythona do biblioteki Ecore Evas. | |
60 | ||
61 | %package evas-devel | |
62 | Summary: Python bindings for Ecore Evas library - development files | |
63 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore Evas - pliki programistyczne | |
64 | Group: Development/Libraries | |
65 | Requires: %{name}-devel = %{version}-%{release} | |
66 | Requires: %{name}-evas = %{version}-%{release} | |
278279cc | 67 | Requires: ecore-evas-devel >= 1.7.0 |
cf425dc7 JB |
68 | Requires: python-evas-devel >= 0.7.3 |
69 | ||
70 | %description evas-devel | |
71 | Python bindings for Ecore Evas library - development files. | |
72 | ||
73 | %description evas-devel -l pl.UTF-8 | |
74 | Wiązania Pythona do biblioteki Ecore Evas - pliki programistyczne. | |
75 | ||
278279cc JB |
76 | %package file |
77 | Summary: Python bindings for Ecore File library | |
78 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore File | |
79 | Group: Development/Languages/Python | |
80 | Requires: %{name} = %{version}-%{release} | |
81 | Requires: ecore-file >= 1.7.0 | |
82 | ||
83 | %description file | |
84 | Python bindings for Ecore File library. | |
85 | ||
86 | %description file -l pl.UTF-8 | |
87 | Wiązania Pythona do biblioteki Ecore File. | |
88 | ||
89 | %package file-devel | |
90 | Summary: Python bindings for Ecore File library - development files | |
91 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore File - pliki programistyczne | |
92 | Group: Development/Libraries | |
93 | Requires: %{name}-devel = %{version}-%{release} | |
94 | Requires: %{name}-file = %{version}-%{release} | |
95 | Requires: ecore-file-devel >= 1.7.0 | |
96 | ||
97 | %description file-devel | |
98 | Python bindings for Ecore File library - development files. | |
99 | ||
100 | %description file-devel -l pl.UTF-8 | |
101 | Wiązania Pythona do biblioteki Ecore File - pliki programistyczne. | |
102 | ||
cf425dc7 JB |
103 | %package imf |
104 | Summary: Python bindings for Ecore IMF library | |
105 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore IMF | |
106 | Group: Development/Languages/Python | |
107 | Requires: %{name} = %{version}-%{release} | |
278279cc | 108 | Requires: ecore-imf >= 1.7.0 |
cf425dc7 JB |
109 | |
110 | %description imf | |
111 | Python bindings for Ecore IMF library. | |
112 | ||
113 | %description imf -l pl.UTF-8 | |
114 | Wiązania Pythona do biblioteki Ecore IMF. | |
115 | ||
116 | %package imf-devel | |
117 | Summary: Python bindings for Ecore IMF library - development files | |
118 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore IMF - pliki programistyczne | |
119 | Group: Development/Libraries | |
120 | Requires: %{name}-devel = %{version}-%{release} | |
121 | Requires: %{name}-imf = %{version}-%{release} | |
278279cc | 122 | Requires: ecore-imf-devel >= 1.7.0 |
cf425dc7 JB |
123 | |
124 | %description imf-devel | |
125 | Python bindings for Ecore IMF library - development files. | |
126 | ||
127 | %description imf-devel -l pl.UTF-8 | |
128 | Wiązania Pythona do biblioteki Ecore IMF - pliki programistyczne. | |
129 | ||
130 | %package x | |
131 | Summary: Python bindings for Ecore X library | |
132 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore X | |
133 | Group: Development/Languages/Python | |
134 | Requires: %{name} = %{version}-%{release} | |
278279cc | 135 | Requires: ecore-x >= 1.7.0 |
cf425dc7 JB |
136 | |
137 | %description x | |
138 | Python bindings for Ecore X library. | |
139 | ||
140 | %description x -l pl.UTF-8 | |
141 | Wiązania Pythona do biblioteki Ecore X. | |
142 | ||
143 | %package x-devel | |
144 | Summary: Python bindings for Ecore X library - development files | |
145 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Ecore X - pliki programistyczne | |
146 | Group: Development/Libraries | |
147 | Requires: %{name}-devel = %{version}-%{release} | |
148 | Requires: %{name}-x = %{version}-%{release} | |
278279cc | 149 | Requires: ecore-x-devel >= 1.7.0 |
cf425dc7 JB |
150 | |
151 | %description x-devel | |
152 | Python bindings for Ecore X library - development files. | |
153 | ||
154 | %description x-devel -l pl.UTF-8 | |
155 | Wiązania Pythona do biblioteki Ecore X - pliki programistyczne. | |
156 | ||
157 | %prep | |
158 | %setup -q | |
cf425dc7 JB |
159 | |
160 | %build | |
161 | %configure \ | |
162 | --disable-silent-rules | |
163 | ||
164 | %{__make} | |
165 | ||
166 | %install | |
167 | rm -rf $RPM_BUILD_ROOT | |
168 | ||
169 | %{__make} install \ | |
170 | DESTDIR=$RPM_BUILD_ROOT | |
171 | ||
172 | %py_postclean | |
173 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/ecore/c_ecore.la | |
174 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/ecore/*/*.la | |
175 | ||
176 | install -d $RPM_BUILD_ROOT%{_examplesdir} | |
177 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
178 | ||
179 | %clean | |
180 | rm -rf $RPM_BUILD_ROOT | |
181 | ||
182 | %files | |
183 | %defattr(644,root,root,755) | |
184 | %doc AUTHORS README | |
185 | %dir %{py_sitedir}/ecore | |
186 | %attr(755,root,root) %{py_sitedir}/ecore/c_ecore.so | |
278279cc | 187 | %{py_sitedir}/ecore/__init__.py[co] |
cf425dc7 JB |
188 | %dir %{_examplesdir}/%{name}-%{version} |
189 | %{_examplesdir}/%{name}-%{version}/*.py | |
190 | ||
191 | %files devel | |
192 | %defattr(644,root,root,755) | |
193 | %dir %{_includedir}/python-ecore | |
194 | %dir %{_includedir}/python-ecore/ecore | |
195 | %{_includedir}/python-ecore/ecore/__init__.py | |
196 | %{_includedir}/python-ecore/ecore/c_ecore.pxd | |
197 | %{_includedir}/python-ecore/ecore/ecore.*.h | |
198 | %{_pkgconfigdir}/python-ecore.pc | |
199 | ||
200 | %files evas | |
201 | %defattr(644,root,root,755) | |
202 | %dir %{py_sitedir}/ecore/evas | |
203 | %attr(755,root,root) %{py_sitedir}/ecore/evas/c_ecore_evas.so | |
278279cc | 204 | %{py_sitedir}/ecore/evas/__init__.py[co] |
cf425dc7 JB |
205 | %{_examplesdir}/%{name}-%{version}/ecore-evas |
206 | ||
207 | %files evas-devel | |
208 | %defattr(644,root,root,755) | |
209 | %{_includedir}/python-ecore/ecore/evas | |
210 | %{_pkgconfigdir}/python-ecore-evas.pc | |
211 | ||
278279cc JB |
212 | %files file |
213 | %defattr(644,root,root,755) | |
214 | %dir %{py_sitedir}/ecore/file | |
215 | %attr(755,root,root) %{py_sitedir}/ecore/file/c_ecore_file.so | |
216 | %{py_sitedir}/ecore/file/__init__.py[co] | |
217 | ||
218 | %files file-devel | |
219 | %defattr(644,root,root,755) | |
220 | %dir %{_includedir}/python-ecore/ecore/file | |
221 | %{_includedir}/python-ecore/ecore/file/__init__.py | |
222 | %{_includedir}/python-ecore/ecore/file/c_ecore_file.pxd | |
223 | %{_pkgconfigdir}/python-ecore-file.pc | |
224 | ||
cf425dc7 JB |
225 | %files imf |
226 | %defattr(644,root,root,755) | |
227 | %dir %{py_sitedir}/ecore/imf | |
228 | %attr(755,root,root) %{py_sitedir}/ecore/imf/c_ecore_imf.so | |
278279cc | 229 | %{py_sitedir}/ecore/imf/__init__.py[co] |
cf425dc7 JB |
230 | |
231 | %files imf-devel | |
232 | %defattr(644,root,root,755) | |
233 | %{_includedir}/python-ecore/ecore/imf | |
234 | %{_pkgconfigdir}/python-ecore-imf.pc | |
235 | ||
236 | %files x | |
237 | %defattr(644,root,root,755) | |
238 | %dir %{py_sitedir}/ecore/x | |
239 | %attr(755,root,root) %{py_sitedir}/ecore/x/c_ecore_x.so | |
278279cc | 240 | %{py_sitedir}/ecore/x/__init__.py[co] |
cf425dc7 JB |
241 | %{_examplesdir}/%{name}-%{version}/x |
242 | ||
243 | %files x-devel | |
244 | %defattr(644,root,root,755) | |
245 | %{_includedir}/python-ecore/ecore/x | |
246 | %{_pkgconfigdir}/python-ecore-x.pc |