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