]> git.pld-linux.org Git - packages/OpenSceneGraph.git/blame_incremental - OpenSceneGraph.spec
- updated to 2.9.9
[packages/OpenSceneGraph.git] / OpenSceneGraph.spec
... / ...
CommitLineData
1Summary: Open Scene Graph - real-time visualization library
2Summary(pl.UTF-8): Open Scene Graph - biblioteka do wizualizacji
3Name: OpenSceneGraph
4Version: 2.9.9
5Release: 0.beta.1
6License: OpenSceneGraph Public Licence (based on LGPL with exceptions)
7Group: X11/Libraries
8Source0: http://www.openscenegraph.org/downloads/developer_releases/%{name}-%{version}.zip
9# Source0-md5: 0d18aa6ccb8f0fc75ed7ebec1ac3b010
10#Source1: osg-doxygen-0.9.1.tar.gz
11## Source1-md5: 7e6d785d1b763aaeae03c2dc4c148805
12URL: http://www.openscenegraph.org/projects/osg/
13BuildRequires: cairo-devel
14BuildRequires: cmake
15BuildRequires: freetype-devel
16BuildRequires: giflib-devel
17BuildRequires: gtk+2-devel
18BuildRequires: gtkglext-devel
19BuildRequires: libjpeg-devel
20BuildRequires: libpng-devel
21BuildRequires: librsvg-devel
22BuildRequires: libtiff-devel
23BuildRequires: pkgconfig
24BuildRequires: poppler-glib-devel
25BuildRequires: unzip
26#BuildRequires: xulrunner-devel
27BuildRequires: zlib-devel
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31The Open Scene Graph is a cross-platform C++/OpenGL library for the
32real-time visualization.
33
34%description -l pl.UTF-8
35Open Scene Graph to wieloplatformowa oparta o C++ i OpenGL biblioteka
36do wizualizacji w czasie rzeczywistym.
37
38%package devel
39Summary: Header files for Open Scene Graph
40Summary(pl.UTF-8): Pliki nagłówkowe dla Open Scene Graph
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45Headers file for OSD library.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe dla biblioteki Open Scene Graph.
49
50%package examples
51Summary: Examples for Open Scene Graph
52Summary(pl.UTF-8): Przykłady dla Open Scene Graph
53Group: Development/Libraries
54Requires: %{name} = %{version}-%{release}
55
56%description examples
57Examples for Open Scene Graph Library.
58
59%description examples -l pl.UTF-8
60Przykłady dla biblioteki Open Scene Graph.
61
62%package plugins
63Summary: Plugins for Open Scene Graph
64Summary(pl): Wtyczki dla biblioteki Open Scene Graph
65Group: Libraries
66Requires: %{name} = %{version}-%{release}
67
68%description plugins
69Plugins for Open Scene Graph library.
70
71%description plugins -l pl
72Wtyczki dla biblioteki Open Scene Graph.
73
74%prep
75%setup -q
76
77%build
78install -d build
79cd build
80%cmake .. \
81 -DCMAKE_BUILD_TYPE=None \
82 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
83 -DCMAKE_VERBOSE_MAKEFILE=ON
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
89
90cp -r examples/osg* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
91
92%{__make} -C build install \
93 DESTDIR=$RPM_BUILD_ROOT
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%files
102%defattr(644,root,root,755)
103%attr(755,root,root) %{_libdir}/libOpenThreads.so.*.*.*
104%attr(755,root,root) %ghost %{_libdir}/libOpenThreads.so.12
105%attr(755,root,root) %{_libdir}/libosg.so.*.*.*
106%attr(755,root,root) %ghost %{_libdir}/libosg.so.66
107%attr(755,root,root) %{_libdir}/libosgAnimation.so.*.*.*
108%attr(755,root,root) %ghost %{_libdir}/libosgAnimation.so.66
109%attr(755,root,root) %{_libdir}/libosgDB.so.*.*.*
110%attr(755,root,root) %ghost %{_libdir}/libosgDB.so.66
111%attr(755,root,root) %{_libdir}/libosgFX.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libosgFX.so.66
113%attr(755,root,root) %{_libdir}/libosgGA.so.*.*.*
114%attr(755,root,root) %ghost %{_libdir}/libosgGA.so.66
115%attr(755,root,root) %{_libdir}/libosgManipulator.so.*.*.*
116%attr(755,root,root) %ghost %{_libdir}/libosgManipulator.so.66
117%attr(755,root,root) %{_libdir}/libosgParticle.so.*.*.*
118%attr(755,root,root) %ghost %{_libdir}/libosgParticle.so.66
119%attr(755,root,root) %{_libdir}/libosgPresentation.so.*.*.*
120%attr(755,root,root) %ghost %{_libdir}/libosgPresentation.so.66
121%attr(755,root,root) %{_libdir}/libosgShadow.so.*.*.*
122%attr(755,root,root) %ghost %{_libdir}/libosgQt.so.66
123%attr(755,root,root) %{_libdir}/libosgQt.so.*.*.*
124%attr(755,root,root) %ghost %{_libdir}/libosgShadow.so.66
125%attr(755,root,root) %{_libdir}/libosgSim.so.*.*.*
126%attr(755,root,root) %ghost %{_libdir}/libosgSim.so.66
127%attr(755,root,root) %{_libdir}/libosgTerrain.so.*.*.*
128%attr(755,root,root) %ghost %{_libdir}/libosgTerrain.so.66
129%attr(755,root,root) %{_libdir}/libosgText.so.*.*.*
130%attr(755,root,root) %ghost %{_libdir}/libosgText.so.66
131%attr(755,root,root) %{_libdir}/libosgUtil.so.*.*.*
132%attr(755,root,root) %ghost %{_libdir}/libosgUtil.so.66
133%attr(755,root,root) %{_libdir}/libosgViewer.so.*.*.*
134%attr(755,root,root) %ghost %{_libdir}/libosgViewer.so.66
135%attr(755,root,root) %{_libdir}/libosgVolume.so.*.*.*
136%attr(755,root,root) %ghost %{_libdir}/libosgVolume.so.66
137%attr(755,root,root) %{_libdir}/libosgWidget.so.*.*.*
138%attr(755,root,root) %ghost %{_libdir}/libosgWidget.so.66
139
140%files plugins
141%defattr(644,root,root,755)
142%dir %{_libdir}/osgPlugins-%{version}
143%attr(755,root,root) %{_libdir}/osgPlugins-%{version}/*.so
144
145%files devel
146%defattr(644,root,root,755)
147%attr(755,root,root) %{_libdir}/libOpenThreads.so
148%attr(755,root,root) %{_libdir}/libosg.so
149%attr(755,root,root) %{_libdir}/libosgAnimation.so
150%attr(755,root,root) %{_libdir}/libosgDB.so
151%attr(755,root,root) %{_libdir}/libosgFX.so
152%attr(755,root,root) %{_libdir}/libosgGA.so
153%attr(755,root,root) %{_libdir}/libosgManipulator.so
154%attr(755,root,root) %{_libdir}/libosgParticle.so
155%attr(755,root,root) %{_libdir}/libosgPresentation.so
156%attr(755,root,root) %{_libdir}/libosgQt.so
157%attr(755,root,root) %{_libdir}/libosgShadow.so
158%attr(755,root,root) %{_libdir}/libosgSim.so
159%attr(755,root,root) %{_libdir}/libosgTerrain.so
160%attr(755,root,root) %{_libdir}/libosgText.so
161%attr(755,root,root) %{_libdir}/libosgUtil.so
162%attr(755,root,root) %{_libdir}/libosgViewer.so
163%attr(755,root,root) %{_libdir}/libosgVolume.so
164%attr(755,root,root) %{_libdir}/libosgWidget.so
165%{_includedir}/OpenThreads
166%{_includedir}/osg*
167%{_pkgconfigdir}/openscenegraph.pc
168%{_pkgconfigdir}/openscenegraph-osg.pc
169%{_pkgconfigdir}/openscenegraph-osgAnimation.pc
170%{_pkgconfigdir}/openscenegraph-osgDB.pc
171%{_pkgconfigdir}/openscenegraph-osgFX.pc
172%{_pkgconfigdir}/openscenegraph-osgGA.pc
173%{_pkgconfigdir}/openscenegraph-osgManipulator.pc
174%{_pkgconfigdir}/openscenegraph-osgParticle.pc
175%{_pkgconfigdir}/openscenegraph-osgQt.pc
176%{_pkgconfigdir}/openscenegraph-osgShadow.pc
177%{_pkgconfigdir}/openscenegraph-osgSim.pc
178%{_pkgconfigdir}/openscenegraph-osgTerrain.pc
179%{_pkgconfigdir}/openscenegraph-osgText.pc
180%{_pkgconfigdir}/openscenegraph-osgUtil.pc
181%{_pkgconfigdir}/openscenegraph-osgViewer.pc
182%{_pkgconfigdir}/openscenegraph-osgVolume.pc
183%{_pkgconfigdir}/openscenegraph-osgWidget.pc
184%{_pkgconfigdir}/openthreads.pc
185
186%files examples
187%defattr(644,root,root,755)
188%attr(755,root,root) %{_bindir}/*
189%{_examplesdir}/%{name}-%{version}
This page took 0.030392 seconds and 4 git commands to generate.