]>
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 |
1f13a11c JR |
4 | Version: 3.3.2 |
5 | Release: 1 | |
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 |
1f13a11c | 9 | # Source0-md5: 6a7703a5b0d95b979dff1890fa0e0b53 |
aae24add RT |
10 | #Source1: osg-doxygen-0.9.1.tar.gz |
11 | ## Source1-md5: 7e6d785d1b763aaeae03c2dc4c148805 | |
dc4bfa5c | 12 | Patch0: giflib.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 \ | |
89 | ../ | |
aae24add | 90 | %{__make} |
aa6260c4 | 91 | |
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
aae24add | 94 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
dc9af0b2 | 95 | |
82ff5fc4 | 96 | cp -a examples/osg* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
bc23ad7f JB |
97 | |
98 | %{__make} -C build install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
aa6260c4 | 100 | |
aa6260c4 | 101 | %clean |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
e14fd2e0 JB |
104 | %post -p /sbin/ldconfig |
105 | %postun -p /sbin/ldconfig | |
106 | ||
aa6260c4 | 107 | %files |
e14fd2e0 | 108 | %defattr(644,root,root,755) |
d320e70d | 109 | %attr(755,root,root) %{_libdir}/libOpenThreads.so.*.*.* |
6cc0d00c | 110 | %attr(755,root,root) %ghost %{_libdir}/libOpenThreads.so.20 |
d320e70d | 111 | %attr(755,root,root) %{_libdir}/libosg.so.*.*.* |
6cc0d00c | 112 | %attr(755,root,root) %ghost %{_libdir}/libosg.so.112 |
d320e70d | 113 | %attr(755,root,root) %{_libdir}/libosgAnimation.so.*.*.* |
6cc0d00c | 114 | %attr(755,root,root) %ghost %{_libdir}/libosgAnimation.so.112 |
d320e70d | 115 | %attr(755,root,root) %{_libdir}/libosgDB.so.*.*.* |
6cc0d00c | 116 | %attr(755,root,root) %ghost %{_libdir}/libosgDB.so.112 |
d320e70d | 117 | %attr(755,root,root) %{_libdir}/libosgFX.so.*.*.* |
6cc0d00c | 118 | %attr(755,root,root) %ghost %{_libdir}/libosgFX.so.112 |
d320e70d | 119 | %attr(755,root,root) %{_libdir}/libosgGA.so.*.*.* |
6cc0d00c | 120 | %attr(755,root,root) %ghost %{_libdir}/libosgGA.so.112 |
d320e70d | 121 | %attr(755,root,root) %{_libdir}/libosgManipulator.so.*.*.* |
6cc0d00c | 122 | %attr(755,root,root) %ghost %{_libdir}/libosgManipulator.so.112 |
d320e70d | 123 | %attr(755,root,root) %{_libdir}/libosgParticle.so.*.*.* |
6cc0d00c | 124 | %attr(755,root,root) %ghost %{_libdir}/libosgParticle.so.112 |
7362f54e | 125 | %attr(755,root,root) %{_libdir}/libosgPresentation.so.*.*.* |
6cc0d00c | 126 | %attr(755,root,root) %ghost %{_libdir}/libosgPresentation.so.112 |
7362f54e | 127 | %attr(755,root,root) %{_libdir}/libosgQt.so.*.*.* |
6cc0d00c | 128 | %attr(755,root,root) %ghost %{_libdir}/libosgQt.so.112 |
d320e70d | 129 | %attr(755,root,root) %{_libdir}/libosgShadow.so.*.*.* |
6cc0d00c | 130 | %attr(755,root,root) %ghost %{_libdir}/libosgShadow.so.112 |
d320e70d | 131 | %attr(755,root,root) %{_libdir}/libosgSim.so.*.*.* |
6cc0d00c | 132 | %attr(755,root,root) %ghost %{_libdir}/libosgSim.so.112 |
d320e70d | 133 | %attr(755,root,root) %{_libdir}/libosgTerrain.so.*.*.* |
6cc0d00c | 134 | %attr(755,root,root) %ghost %{_libdir}/libosgTerrain.so.112 |
d320e70d | 135 | %attr(755,root,root) %{_libdir}/libosgText.so.*.*.* |
6cc0d00c | 136 | %attr(755,root,root) %ghost %{_libdir}/libosgText.so.112 |
d320e70d | 137 | %attr(755,root,root) %{_libdir}/libosgUtil.so.*.*.* |
6cc0d00c | 138 | %attr(755,root,root) %ghost %{_libdir}/libosgUtil.so.112 |
d320e70d | 139 | %attr(755,root,root) %{_libdir}/libosgViewer.so.*.*.* |
6cc0d00c | 140 | %attr(755,root,root) %ghost %{_libdir}/libosgViewer.so.112 |
d320e70d | 141 | %attr(755,root,root) %{_libdir}/libosgVolume.so.*.*.* |
6cc0d00c | 142 | %attr(755,root,root) %ghost %{_libdir}/libosgVolume.so.112 |
d320e70d | 143 | %attr(755,root,root) %{_libdir}/libosgWidget.so.*.*.* |
6cc0d00c | 144 | %attr(755,root,root) %ghost %{_libdir}/libosgWidget.so.112 |
aae24add RT |
145 | |
146 | %files plugins | |
147 | %defattr(644,root,root,755) | |
66751831 BZ |
148 | %dir %{_libdir}/osgPlugins-%{version} |
149 | %attr(755,root,root) %{_libdir}/osgPlugins-%{version}/*.so | |
aa6260c4 | 150 | |
151 | %files devel | |
e14fd2e0 | 152 | %defattr(644,root,root,755) |
d320e70d JB |
153 | %attr(755,root,root) %{_libdir}/libOpenThreads.so |
154 | %attr(755,root,root) %{_libdir}/libosg.so | |
155 | %attr(755,root,root) %{_libdir}/libosgAnimation.so | |
156 | %attr(755,root,root) %{_libdir}/libosgDB.so | |
157 | %attr(755,root,root) %{_libdir}/libosgFX.so | |
158 | %attr(755,root,root) %{_libdir}/libosgGA.so | |
159 | %attr(755,root,root) %{_libdir}/libosgManipulator.so | |
160 | %attr(755,root,root) %{_libdir}/libosgParticle.so | |
7362f54e SS |
161 | %attr(755,root,root) %{_libdir}/libosgPresentation.so |
162 | %attr(755,root,root) %{_libdir}/libosgQt.so | |
d320e70d JB |
163 | %attr(755,root,root) %{_libdir}/libosgShadow.so |
164 | %attr(755,root,root) %{_libdir}/libosgSim.so | |
165 | %attr(755,root,root) %{_libdir}/libosgTerrain.so | |
166 | %attr(755,root,root) %{_libdir}/libosgText.so | |
167 | %attr(755,root,root) %{_libdir}/libosgUtil.so | |
168 | %attr(755,root,root) %{_libdir}/libosgViewer.so | |
169 | %attr(755,root,root) %{_libdir}/libosgVolume.so | |
170 | %attr(755,root,root) %{_libdir}/libosgWidget.so | |
171 | %{_includedir}/OpenThreads | |
dc9af0b2 | 172 | %{_includedir}/osg* |
d320e70d JB |
173 | %{_pkgconfigdir}/openscenegraph.pc |
174 | %{_pkgconfigdir}/openthreads.pc | |
5ecf278e SS |
175 | %{_pkgconfigdir}/openscenegraph-osg.pc |
176 | %{_pkgconfigdir}/openscenegraph-osgAnimation.pc | |
177 | %{_pkgconfigdir}/openscenegraph-osgDB.pc | |
178 | %{_pkgconfigdir}/openscenegraph-osgFX.pc | |
179 | %{_pkgconfigdir}/openscenegraph-osgGA.pc | |
180 | %{_pkgconfigdir}/openscenegraph-osgManipulator.pc | |
181 | %{_pkgconfigdir}/openscenegraph-osgParticle.pc | |
182 | %{_pkgconfigdir}/openscenegraph-osgQt.pc | |
183 | %{_pkgconfigdir}/openscenegraph-osgShadow.pc | |
184 | %{_pkgconfigdir}/openscenegraph-osgSim.pc | |
185 | %{_pkgconfigdir}/openscenegraph-osgTerrain.pc | |
186 | %{_pkgconfigdir}/openscenegraph-osgText.pc | |
187 | %{_pkgconfigdir}/openscenegraph-osgUtil.pc | |
188 | %{_pkgconfigdir}/openscenegraph-osgViewer.pc | |
189 | %{_pkgconfigdir}/openscenegraph-osgVolume.pc | |
190 | %{_pkgconfigdir}/openscenegraph-osgWidget.pc | |
aa6260c4 | 191 | |
192 | %files examples | |
e14fd2e0 | 193 | %defattr(644,root,root,755) |
dc9af0b2 | 194 | %attr(755,root,root) %{_bindir}/* |
f372d505 | 195 | %{_examplesdir}/%{name}-%{version} |