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