]> git.pld-linux.org Git - packages/Mesa.git/blob - Mesa.spec
- fixed typo s/compiliat/compliat/.
[packages/Mesa.git] / Mesa.spec
1 Summary:        Free OpenGL implementation. Runtime environment
2 Summary(pl):    Bezp³atna implementacja standardu OpenGL
3 Name:           Mesa
4 Version:        3.0
5 Release:        7
6 Copyright:      GPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Lib-%{version}.tar.gz
10 Source1:        ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Demos-%{version}.tar.gz
11 Patch:          Mesa-misc.diff
12 URL:            http://www.mesa3d.org/
13 BuildPrereq:    XFree86-devel
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 Mesa is a 3-D graphics library with an API which is very similar to that
18 of OpenGL*.  To the extent that Mesa utilizes the OpenGL command syntax
19 or state machine, it is being used with authorization from Silicon Graphics,
20 Inc.  However, the author makes no claim that Mesa is in any way a
21 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
22 Those who want a licensed implementation of OpenGL should contact a licensed
23 vendor.  This software is distributed under the terms of the GNU Library
24 General Public License, see the LICENSE file for details.
25
26 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
27
28 %description -l pl
29 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
30 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
31
32 %package devel
33 Summary:        Development environment for Mesa
34 Summary(pl):    ¦rodowisko programistyczne biblioteki Mesa
35 Group:          Development/Libraries
36 Group(pl):      Programowanie/Biblioteki
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Header files and documentation needed for development.
41
42 %description -l pl devel
43 Pliki nag³ówkowe i dokumentacja do Mesy.
44
45 %package static
46 Summary:        Mesa static libraries
47 Summary(pl):    Biblioteki statyczne Mesy
48 Group:          Development/Libraries
49 Group(pl):      Programowanie/Biblioteki
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 The static version of the Mesa libraries
54
55 %description -l pl static
56 Biblioteki statyczne Mesy.
57
58 %package glut
59 Summary:        GLUT library for Mesa
60 Summary(pl):    Biblioteka GLUT dla Mesy
61 Group:          X11/Libraries
62 Group(pl):      X11/Biblioteki
63 Requires:       %{name} = %{version}
64 Obsoletes:      glut
65
66 %description glut
67 The GLUT library.
68
69 %description -l pl glut
70 Biblioteka GLUT
71
72 %package glut-devel
73 Summary:        GLUT Development environment for Mesa
74 Summary(pl):    ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
75 Group:          Development/Libraries
76 Group(pl):      Programowanie/Biblioteki
77 Requires:       %{name} = %{version}
78 Obsoletes:      glut-devel
79
80 %description glut-devel
81 Header files needed for development aplications using GLUT library.
82
83 %description -l pl glut-devel
84 Pliki nag³ówkowe do biblioteki GLUT.
85
86 %package glut-static
87 Summary:        GLUT static libraries
88 Summary(pl):    Biblioteki statyczne do biblioteki GLUT
89 Group:          Development/Libraries
90 Group(pl):      Programowanie/Biblioteki
91 Requires:       %{name}-glut-devel = %{version}
92 Obsoletes:      glut-devel
93
94 %description glut-static
95 The static version of the GLUT library.
96
97 %description -l pl glut-static
98 Biblioteki statyczne GLUT.
99
100 %package demos
101 Summary:        Mesa Demos
102 Summary(pl):    Demonstracje mo¿liwo¶ci biblioteki MESA.
103 Group:          Development/Libraries
104 Group(pl):      Programowanie/Biblioteki
105 Requires:       %{name} = %{version}
106
107 %description demos
108 Demonstration programs for the Mesa libraries.
109
110 %description -l pl demos
111 Programy demonstracyjne dla biblioteki Mesa.
112
113 %prep
114 %setup -q -n Mesa-%{version} -b 1
115 %patch -p1
116
117 %build
118 %ifarch alpha
119 make LIBS_ONLY=YES linux-alpha
120 make clean
121 make linux-alpha-elf
122 %endif
123
124 %ifarch ppc
125 make linux-ppc
126 %endif
127
128 %ifarch i386
129 make clean
130 make LIBS_ONLY=YES linux-386
131 make clean
132 make linux-386-elf
133 %endif
134
135 %ifarch sparc sparc64
136 make  linux-elf
137 %endif
138
139 (cd widgets-mesa; autoconf; \
140 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
141 ./configure \
142         --prefix=/usr/X11R6/
143 make)
144
145 %install
146 rm -rf $RPM_BUILD_ROOT
147 install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,share/man/man3}
148 install -d $RPM_BUILD_ROOT/usr/src/examples/Mesa
149
150 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
151 cp -dpr util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
152 cp -dpr book demos xdemos samples $RPM_BUILD_ROOT/usr/src/examples/Mesa
153 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
154
155 (cd widgets-mesa; \
156 make install \
157         prefix=$RPM_BUILD_ROOT/usr/X11R6 \
158         mandir=$RPM_BUILD_ROOT/usr/X11R6/share/man/man3)
159
160 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
161
162 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
163
164 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/share/man/man3/* \
165         FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
166
167 %post   -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
169
170 %post   -p /sbin/ldconfig glut
171 %postun -p /sbin/ldconfig glut
172
173 %clean
174 rm -fr $RPM_BUILD_ROOT
175
176 %files
177 %defattr(644,root,root,755)
178
179 %ifnarch ppc
180 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
181 %else
182 /usr/X11R6/lib/libMesa*.a
183 %endif
184
185 %files glut
186 %defattr(644,root,root,755)
187 %ifnarch ppc
188 %attr(755,root,root) /usr/X11R6/lib/libglut.so.*
189 %else
190 /usr/X11R6/lib/libglut.a
191 %endif
192
193 %files glut-devel
194 %defattr(644,root,root,755)
195 /usr/X11R6/include/GL/glut.h
196 %ifnarch ppc
197 %attr(755,root,root) /usr/X11R6/lib/libglut.so
198 %endif
199
200 %ifnarch ppc
201 %files glut-static
202 %defattr(644,root,root,755)
203 /usr/X11R6/lib/libglut.a
204 %endif
205
206 %files devel
207 %defattr(644,root,root,755)
208 %doc {FUTURE,IAFA-PACKAGE,LICENSE,RELNOTES,VERSIONS,README}.gz
209 %doc README.{3DFX,GGI,MGL,QUAKE,VIRGE,X11}.gz
210
211 %ifnarch ppc
212 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so
213 %endif
214
215 %dir /usr/X11R6/lib/Mesa
216 /usr/X11R6/lib/Mesa/Make-config
217 /usr/X11R6/lib/Mesa/util
218
219 %dir /usr/X11R6/include/GL
220 /usr/X11R6/include/GL/*.h
221 /usr/X11R6/share/man/man3/*
222
223 %ifnarch ppc
224 %files static
225 %defattr(644,root,root,755)
226 %endif
227 /usr/X11R6/lib/libMesa*.a
228
229 %files demos
230 %defattr(644,root,root,755)
231 %dir /usr/src/examples/Mesa/book
232 %dir /usr/src/examples/Mesa/demos
233 %dir /usr/src/examples/Mesa/samples
234 %dir /usr/src/examples/Mesa/xdemos
235
236 %attr(-,root,root)/usr/src/examples/Mesa/book/*
237 %attr(-,root,root)/usr/src/examples/Mesa/demos/*
238 %attr(-,root,root)/usr/src/examples/Mesa/samples/*
239 %attr(-,root,root)/usr/src/examples/Mesa/xdemos/*
240
241 %changelog
242 * Mon May 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
243   [3.0-7]
244 - now package is FHS 2.0 compliat.
245
246 * Mon Mar  8 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
247   [3.0-4]
248 - updated URL to http://www.mesa3d.org/,
249 - %doc moved to devel,
250 - added static subpackages,
251 - removed some README files,
252 - removed man group from man pages.
253
254 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
255   [3.0-3d]
256 - added gzipping documentation
257 - simplification in %files
258 - fixed pl translations
259
260 * Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
261   [3.0-2d]
262 - added LDFLAGS="-s" to ./configure enviroment,
263 - fixed permission on lib*so* files (must be 755),
264 - removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
265   (this is redundant).
266
267 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
268 - gzipped man page.
269
270 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
271 - fixing library location.
272
273 * Thu Oct  1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
274   [3.0-1]
275 - fixing access permision.
276
277 * Wed May  5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
278 - removed declarate %%{version}, %%{name}, %%{release} macros because
279   all are predefined,
280 - removed check $RPM_BUILD_ROOT in %clean and %install,
281 - added "Requires: Mesa = %%{version}" for all subpackages (for
282   keeping corectly dependences),
283 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
284 - added striping shared libs and demos,
285 - added modification in %build wihch allow build Mesa on sparc[64]
286   architecture,
287 - all utils and demos instaled in /usr/lib/Mesa,
288 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
289 - added -q %setup parameter.
290
291 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
292 - updated to final version 2.6
293
294 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
295 - Fixed thinko in misc patch
296 - build against glibc
297
298 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
299 - updated to version 2.6beta5
300 - added widget-mesa to the things to be build.
301
302 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
303 - updated to version 2.6beta4
304
305 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
306 - updated to version 2.6beta1
307
308 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
309 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
310   subpackage
311 - Moved lib*.so to the devel package, they are only needed for development,
312   not for a runtime environment.
313
314 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
315 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
316 - BuildRoot'ed
317 - Prefix'ed
318 - added static versions of the libraries. (PPC version seems not to have
319   support for shared versions of the library)
320 - moved static versions of the library and the includes to the new subpackage
321   'devel'
322 - targets other than linux-x86 still untested.
323 - added Conflitcs tag
324 - added %postun
325 - added patch for RPM_OPT_FLAGS support
326
327 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
328 - Upgraded to Mesa 2.5
329 - Multiarch destinations (untested).
330 - Included GLUT.
331 - Removed some of the READMEs for other platforms from the binary RPM.
This page took 0.056083 seconds and 4 git commands to generate.