/[pkgs]/devel/OpenSceneGraph/OpenSceneGraph.spec
ViewVC logotype

Contents of /devel/OpenSceneGraph/OpenSceneGraph.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.48 - (show annotations) (download)
Wed Aug 26 10:16:43 2009 UTC (2 months, 4 weeks ago) by corsepiu
Branch: MAIN
CVS Tags: F-12-split, OpenSceneGraph-2_8_2-3_fc12, OpenSceneGraph-2_8_2-3_fc13, HEAD
Changes since 1.47: +5 -2 lines
* Wed Aug 26 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.2-3
- Change Source0 URL (Upstream moved it once again).
1 #
2 # Copyright (c) 2005, 2006, 2007, 2008, 2009 Ralf Corsepius, Ulm, Germany.
3 # This file and all modifications and additions to the pristine
4 # package are under the same license as the package itself.
5 #
6
7 %define apivers 2.8.2
8 %define srcvers 2.8.2
9
10 Name: OpenSceneGraph
11 Version: %{apivers}
12 Release: 3%{?dist}
13 Summary: High performance real-time graphics toolkit
14
15 Group: Applications/Multimedia
16 # The OSGPL is just the wxWidgets license.
17 License: wxWidgets
18 URL: http://www.openscenegraph.org/
19 Source0: http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-%{version}/source/OpenSceneGraph-%{version}.zip
20
21 Patch0: OpenSceneGraph-%{version}.diff
22
23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
24
25 BuildRequires: libGL-devel
26 BuildRequires: libGLU-devel
27 BuildRequires: libXmu-devel
28 BuildRequires: libX11-devel
29 BuildRequires: Inventor-devel
30 BuildRequires: freeglut-devel
31 BuildRequires: libjpeg-devel
32 BuildRequires: libungif-devel
33 BuildRequires: libtiff-devel
34 BuildRequires: libpng-devel
35 BuildRequires: doxygen graphviz
36 BuildRequires: cmake
37 BuildRequires: wxGTK-devel
38 BuildRequires: curl-devel
39
40 BuildRequires: qt-devel
41
42 BuildRequires: SDL-devel
43
44 BuildRequires: fltk-devel
45
46 # OSG packaging madness ;)
47 %define OSGSRCDIR OpenSceneGraph-%{version}
48
49 %if "%{name}" == "OpenSceneGraph"
50 Provides: OpenSceneGraph2 = %{version}-%{release}
51 %endif
52
53 %description
54 The OpenSceneGraph is an OpenSource, cross platform graphics toolkit for the
55 development of high performance graphics applications such as flight
56 simulators, games, virtual reality and scientific visualization.
57 Based around the concept of a SceneGraph, it provides an object oriented
58 framework on top of OpenGL freeing the developer from implementing and
59 optimizing low level graphics calls, and provides many additional utilities
60 for rapid development of graphics applications.
61
62 %prep
63 %setup -q -c
64 cd %{OSGSRCDIR}
65 %{?PATCH0:%patch0 -p1}
66 cd ..
67
68 %build
69 mkdir -p BUILD
70 pushd BUILD
71
72 %cmake -DBUILD_OSG_EXAMPLES=ON -DBUILD_OSG_WRAPPERS=ON -DBUILD_DOCUMENTATION=ON ../%{OSGSRCDIR}
73 make VERBOSE=1 %{?_smp_mflags}
74
75 make doc_openscenegraph doc_openthreads
76 popd
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 pushd BUILD
81 make install DESTDIR=${RPM_BUILD_ROOT}
82
83 # Supposed to take OpenSceneGraph data
84 mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/OpenSceneGraph
85 popd
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90
91
92 %files
93 %defattr(-,root,root,-)
94 %doc %{OSGSRCDIR}/{AUTHORS,LICENSE,NEWS,README}.txt
95 %{_bindir}/osgarchive
96 %{_bindir}/osgconv
97 %{_bindir}/osgversion
98 %{_bindir}/osgviewer
99 %{_bindir}/osgfilecache
100
101 %package libs
102 Summary: Devel files for OpenSceneGraph
103 Group: Applications/Multimedia
104 %if "%{name}" == "OpenSceneGraph"
105 Provides: OpenSceneGraph2-libs = %{version}-%{release}
106 %endif
107
108 %description libs
109 Runtime libraries files for OpenSceneGraph.
110
111 %post libs -p /sbin/ldconfig
112
113 %postun libs -p /sbin/ldconfig
114
115 %files libs
116 %defattr(-,root,root,-)
117 %{_libdir}/osgPlugins-%{apivers}
118 %{_libdir}/libosg*.so.*
119
120 %package devel
121 Summary: Devel files for OpenSceneGraph
122 Group: Applications/Multimedia
123 %if "%{name}" == "OpenSceneGraph"
124 Provides: OpenSceneGraph2-devel = %{version}-%{release}
125 %endif
126 Requires: OpenSceneGraph2-libs = %{version}-%{release}
127 Requires: pkgconfig
128 Requires: OpenThreads-devel
129
130 %description devel
131 Development files for OpenSceneGraph.
132
133 %files devel
134 %defattr(-,root,root,-)
135 %doc BUILD/doc/OpenSceneGraphReferenceDocs
136 %{_includedir}/osg*
137 %{_libdir}/pkgconfig/openscenegraph.pc
138 %{_libdir}/libosg*.so
139
140 %package examples-SDL
141 Summary: OSG sample applications using SDL
142 Group: Applications/Multimedia
143 %if "%{name}" == "OpenSceneGraph"
144 Provides: OpenSceneGraph2-examples-SDL = %{version}-%{release}
145 %endif
146
147 %description examples-SDL
148 OSG sample applications using SDL
149
150 %files examples-SDL
151 %defattr(-,root,root,-)
152 %{_bindir}/osgviewerSDL
153
154 %package examples-fltk
155 Summary: OSG sample applications using FLTK
156 Group: Applications/Multimedia
157 %if "%{name}" == "OpenSceneGraph"
158 Provides: OpenSceneGraph2-examples-fltk = %{version}-%{release}
159 %endif
160
161 %description examples-fltk
162 OSG sample applications using FLTK
163
164 %files examples-fltk
165 %defattr(-,root,root,-)
166 %{_bindir}/osgviewerFLTK
167
168 %package examples-qt
169 Summary: OSG sample applications using qt
170 Group: Applications/Multimedia
171 %if "%{name}" == "OpenSceneGraph"
172 Provides: OpenSceneGraph2-examples-qt = %{version}-%{release}
173 %endif
174
175 %description examples-qt
176 OSG sample applications using qt
177
178 %files examples-qt
179 %defattr(-,root,root,-)
180 %{_bindir}/osgviewerQT
181
182 # OpenSceneGraph-examples
183 %package examples
184 Summary: Sample applications for OpenSceneGraph
185 Group: Applications/Multimedia
186 %if "%{name}" == "OpenSceneGraph"
187 Provides: OpenSceneGraph2-examples = %{version}-%{release}
188 %endif
189
190 %description examples
191 Sample applications for OpenSceneGraph
192
193 %files examples
194 %defattr(-,root,root,-)
195 %{_bindir}/osg2cpp
196 %{_bindir}/osganimationmakepath
197 %{_bindir}/osganimationnode
198 %{_bindir}/osganimationskinning
199 %{_bindir}/osganimationsolid
200 %{_bindir}/osganimationtimeline
201 %{_bindir}/osganimationviewer
202 %{_bindir}/osgautocapture
203 %{_bindir}/osgbrowser
204 %{_bindir}/osgcluster
205 %{_bindir}/osgdrawinstanced
206 %{_bindir}/osggameoflife
207 %{_bindir}/osgmemorytest
208 %{_bindir}/osgpackeddepthstencil
209 %{_bindir}/osgpdf
210 %{_bindir}/osgrobot
211 %{_bindir}/osgsidebyside
212 %{_bindir}/osgwidgetmessagebox
213 %{_bindir}/osgwidgetperformance
214 %{_bindir}/osgfont
215 %{_bindir}/osggeometryshaders
216 %{_bindir}/osgimagesequence
217 %{_bindir}/osgkdtree
218 %{_bindir}/osgmultiplerendertargets
219 %{_bindir}/osgmultitexturecontrol
220 %{_bindir}/osgocclusionquery
221 %{_bindir}/osgscreencapture
222 %{_bindir}/osgsharedarray
223 %{_bindir}/osgstereomatch
224 %{_bindir}/osgtext3D
225 %{_bindir}/osgthirdpersonview
226 %{_bindir}/osgdepthpeeling
227 %{_bindir}/osganimate
228 %{_bindir}/osgautotransform
229 %{_bindir}/osgbillboard
230 %{_bindir}/osgblendequation
231 %{_bindir}/osgcallback
232 %{_bindir}/osgcamera
233 %{_bindir}/osgcatch
234 %{_bindir}/osgclip
235 %{_bindir}/osgcompositeviewer
236 %{_bindir}/osgcopy
237 %{_bindir}/osgcubemap
238 %{_bindir}/osgdelaunay
239 %{_bindir}/osgdepthpartition
240 %{_bindir}/osgdistortion
241 %{_bindir}/osgfadetext
242 %{_bindir}/osgforest
243 %{_bindir}/osgfxbrowser
244 %{_bindir}/osggeodemo
245 %{_bindir}/osggeometry
246 %{_bindir}/osghangglide
247 %{_bindir}/osghud
248 %{_bindir}/osgimpostor
249 %{_bindir}/osgintersection
250 %{_bindir}/osgintrospection
251 %{_bindir}/osgkeyboard
252 %{_bindir}/osgkeyboardmouse
253 %{_bindir}/osglauncher
254 %{_bindir}/osglight
255 %{_bindir}/osglightpoint
256 %{_bindir}/osglogicop
257 %{_bindir}/osglogo
258 %{_bindir}/osgmanipulator
259 %{_bindir}/osgmotionblur
260 %{_bindir}/osgmovie
261 %{_bindir}/osgmultitexture
262 %{_bindir}/osgoccluder
263 %{_bindir}/osgpagedlod
264 %{_bindir}/osgparametric
265 %{_bindir}/osgparticle
266 %{_bindir}/osgparticleeffects
267 %{_bindir}/osgpick
268 %{_bindir}/osgplanets
269 %{_bindir}/osgpoints
270 %{_bindir}/osgpointsprite
271 %{_bindir}/osgprecipitation
272 %{_bindir}/osgprerender
273 %{_bindir}/osgprerendercubemap
274 %{_bindir}/osgreflect
275 %{_bindir}/osgscalarbar
276 %{_bindir}/osgscribe
277 %{_bindir}/osgsequence
278 %{_bindir}/osgshaders
279 %{_bindir}/osgshaderterrain
280 %{_bindir}/osgshadow
281 %{_bindir}/osgshape
282 %{_bindir}/osgsimplifier
283 %{_bindir}/osgslice
284 %{_bindir}/osgspacewarp
285 %{_bindir}/osgspheresegment
286 %{_bindir}/osgspotlight
287 %{_bindir}/osgstereoimage
288 %{_bindir}/osgteapot
289 %{_bindir}/osgterrain
290 %{_bindir}/osgtessellate
291 %{_bindir}/osgtext
292 %{_bindir}/osgtexture1D
293 %{_bindir}/osgtexture2D
294 %{_bindir}/osgtexture3D
295 %{_bindir}/osgtexturerectangle
296 %{_bindir}/osgunittests
297 %{_bindir}/osgvertexprogram
298 %{_bindir}/osgviewerGLUT
299 %{_bindir}/osgviewerWX
300 %{_bindir}/osgvolume
301 %{_bindir}/osgwidgetaddremove
302 %{_bindir}/osgwidgetbox
303 %{_bindir}/osgwidgetcanvas
304 %{_bindir}/osgwidgetframe
305 %{_bindir}/osgwidgetinput
306 %{_bindir}/osgwidgetlabel
307 %{_bindir}/osgwidgetmenu
308 %{_bindir}/osgwidgetnotebook
309 %{_bindir}/osgwidgetscrolled
310 %{_bindir}/osgwidgetshader
311 %{_bindir}/osgwidgetstyled
312 %{_bindir}/osgwidgettable
313 %{_bindir}/osgwidgetwindow
314 %{_bindir}/osgwindows
315
316 %{_bindir}/osgphotoalbum
317 %{_bindir}/osgsimulation
318
319 %{_datadir}/OpenSceneGraph
320
321
322 # OpenThreads
323 %package -n OpenThreads
324 Summary: OpenThreads
325 Group: Applications/Multimedia
326 License: wxWidgets
327
328 %description -n OpenThreads
329 OpenThreads is intended to provide a minimal & complete Object-Oriented (OO)
330 thread interface for C++ programmers. It is loosely modeled on the Java
331 thread API, and the POSIX Threads standards. The architecture of the
332 library is designed around "swappable" thread models which are defined at
333 compile-time in a shared object library.
334
335 %post -n OpenThreads -p /sbin/ldconfig
336
337 %postun -n OpenThreads -p /sbin/ldconfig
338
339 %files -n OpenThreads
340 %defattr(-,root,root,-)
341 %doc %{OSGSRCDIR}/{AUTHORS,LICENSE,NEWS,README}.txt
342 %{_libdir}/libOpenThreads.so.*
343
344 # OpenThreads-devel
345 %package -n OpenThreads-devel
346 Summary: Devel files for OpenThreads
347 Group: Applications/Multimedia
348 License: wxWidgets
349 Requires: OpenThreads = %{version}-%{release}
350 Requires: pkgconfig
351
352 %description -n OpenThreads-devel
353 Development files for OpenThreads.
354
355 %files -n OpenThreads-devel
356 %defattr(-,root,root,-)
357 %doc BUILD/doc/OpenThreadsReferenceDocs
358 %{_libdir}/pkgconfig/openthreads.pc
359 %{_libdir}/libOpenThreads.so
360 %{_includedir}/OpenThreads
361
362 %changelog
363 * Wed Aug 26 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.2-3
364 - Change Source0 URL (Upstream moved it once again).
365
366 * Tue Aug 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.2-2
367 - Spec file cleanup.
368
369 * Mon Aug 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.2-1
370 - Upstream update.
371 - Reflect upstream having changes Source0-URL.
372
373 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-3
374 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
375
376 * Mon Jun 29 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.1-2
377 - Remove /usr/bin/osgfilecache from *-examples.
378 - Further spec cleanup.
379
380 * Wed Jun 24 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.8.1-1
381 - Upstream update.
382 - Reflect upstream having consolidated their Source0:-URL.
383 - Stop supporting OSG < 2.6.0.
384
385 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2
386 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
387
388 * Sun Feb 15 2009 Ralf Corsépius <rc040203@freenet.de> - 2.8.0-1
389 - Upgrade to OSG-2.8.0.
390 - Remove Obsolete: Producer hacks.
391
392 * Wed Aug 14 2008 Ralf Corsépius <rc040203@freenet.de> - 2.6.0-1
393 - Upgrade to OSG-2.6.0.
394
395 * Wed Aug 13 2008 Ralf Corsépius <rc040203@freenet.de> - 2.4.0-4
396 - Preps for 2.6.0.
397 - Reflect the Source0-URL having changed.
398 - Major spec-file overhaul.
399
400 * Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.4.0-3
401 - fix license tag
402
403 * Tue May 13 2008 Ralf Corsépius <rc040203@freenet.de> - 2.4.0-2
404 - Add Orion Poplawski's patch to fix building with cmake-2.6.0.
405
406 * Mon May 12 2008 Ralf Corsépius <rc040203@freenet.de> - 2.4.0-1
407 - Upstream update.
408 - Adjust patches to 2.4.0.
409
410 * Mon Feb 11 2008 Ralf Corsépius <rc040203@freenet.de> - 2.2.0-5
411 - Add *-examples-SDL package.
412 - Add osgviewerSDL.
413 - Add *-examples-fltk package.
414 - Add osgviewerFLTK.
415 - Add *-examples-qt package.
416 - Move osgviewerQT to *-examples-qt package.
417
418 * Mon Feb 11 2008 Ralf Corsépius <rc040203@freenet.de> - 2.2.0-4
419 - Rebuild for gcc43.
420 - OpenSceneGraph-2.2.0.diff: Add gcc43 hacks.
421
422 * Wed Nov 28 2007 Ralf Corsépius <rc040203@freenet.de> - 2.2.0-3
423 - Re-add apivers.
424 - Rebuild against doxygen-1.5.3-1 (BZ 343591).
425
426 * Thu Nov 02 2007 Ralf Corsépius <rc040203@freenet.de> - 2.2.0-2
427 - Add qt.
428
429 * Thu Nov 01 2007 Ralf Corsépius <rc040203@freenet.de> - 2.2.0-1
430 - Upstream upgrade.
431 - Reflect Source0-URL having changed once again.
432 - Reflect upstream packaging changes to spec.
433
434 * Sat Oct 20 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-8
435 - Reflect Source0-URL having changed.
436
437 * Thu Sep 27 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-7
438 - Let OpenSceneGraph-libs Obsoletes: Producer
439 - Let OpenSceneGraph-devel Obsoletes: Producer-devel.
440
441 * Wed Sep 26 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-6
442 - By public demand, add upstream's *.pcs.
443 - Add hacks to work around the worst bugs in *.pcs.
444 - Add OpenSceneGraph2-devel.
445 - Move ldconfig to *-libs.
446 - Abandon OpenThreads2.
447 - Remove obsolete applications.
448
449 * Wed Aug 22 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-5
450 - Prepare renaming package into OpenSceneGraph2.
451 - Split out run-time libs into *-libs subpackage.
452 - Rename pkgconfig files into *-2.pc.
453 - Reactivate ppc64.
454 - Mass rebuild.
455
456 * Sat Jun 30 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-4
457 - Cleanup CVS.
458 - Add OSG1_Producer define.
459
460 * Fri Jun 29 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-3
461 - Re-add (but don't ship) *.pc.
462 - Let OpenSceneGraph "Obsolete: Producer".
463 - Let OpenSceneGraph-devel "Obsolete: Producer-devel".
464
465 * Wed Jun 27 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-2
466 - Build docs.
467
468 * Fri Jun 22 2007 Ralf Corsépius <rc040203@freenet.de> - 2.0-1
469 - Upgrade to 2.0.
470
471 * Thu Jun 21 2007 Ralf Corsépius <rc040203@freenet.de> - 1.2-4
472 - ExcludeArch: ppc64 (BZ 245192, 245196).
473
474 * Thu Jun 21 2007 Ralf Corsépius <rc040203@freenet.de> - 1.2-3
475 - Remove demeter (Defective, abandoned by upstream).
476
477 * Wed Mar 21 2007 Ralf Corsépius <rc040203@freenet.de> - 1.2-2
478 - Attempt to build with gdal enabled.
479
480 * Wed Oct 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.2-1
481 - Upstream update.
482 - Remove BR: flex bison.
483 - Drop osgfbo and osgpbuffer.
484
485 * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.1-2
486 - Mass rebuild.
487
488 * Thu Aug 24 2006 Ralf Corsépius <rc040203@freenet.de> - 1.1-1
489 - Upstream update.
490
491 * Sat Jul 08 2006 Ralf Corsépius <rc040203@freenet.de> - 1.0-5
492 - Rebuilt to with gcc-4.1.1-6.
493
494 * Tue Jun 07 2006 Ralf Corsépius <rc040203@freenet.de> - 1.0-4
495 - Try to avoid adding SONAMEs on plugins and applications.
496
497 * Tue Jun 06 2006 Ralf Corsépius <rc040203@freenet.de> - 1.0-3
498 - Add SONAME hack to spec (PR 193934).
499 - Regenerate OpenSceneGraph-1.0.diff.
500 - Remove OpenSceneGraph-1.0.diff from look-aside cache. Add to CVS instead.
501 - Fix broken shell fragments.
502
503 * Sun Feb 19 2006 Ralf Corsépius <rc040203@freenet.de> - 1.0-2
504 - Rebuild.
505
506 * Sat Dec 10 2005 Ralf Corsépius <rc040203@freenet.de> - 1.0-1
507 - Upstream update.
508
509 * Wed Dec 07 2005 Ralf Corsépius <rc040203@freenet.de> - 0.9.9-5
510 - Try at getting this package buildable with modular X11.
511
512 * Tue Dec 06 2005 Ralf Corsepius <rc040203@freenet.de> - 0.9.9-4%{?dist}.1
513 - Merge diffs into one file.
514 - Fix up *.pcs from inside of *.spec.
515
516 * Sun Aug 28 2005 Ralf Corsepius <rc040203@freenet.de> - 0.9.9-4
517 - Propagate %%_libdir to pkgconfig files.
518 - Fix typo in %%ifarch magic to setup LD_LIBRARY_PATH
519 - Move configuration to %%build.
520 - Spec file cosmetics.
521
522 * Sat Aug 27 2005 Ralf Corsepius <rc040203@freenet.de> - 0.9.9-3
523 - Add full URL to Debian patch.
524 - Add _with_demeter.
525 - Extend Producer %%description.
526 - Extend OpenThreads %%description.
527
528 * Tue Aug 09 2005 Ralf Corsepius <ralf@links2linux.de> - 0.9.9-2
529 - Fix license to OSGPL.
530 - Change permissions on pkgconfig files to 0644.
531
532 * Tue Aug 02 2005 Ralf Corsepius <ralf@links2linux.de> - 0.9.9-1
533 - FE submission.
534
535 * Thu Jul 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.9.9-0
536 - Initial spec.

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2