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