Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37575743
en ru br
Репозитории ALT
S:3.6.5-alt2
5.1: 2.8.0-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: OpenSceneGraph

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
# Copyright (c) 2005, 2006, 2007, 2008, 2009 Ralf Corsepius, Ulm, Germany.
# Copyright (c) 2009 Michael Shigorin
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

%define apivers 2.8.0
%define srcvers 2.8.0
%define osgbranch 2.8

Name: OpenSceneGraph
Version: 2.8.0
Release: alt1

Summary: High performance real-time graphics toolkit
License: OSGPL (wxWidgets, clarified LGPL)
Group: System/Libraries

Url: http://www.openscenegraph.org
Source: %url/downloads/stable_releases/OpenSceneGraph-%osgbranch/OpenSceneGraph-%version.zip
Patch0: OpenSceneGraph-2.8.0-fedora.diff
Patch1: OpenSceneGraph-2.6.1-linkage.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Mon Mar 23 2009

BuildRequires: cmake doxygen gcc-c++ graphviz libInventor-devel libSDL-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXdmcp-devel libXft-devel libXmu-devel libXpm-devel libXtst-devel libXv-devel libXxf86misc-devel libcurl-devel libfltk-devel libfreeglut-devel libgif-devel libqt4-devel libxkbfile-devel unzip wget wxGTK-devel xorg-xf86vidmodeproto-devel

#BuildRequires: libGL-devel

#BuildRequires: libGLU-devel
##BuildRequires: libXmu-devel
#BuildRequires: libX11-devel
##BuildRequires: libInventor-devel
##BuildRequires: libfreeglut-devel
#BuildRequires: libjpeg-devel
#BuildRequires: libungif-devel
#BuildRequires: libtiff-devel
#BuildRequires: libpng-devel
##BuildRequires: doxygen graphviz
##BuildRequires: cmake
##BuildRequires: wxGTK-devel
##BuildRequires: libcurl-devel
##BuildRequires: libqt4-devel
##BuildRequires: libSDL-devel
##BuildRequires: libfltk-devel
BuildRequires: libgtk+2-devel libpixman-devel librsvg-devel libgtkglext-devel libpoppler-glib-devel

%description
The OpenSceneGraph is an OpenSource, cross platform graphics toolkit for the
development of high performance graphics applications such as flight
simulators, games, virtual reality and scientific visualization.
Based around the concept of a SceneGraph, it provides an object oriented
framework on top of OpenGL freeing the developer from implementing and
optimizing low level graphics calls, and provides many additional utilities
for rapid development of graphics applications.

%prep
%setup
%patch0 -p1
%patch1 -p0

%build
mkdir BUILD
pushd BUILD
cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX:PATH=%_usr \
     -DBUILD_OSG_EXAMPLES=ON -DBUILD_OSG_WRAPPERS=ON -DBUILD_DOCUMENTATION=ON \
     ..
%make_build VERBOSE=1
make doc_openscenegraph doc_openthreads
popd

%install
pushd BUILD
%makeinstall_std
# Supposed to take OpenSceneGraph data
mkdir -p %buildroot%_datadir/OpenSceneGraph
popd

%files
%doc AUTHORS.txt LICENSE.txt NEWS.txt README.txt
%_bindir/osgarchive
%_bindir/osgconv
%_bindir/osgversion
%_bindir/osgviewer
%_bindir/osgviewerGTK
%_bindir/osgfilecache

%package -n lib%name
Summary: Development files for OpenSceneGraph
Group: System/Libraries
Provides: %name = %version-%release

%description -n lib%name
Runtime libraries files for OpenSceneGraph

%files -n lib%name
%_libdir/osgPlugins-%apivers
%_libdir/libosg*.so.*

%package -n lib%name-devel
Summary: Development files for OpenSceneGraph
Group: Development/C++
Requires: lib%name = %version-%release
Requires: pkgconfig
Requires: libOpenThreads-devel

%description -n lib%name-devel
Development files for OpenSceneGraph

%files -n lib%name-devel
%doc BUILD/doc/OpenSceneGraphReferenceDocs
%_includedir/osg*
%_pkgconfigdir/openscenegraph.pc
%_libdir/libosg*.so

%package examples-SDL
Summary: OSG sample applications using SDL
Group: Development/Documentation

%description examples-SDL
OSG sample applications using SDL

%files examples-SDL
%_bindir/osgviewerSDL

%package examples-fltk
Summary: OSG sample applications using FLTK
Group: Development/Documentation

%description examples-fltk
OSG sample applications using FLTK

%files examples-fltk
%_bindir/osgviewerFLTK

%package examples-qt
Summary: OSG sample applications using qt
Group: Development/Documentation

%description examples-qt
OSG sample applications using qt

%files examples-qt
%_bindir/osgviewerQT

# OpenSceneGraph-examples

%package examples
Summary: Sample applications for OpenSceneGraph
Group: Development/Documentation

%description examples
Sample applications for OpenSceneGraph

