1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | %define glib_version 2.24.0 |
---|
4 | %define gtk_version 2.20.0 |
---|
5 | %define pygtk_version 2.14.0 |
---|
6 | %define gnome_python_version 2.28.0 |
---|
7 | %define libgnome_keyring_version 2.30.0 |
---|
8 | %define gnome_panel_version 2.30.0 |
---|
9 | %define gnome_desktop_version 2.30.0 |
---|
10 | %define gtksourceview_version 1.1.90 |
---|
11 | %define libgtop_version 2.28.0 |
---|
12 | %define gnome_media_version 2.30.0 |
---|
13 | %define metacity_version 2.30.0 |
---|
14 | %define librsvg2_version 2.26.0 |
---|
15 | %define totem_version 2.30.0 |
---|
16 | %define libwnck_version 2.30.0 |
---|
17 | %define bug_buddy_version 2.30.0 |
---|
18 | %define evolution_data_server_version 2.30.0 |
---|
19 | |
---|
20 | ### Abstract ### |
---|
21 | |
---|
22 | Name: gnome-python-desktop |
---|
23 | Version: 2.30.2 |
---|
24 | Release: 2%{?_dist_release} |
---|
25 | License: GPL/LGPL |
---|
26 | Group: Development/Libraries |
---|
27 | Summary: The sources for additional PyGNOME Python extension modules |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | Source: gnome-python-desktop-%{version}.tar.bz2 |
---|
30 | |
---|
31 | ### Dependencies ### |
---|
32 | |
---|
33 | Requires: gnome-python >= %{gnome_python_version} |
---|
34 | |
---|
35 | ### Build Dependencies ### |
---|
36 | |
---|
37 | BuildRequires: glib2-devel >= %{glib_version} |
---|
38 | BuildRequires: gtk2-devel >= %{gtk_version} |
---|
39 | BuildRequires: python >= 2.6 |
---|
40 | BuildRequires: pygtk2-devel >= %{pygtk_version} |
---|
41 | BuildRequires: gnome-python-devel >= %{gnome_python_version} |
---|
42 | BuildRequires: libgnome-keyring-devel >= %{libgnome_keyring_version} |
---|
43 | BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
---|
44 | BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
---|
45 | BuildRequires: libgnomeprint-devel |
---|
46 | BuildRequires: libgnomeprintui-devel |
---|
47 | BuildRequires: evince-devel |
---|
48 | BuildRequires: evolution-data-server >= %{evolution_data_server_version} |
---|
49 | BuildRequires: gtksourceview-devel >= %{gtksourceview_version} |
---|
50 | BuildRequires: libgtop2-devel >= %{libgtop_version} |
---|
51 | BuildRequires: gnome-media-devel >= %{gnome_media_version} |
---|
52 | BuildRequires: metacity-devel >= %{metacity_version} |
---|
53 | BuildRequires: brasero-devel |
---|
54 | BuildRequires: librsvg2-devel >= %{librsvg2_version} |
---|
55 | BuildRequires: pycairo-devel |
---|
56 | BuildRequires: totem-pl-parser-devel >= %{totem_version} |
---|
57 | BuildRequires: totem >= %{totem_version} |
---|
58 | BuildRequires: libwnck-devel >= %{libwnck_version} |
---|
59 | BuildRequires: bug-buddy >= %{bug_buddy_version} |
---|
60 | BuildRequires: libSM-devel |
---|
61 | |
---|
62 | %description |
---|
63 | The gnome-python-desktop package contains the source packages for additional |
---|
64 | Python bindings for GNOME. It should be used together with gnome-python. |
---|
65 | |
---|
66 | %package -n gnome-python-applet |
---|
67 | Summary: Python bindings for GNOME Panel applets. |
---|
68 | Group: Development/Libraries |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | # applets from GNOME 1.4 are no longer supported - we only have 1 panel |
---|
71 | Obsoletes: pygnome-applet |
---|
72 | |
---|
73 | %description -n gnome-python-applet |
---|
74 | This module contains a wrapper that allows GNOME Panel applets to be |
---|
75 | written in Python. |
---|
76 | |
---|
77 | %package -n gnome-python-bugbuddy |
---|
78 | Summary: Python bindings for interacting with bug-buddy |
---|
79 | Group: Development/Libraries |
---|
80 | Requires: %{name} = %{version}-%{release} |
---|
81 | Requires: bug-buddy >= %{bug_buddy_version} |
---|
82 | |
---|
83 | %description -n gnome-python-bugbuddy |
---|
84 | This module contains a wrapper that allows the use of bug-buddy via |
---|
85 | Python. |
---|
86 | |
---|
87 | %package -n gnome-python-evolution |
---|
88 | Summary: Python bindings for interacting with evolution |
---|
89 | Group: Development/Libraries |
---|
90 | Requires: %{name} = %{version}-%{release} |
---|
91 | Requires: evolution-data-server >= %{evolution_data_server_version} |
---|
92 | |
---|
93 | %description -n gnome-python-evolution |
---|
94 | This module contains a wrapper that allows the use of evolution via |
---|
95 | Python. |
---|
96 | |
---|
97 | %package -n gnome-python-gnomeprint |
---|
98 | Summary: Python bindings for interacting with libgnomeprint |
---|
99 | Group: Development/Libraries |
---|
100 | Requires: %{name} = %{version}-%{release} |
---|
101 | Requires: libgnomeprint |
---|
102 | Requires: libgnomeprintui |
---|
103 | |
---|
104 | %description -n gnome-python-gnomeprint |
---|
105 | This module contains a wrapper that allows the use of libgnomeprint via |
---|
106 | Python. |
---|
107 | |
---|
108 | %package -n gnome-python-gtksourceview |
---|
109 | Summary: Python bindings for interacting with the gtksourceview library |
---|
110 | Group: Development/Libraries |
---|
111 | Requires: %{name} = %{version}-%{release} |
---|
112 | Requires: gtksourceview >= %{gtksourceview_version} |
---|
113 | Requires: gnome-python-gnomeprint |
---|
114 | |
---|
115 | %description -n gnome-python-gtksourceview |
---|
116 | This module contains a wrapper that allows the use of gtksourceview via |
---|
117 | Python. |
---|
118 | |
---|
119 | %package -n gnome-python-libwnck |
---|
120 | Summary: Python bindings for interacting with libwnck |
---|
121 | Group: Development/Libraries |
---|
122 | Requires: libwnck >= %{libwnck_version} |
---|
123 | |
---|
124 | %description -n gnome-python-libwnck |
---|
125 | This module contains a wrapper that allows the use of libwnck via |
---|
126 | Python. |
---|
127 | |
---|
128 | %package -n gnome-python-libgtop2 |
---|
129 | Summary: Python bindings for interacting with libgtop |
---|
130 | Group: Development/Libraries |
---|
131 | Requires: %{name} = %{version}-%{release} |
---|
132 | Requires: libgtop2 >= %{libgtop_version} |
---|
133 | |
---|
134 | %description -n gnome-python-libgtop2 |
---|
135 | This module contains a wrapper that allows the use of libgtop via |
---|
136 | Python. |
---|
137 | |
---|
138 | %package -n gnome-python-brasero |
---|
139 | Summary: Python bindings for interacting with brasero |
---|
140 | Group: Development/Libraries |
---|
141 | Requires: %{name} = %{version}-%{release} |
---|
142 | Requires: brasero-libs |
---|
143 | |
---|
144 | %description -n gnome-python-brasero |
---|
145 | This module contains a wrapper that allows the use of brasero |
---|
146 | via Python. |
---|
147 | |
---|
148 | %package -n gnome-python-metacity |
---|
149 | Summary: Python bindings for interacting with metacity |
---|
150 | Group: Development/Libraries |
---|
151 | Requires: %{name} = %{version}-%{release} |
---|
152 | Requires: metacity >= %{metacity_version} |
---|
153 | |
---|
154 | %description -n gnome-python-metacity |
---|
155 | This module contains a wrapper that allows the use of metacity |
---|
156 | via Python. |
---|
157 | |
---|
158 | %package -n gnome-python-totem |
---|
159 | Summary: Python bindings for interacting with totem |
---|
160 | Group: Development/Libraries |
---|
161 | Requires: %{name} = %{version}-%{release} |
---|
162 | Requires: totem >= %{totem_version} |
---|
163 | |
---|
164 | %description -n gnome-python-totem |
---|
165 | This module contains a wrapper that allows the use of totem |
---|
166 | via Python. |
---|
167 | |
---|
168 | %package -n gnome-python-rsvg |
---|
169 | Summary: Python bindings for interacting with librsvg |
---|
170 | Group: Development/Libraries |
---|
171 | Requires: librsvg2 >= %{librsvg2_version} |
---|
172 | Requires: pycairo |
---|
173 | |
---|
174 | %description -n gnome-python-rsvg |
---|
175 | This module contains a wrapper that allows the use of librsvg |
---|
176 | via Python. |
---|
177 | |
---|
178 | %package -n gnome-python-gnomedesktop |
---|
179 | Summary: Python bindings for interacting with gnome-desktop |
---|
180 | Group: Development/Libraries |
---|
181 | Requires: %{name} = %{version}-%{release} |
---|
182 | Requires: gnome-desktop >= %{gnome_desktop_version} |
---|
183 | |
---|
184 | %description -n gnome-python-gnomedesktop |
---|
185 | This module contains a wrapper that allows the use of gnome-desktop |
---|
186 | via Python. |
---|
187 | |
---|
188 | %package -n gnome-python-gnomekeyring |
---|
189 | Summary: Python bindings for interacting with gnome-keyring |
---|
190 | Group: Development/Libraries |
---|
191 | Requires: %{name} = %{version}-%{release} |
---|
192 | Requires: libgnome-keyring >= %{libgnome_keyring_version} |
---|
193 | |
---|
194 | %description -n gnome-python-gnomekeyring |
---|
195 | This module contains a wrapper that allows the use of gnome-keyring |
---|
196 | via Python. |
---|
197 | |
---|
198 | %package -n gnome-python-evince |
---|
199 | Summary: Python bindings for interacting with evince |
---|
200 | Group: Development/Libraries |
---|
201 | Requires: %{name} = %{version}-%{release} |
---|
202 | Requires: evince |
---|
203 | |
---|
204 | %description -n gnome-python-evince |
---|
205 | This module contains a wrapper that allows the use of evince |
---|
206 | via Python. |
---|
207 | |
---|
208 | %prep |
---|
209 | %setup -q -n gnome-python-desktop-%{version} |
---|
210 | |
---|
211 | %build |
---|
212 | ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-metacity |
---|
213 | ./waf build %{?_smp_mflags} |
---|
214 | |
---|
215 | %install |
---|
216 | rm -rf $RPM_BUILD_ROOT |
---|
217 | ./waf install --destdir=$RPM_BUILD_ROOT |
---|
218 | |
---|
219 | find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \; |
---|
220 | |
---|
221 | rm -rf $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/gksu |
---|
222 | |
---|
223 | %clean |
---|
224 | rm -rf $RPM_BUILD_ROOT |
---|
225 | |
---|
226 | %files |
---|
227 | %defattr(-,root,root,-) |
---|
228 | %doc AUTHORS ChangeLog NEWS |
---|
229 | %{_libdir}/pkgconfig/gnome-python-desktop-2.0.pc |
---|
230 | %{_datadir}/pygtk |
---|
231 | |
---|
232 | %files -n gnome-python-applet |
---|
233 | %defattr(-,root,root,-) |
---|
234 | %{python_sitearch}/gtk-2.0/gnomeapplet.so |
---|
235 | %defattr(644,root,root,755) |
---|
236 | %doc ../gnome-python-desktop-%{version}/examples/applet/* |
---|
237 | |
---|
238 | %files -n gnome-python-bugbuddy |
---|
239 | %defattr(-,root,root,-) |
---|
240 | %{python_sitearch}/gtk-2.0/bugbuddy.py* |
---|
241 | |
---|
242 | %files -n gnome-python-evolution |
---|
243 | %defattr(-,root,root,-) |
---|
244 | %dir %{python_sitearch}/gtk-2.0/evolution/ |
---|
245 | %{python_sitearch}/gtk-2.0/evolution/* |
---|
246 | |
---|
247 | %files -n gnome-python-gnomeprint |
---|
248 | %defattr(-,root,root,-) |
---|
249 | %{python_sitearch}/gtk-2.0/gnomeprint/ |
---|
250 | %{_datadir}/gtk-doc/html/pygnomeprint |
---|
251 | %{_datadir}/gtk-doc/html/pygnomeprintui |
---|
252 | %defattr(644,root,root,755) |
---|
253 | %doc ../gnome-python-desktop-%{version}/examples/gnomeprint/* |
---|
254 | |
---|
255 | %files -n gnome-python-gtksourceview |
---|
256 | %defattr(-,root,root,-) |
---|
257 | %{python_sitearch}/gtk-2.0/gtksourceview.so |
---|
258 | %{_datadir}/gtk-doc/html/pygtksourceview |
---|
259 | %defattr(644,root,root,755) |
---|
260 | %doc ../gnome-python-desktop-%{version}/examples/gtksourceview/* |
---|
261 | |
---|
262 | %files -n gnome-python-libwnck |
---|
263 | %defattr(-,root,root,-) |
---|
264 | %{python_sitearch}/gtk-2.0/wnck.so |
---|
265 | %defattr(644,root,root,755) |
---|
266 | %doc ../gnome-python-desktop-%{version}/examples/wnck_example.py |
---|
267 | |
---|
268 | %files -n gnome-python-libgtop2 |
---|
269 | %defattr(-,root,root,-) |
---|
270 | %{python_sitearch}/gtk-2.0/gtop.so |
---|
271 | |
---|
272 | %files -n gnome-python-brasero |
---|
273 | %defattr(-,root,root,-) |
---|
274 | %{python_sitearch}/gtk-2.0/braseroburn.so |
---|
275 | %{python_sitearch}/gtk-2.0/braseromedia.so |
---|
276 | %defattr(644,root,root,755) |
---|
277 | %doc ../gnome-python-desktop-%{version}/examples/braseroburn/* |
---|
278 | %doc ../gnome-python-desktop-%{version}/examples/braseromedia/* |
---|
279 | |
---|
280 | %files -n gnome-python-metacity |
---|
281 | %defattr(-,root,root,-) |
---|
282 | %{python_sitearch}/gtk-2.0/metacity.so |
---|
283 | |
---|
284 | %files -n gnome-python-totem |
---|
285 | %defattr(-,root,root,-) |
---|
286 | %{python_sitearch}/gtk-2.0/mediaprofiles.so |
---|
287 | %{python_sitearch}/gtk-2.0/totem |
---|
288 | |
---|
289 | %files -n gnome-python-rsvg |
---|
290 | %{python_sitearch}/gtk-2.0/rsvg.so |
---|
291 | %defattr(644,root,root,755) |
---|
292 | %doc ../gnome-python-desktop-%{version}/examples/rsvg/* |
---|
293 | |
---|
294 | %files -n gnome-python-gnomedesktop |
---|
295 | %{python_sitearch}/gtk-2.0/gnomedesktop |
---|
296 | |
---|
297 | %files -n gnome-python-gnomekeyring |
---|
298 | %{python_sitearch}/gtk-2.0/gnomekeyring.so |
---|
299 | %defattr(644,root,root,755) |
---|
300 | %doc ../gnome-python-desktop-%{version}/examples/keyring*.py |
---|
301 | |
---|
302 | %files -n gnome-python-evince |
---|
303 | %{python_sitearch}/gtk-2.0/evince.so |
---|
304 | |
---|
305 | %changelog |
---|
306 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
307 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
308 | - change BuildRequires: gnome-panel-devel instead of gnome-panel |
---|
309 | - change BuildRequires: gnome-media-devel instead of gnome-media |
---|
310 | - add BuildRequires: libSM-devel |
---|
311 | |
---|
312 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
313 | - new upstream release |
---|
314 | |
---|
315 | * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
316 | - new upstream release |
---|
317 | - add BuildRequires: totem |
---|
318 | - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel |
---|
319 | |
---|
320 | * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-2 |
---|
321 | - rebuild for python-2.6 |
---|
322 | |
---|
323 | * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
324 | - new upstream release |
---|
325 | - added gnome-python-brasero, gnome-python-evince package |
---|
326 | - remove gnome-python-nautilus-cd-burner package |
---|
327 | - used waf instead of configure script |
---|
328 | |
---|
329 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
330 | - new upstream release |
---|
331 | |
---|
332 | * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.24.0-1 |
---|
333 | - new upstream release |
---|
334 | - added BuildRequires: pycairo-devel |
---|
335 | |
---|
336 | * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> - 2.20.0-3 |
---|
337 | - rebuilt with python-2.5.2 |
---|
338 | |
---|
339 | * Wed Apr 16 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.20.0-2 |
---|
340 | - re-enable BuildRequires: gnome-python-devel |
---|
341 | |
---|
342 | * Mon Apr 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.0-1vl5 |
---|
343 | - new upstream release |
---|
344 | - added gnome-python-evolution subpackage |
---|
345 | |
---|
346 | * Wed Jan 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.20.0-0vl1 |
---|
347 | - new upstream release |
---|
348 | |
---|
349 | * Sun Jul 08 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.18.0-1vl2 |
---|
350 | - add BuildRequires: gnome-media |
---|
351 | |
---|
352 | * Sat Jul 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.18.0-1vl1 |
---|
353 | - initial build for Vine Linux |
---|
354 | |
---|
355 | * Mon Mar 12 2007 Matthew Barnes <mbarnes@redhat.com> - 2.18.0-1.fc7 |
---|
356 | - Update to 2.18.0 |
---|
357 | |
---|
358 | * Wed Feb 28 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.93-1 |
---|
359 | - Update to 2.17.93 |
---|
360 | |
---|
361 | * Sun Feb 25 2007 Matthew Barnes <mbarnes@redhat.com> - 2.17.92-1.fc7 |
---|
362 | - Update to 2.17.92 |
---|
363 | - Remove patch for GNOME bug #401760 (fixed upstream). |
---|
364 | |
---|
365 | * Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 2.17.3-3.fc7 |
---|
366 | - Add patch for GNOME bug #401760 (plparser fails to build). |
---|
367 | |
---|
368 | * Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 2.17.3-2.fc7 |
---|
369 | - Rename spec file to gnome-python2-desktop.spec (RH bug #225832). |
---|
370 | |
---|
371 | * Mon Jan 08 2007 Matthew Barnes <mbarnes@redhat.com> - 2.17.3-1 |
---|
372 | - Update to 2.17.3 |
---|
373 | |
---|
374 | * Sun Jan 07 2007 Matthew Barnes <mbarnes@redhat.com> - 2.17.2-1 |
---|
375 | - Update to 2.17.2 |
---|
376 | - New gnome-python2-bugbuddy subpackage. |
---|
377 | - Update version requirements to match configure.ac. |
---|
378 | - Use python_sitearch macro for installing libraries. |
---|
379 | |
---|
380 | * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.17.1-2 |
---|
381 | - rebuild for python 2.5 |
---|
382 | - BR gnome-python2-devel |
---|
383 | |
---|
384 | * Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.1-1 |
---|
385 | - Update to 2.17.1 |
---|
386 | |
---|
387 | * Tue Sep 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-1.fc6 |
---|
388 | - Update to 2.16.0 |
---|
389 | |
---|
390 | * Tue Aug 22 2006 Dan Williams <dcbw@redhat.com> - 2.15.90-2.fc6 |
---|
391 | - Remove unecessary dependencies on gnome-python2-desktop from |
---|
392 | -libwnck and -rsvg subpackages (OLPC) |
---|
393 | |
---|
394 | * Fri Aug 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.90-1.fc6 |
---|
395 | - Update to 2.15.90 |
---|
396 | |
---|
397 | * Thu Jul 20 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.4-2 |
---|
398 | - Rebuild against dbus |
---|
399 | |
---|
400 | * Thu Jul 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.4-1 |
---|
401 | - Update to 2.15.4 |
---|
402 | |
---|
403 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.15.3-4.1 |
---|
404 | - rebuild |
---|
405 | |
---|
406 | * Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> - 2.15.3-4 |
---|
407 | - Create gnomekeyring subpackage |
---|
408 | - block out the nautilus-cd stuff |
---|
409 | |
---|
410 | * Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> - 2.15.3-2 |
---|
411 | - Bump for new nautilus-cd-burner |
---|
412 | |
---|
413 | * Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.3-1 |
---|
414 | - Update to 2.15.3 |
---|
415 | |
---|
416 | * Tue May 30 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.2-1 |
---|
417 | - Update to 2.15.2 |
---|
418 | - Add subpackages gnome-python2-rsvg and gnome-python2-gnomedesktop |
---|
419 | |
---|
420 | * Wed May 24 2006 John (J5) Palmieri <johnp@redhat.com> - 2.14.0-2 |
---|
421 | - Add pygtk2 BR |
---|
422 | |
---|
423 | * Mon Mar 13 2006 Ray Strode <rstrode@redhat.de> 2.14.0-1 |
---|
424 | - Update to 2.14.0 |
---|
425 | |
---|
426 | * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.13.3-2 |
---|
427 | - Buildrequires: python-devel |
---|
428 | |
---|
429 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.3-1.1 |
---|
430 | - bump again for double-long bug on ppc(64) |
---|
431 | |
---|
432 | * Mon Feb 6 2006 John (J5) Palmieri <johnp@redhat.com> - 2.13.3-1 |
---|
433 | - Initial build. |
---|
434 | |
---|