%files examples
%_bindir/osg2cpp
%_bindir/osganimationmakepath
%_bindir/osganimationnode
%_bindir/osganimationskinning
%_bindir/osganimationsolid
%_bindir/osganimationtimeline
%_bindir/osganimationviewer
%_bindir/osgautocapture
%_bindir/osgbrowser
%_bindir/osgcluster
%_bindir/osgdrawinstanced
%_bindir/osggameoflife
%_bindir/osgmemorytest
%_bindir/osgpackeddepthstencil
%_bindir/osgpdf
%_bindir/osgrobot
%_bindir/osgsidebyside
%_bindir/osgwidgetmessagebox
%_bindir/osgwidgetperformance
#_bindir/osgfilecache
%_bindir/osgfont
%_bindir/osgimagesequence
%_bindir/osgkdtree
%_bindir/osgscreencapture
%_bindir/osgwidgetaddremove
%_bindir/osgwidgetbox
%_bindir/osgwidgetcanvas
%_bindir/osgwidgetframe
%_bindir/osgwidgetinput
%_bindir/osgwidgetlabel
%_bindir/osgwidgetmenu
%_bindir/osgwidgetnotebook
%_bindir/osgwidgetscrolled
%_bindir/osgwidgetshader
%_bindir/osgwidgetstyled
%_bindir/osgwidgettable
%_bindir/osgwidgetwindow
%_bindir/osggeometryshaders
%_bindir/osgmultiplerendertargets
%_bindir/osgmultitexturecontrol
%_bindir/osgocclusionquery
%_bindir/osgsharedarray
%_bindir/osgstereomatch
%_bindir/osgtext3D
%_bindir/osgthirdpersonview
%_bindir/osgdepthpeeling
%_bindir/osganimate
%_bindir/osgautotransform
%_bindir/osgbillboard
%_bindir/osgblendequation
%_bindir/osgcallback
%_bindir/osgcamera
%_bindir/osgcatch
%_bindir/osgclip
%_bindir/osgcompositeviewer
%_bindir/osgcopy
%_bindir/osgcubemap
%_bindir/osgdelaunay
%_bindir/osgdepthpartition
%_bindir/osgdistortion
%_bindir/osgfadetext
%_bindir/osgforest
%_bindir/osgfxbrowser
%_bindir/osggeodemo
%_bindir/osggeometry
%_bindir/osghangglide
%_bindir/osghud
%_bindir/osgimpostor
%_bindir/osgintersection
%_bindir/osgintrospection
%_bindir/osgkeyboard
%_bindir/osgkeyboardmouse
%_bindir/osglauncher
%_bindir/osglight
%_bindir/osglightpoint
%_bindir/osglogicop
%_bindir/osglogo
%_bindir/osgmanipulator
%_bindir/osgmotionblur
%_bindir/osgmovie
%_bindir/osgmultitexture
%_bindir/osgoccluder
%_bindir/osgpagedlod
%_bindir/osgparametric
%_bindir/osgparticle
%_bindir/osgparticleeffects
%_bindir/osgpick
%_bindir/osgplanets
%_bindir/osgpoints
%_bindir/osgpointsprite
%_bindir/osgprecipitation
%_bindir/osgprerender
%_bindir/osgprerendercubemap
%_bindir/osgreflect
%_bindir/osgscalarbar
%_bindir/osgscribe
%_bindir/osgsequence
%_bindir/osgshaders
%_bindir/osgshaderterrain
%_bindir/osgshadow
%_bindir/osgshape
%_bindir/osgsimplifier
%_bindir/osgslice
%_bindir/osgspacewarp
%_bindir/osgspheresegment
%_bindir/osgspotlight
%_bindir/osgstereoimage
%_bindir/osgteapot
%_bindir/osgterrain
%_bindir/osgtessellate
%_bindir/osgtext
%_bindir/osgtexture1D
%_bindir/osgtexture2D
%_bindir/osgtexture3D
%_bindir/osgtexturerectangle
%_bindir/osgunittests
%_bindir/osgvertexprogram
%_bindir/osgviewerGLUT
%_bindir/osgviewerWX
%_bindir/osgvolume
%_bindir/osgwindows

%_bindir/osgphotoalbum
%_bindir/osgsimulation

%_datadir/OpenSceneGraph

# libOpenThreads

%package -n libOpenThreads
Summary: OpenThreads
Group: System/Libraries
Provides: OpenThreads = %name-%version

%description -n libOpenThreads
OpenThreads is intended to provide a minimal & complete Object-Oriented (OO)
thread interface for C++ programmers.  It is loosely modeled on the Java
thread API, and the POSIX Threads standards.  The architecture of the
library is designed around "swappable" thread models which are defined at
compile-time in a shared object library.

%files -n libOpenThreads
%doc AUTHORS.txt LICENSE.txt NEWS.txt README.txt
%_libdir/libOpenThreads.so.*

# libOpenThreads-devel

%package -n libOpenThreads-devel
Summary: Development files for OpenThreads
Group: Development/C++
Requires: libOpenThreads = %version-%release

%description -n libOpenThreads-devel
Development files for OpenThreads

%files -n libOpenThreads-devel
%doc BUILD/doc/OpenThreadsReferenceDocs
%_pkgconfigdir/openthreads.pc
%_libdir/libOpenThreads.so
%_includedir/OpenThreads

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin