1 Summary: A game programming library
2 Summary(pl): Biblioteka do programowania gier
8 Source0: http://belnet.dl.sourceforge.net/sourceforge/alleg/%{name}-%{version}.tar.gz
10 #Patch0: %{name}-makefile.patch
11 Patch1: %{name}-info.patch
12 #Patch2: %{name}-alsa9.patch
13 Patch3: %{name}-examples.patch
14 URL: http://alleg.sourceforge.net
15 BuildRequires: XFree86-devel
16 BuildRequires: esound-devel
17 %ifnarch sparc sparc64
18 BuildRequires: alsa-lib-devel
21 BuildRequires: svgalib-devel
23 BuildRequires: texinfo
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _prefix /usr/X11R6
27 %define _mandir %{_prefix}/man
30 Allegro is a cross-platform library intended for use in computer games
31 and other types of multimedia programming.
34 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
35 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
38 Summary: A game programming library - header files
39 Summary(pl): Biblioteka do programowania gier - pliki nag³ówkowe
40 Group: X11/Development/Libraries
41 Requires: %{name} = %{version}
44 Allegro is a cross-platform library intended for use in computer games
45 and other types of multimedia programming.
47 This package contains header files neccessary for compiling
48 applications using allegro library.
50 %description devel -l pl
51 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
52 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
54 Ten pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania
55 aplikacji wykorzystuj±cych bibliotekê allegro.
58 Summary: A game programming library - test programs
59 Summary(pl): Biblioteka do programowania gier - programy testuj±ce
60 Group: X11/Development/Libraries
61 Requires: %{name} = %{version}
64 This package contains programs for testing allegro library.
66 %description tests -l pl
67 Pakiet zawiera programy testuj±ce bibliotekê allegro.
70 Summary: A game programming library - examples
71 Summary(pl): Biblioteka do programowania gier - programy przyk³adowe
72 Group: X11/Development/Libraries
73 Requires: %{name} = %{version}
76 This package contains example programs which are showing
79 %description examples -l pl
80 Pakiet zawiera programy przyk³adowe demonstruj±ce mo?liwo¶ci biblioteki allegro.
83 Summary: A game programming library - static libraries
84 Summary(pl): Biblioteka do programowania gier - biblioteki statyczne
85 Group: X11/Development/Libraries
86 Requires: %{name}-devel = %{version}
89 Allegro is a cross-platform library intended for use in computer games
90 and other types of multimedia programming.
92 This package contains static libraries for linking with allegro
95 %description static -l pl
96 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
97 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
99 Ten pakiet zawiera biblioteki statyczne do linkowania z aplikacjami
100 wykorzystuj±cymi allegro.
103 Summary: A game programming library - svgalib module
104 Summary(pl): Biblioteka do programowania gier - modu³ dla svgalib
106 PreReq: %{name} = %{version}
109 Allegro is a cross-platform library intended for use in computer games
110 and other types of multimedia programming.
112 This package contains module for use with allegro and svgalib.
114 %description svgalib -l pl
115 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
116 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
118 Ten pakiet zawiera modu³ do wykorzystania allegro z svgalibem.
121 Summary: A game programming library - DGA2 module
122 Summary(pl): Biblioteka do programowania gier - modu³ dla DGA2
124 PreReq: %{name} = %{version}
127 Allegro is a cross-platform library intended for use in computer games
128 and other types of multimedia programming.
130 This package contains module for use with DGA.
132 %description dga2 -l pl
133 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
134 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
136 Ten pakiet zawiera modu³ do wykorzystania z DGA.
139 Summary: A game programming library - esound module
140 Summary(pl): Biblioteka do programowania gier - modu³ dla esound
142 PreReq: %{name} = %{version}
145 Allegro is a cross-platform library intended for use in computer games
146 and other types of multimedia programming.
148 This package contains a esound module for use with ESound daemon.
150 %description esd -l pl
151 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
152 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
154 Ten pakiet zawiera modu³ do wykorzystania z demonem ESound.
157 #Summary: A game programming library - ALSA modules
158 #Summary(pl): Biblioteka do programowania gier - modu³y dla ALSA
159 #Group: X11/Libraries
160 #PreReq: %{name} = %{version}
163 #Allegro is a cross-platform library intended for use in computer games
164 #and other types of multimedia programming.
166 #This package contains modules for use with ALSA sound library.
168 #%description alsa -l pl
169 #Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
170 #grach komputerowych i innych rodzajach oprogramowania multimedialnego.
172 #Ten pakiet zawiera modu³y do wykorzystania z bibliotek± d¼wiêkow±
176 Summary: A game programming library - tools
177 Summary(pl): Biblioteka do programowania gier - narzêdzia
179 PreReq: %{name} = %{version}
182 Allegro is a cross-platform library intended for use in computer games
183 and other types of multimedia programming.
185 This package contains tools.
187 %description tools -l pl
188 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
189 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
191 Ten pakiet zawiera narzêdzia.
207 %ifnarch %{ix86} alpha
214 CFLAGS="%{optflags} -I/usr/X11R6/include/artsc -pipe %{?!debug:-funroll-loops -ffast-math -fomit-frame-pointer} -Wall -DALLEGRO_LIB_BUILD"
217 rm -rf $RPM_BUILD_ROOT
219 %{__make} install install-man install-info install-lib \
220 DESTDIR=$RPM_BUILD_ROOT
222 echo -e "# List of modules to be loaded by the Unix version of Allegro.\n" \
223 > $RPM_BUILD_ROOT%{_libdir}/allegro/4.1/modules.lst
225 mv $RPM_BUILD_ROOT%{_bindir}/demo{,-allegro}
226 mv $RPM_BUILD_ROOT%{_bindir}/play{,-allegro}
227 mv $RPM_BUILD_ROOT%{_bindir}/setup{,-allegro}
228 mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro}
230 %post -p /sbin/ldconfig
231 %postun -p /sbin/ldconfig
234 rm -rf $RPM_BUILD_ROOT
237 %defattr(644,root,root,755)
238 %doc AUTHORS CHANGES THANKS
239 %attr(755,root,root) %{_libdir}/liballeg-%{version}.so
240 %dir %{_libdir}/allegro/
241 %{_libdir}/allegro/4.1/modules.lst
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/liballd-%{version}.so
246 %attr(755,root,root) %{_libdir}/liballp-%{version}.so
248 %attr(755,root,root) %{_bindir}/allegro-config
251 %{_libdir}/*_unsharable.a
254 %defattr(644,root,root,755)
255 %attr(755,root,root) %{_bindir}/colormap
256 %attr(755,root,root) %{_bindir}/exedat
257 %attr(755,root,root) %{_bindir}/pack
258 %attr(755,root,root) %{_bindir}/rgbmap
259 %attr(755,root,root) %{_bindir}/textconv
260 %attr(755,root,root) %{_bindir}/dat
261 %attr(755,root,root) %{_bindir}/dat2c
262 %attr(755,root,root) %{_bindir}/dat2s
263 %attr(755,root,root) %{_bindir}/grabber
264 %attr(755,root,root) %{_bindir}/pat2dat
265 %attr(755,root,root) %{_bindir}/setup-allegro
266 %attr(755,root,root) %{_bindir}/keyconf
269 %defattr(644,root,root,755)
271 %{_libdir}/liballeg.a
274 %ifarch %{ix86} alpha
276 %defattr(644,root,root,755)
277 %{_libdir}/allegro/4.1/alleg-svgalib.so
281 %defattr(644,root,root,755)
282 %{_libdir}/allegro/4.1/alleg-dga2.so
285 %defattr(644,root,root,755)
286 %{_libdir}/allegro/4.1/alleg-esddigi.so
288 #%if %{?_without_alsa:0}%{!?_without_alsa:1}
289 #%ifnarch sparc sparc64
291 #%defattr(644,root,root,755)
292 #%{_libdir}/allegro/4.1/alleg-alsadigi.so
293 #%{_libdir}/allegro/4.1/alleg-alsamidi.so
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_bindir}/afinfo
300 %attr(755,root,root) %{_bindir}/akaitest
301 %attr(755,root,root) %{_bindir}/demo-allegro
302 %attr(755,root,root) %{_bindir}/digitest
303 %attr(755,root,root) %{_bindir}/filetest
304 %attr(755,root,root) %{_bindir}/gfxinfo
305 %attr(755,root,root) %{_bindir}/mathtest
306 %attr(755,root,root) %{_bindir}/miditest
307 %attr(755,root,root) %{_bindir}/play-allegro
308 %attr(755,root,root) %{_bindir}/playfli
309 %attr(755,root,root) %{_bindir}/test-allegro
310 %attr(755,root,root) %{_bindir}/vesainfo
313 %defattr(644,root,root,755)
314 %attr(755,root,root) %{_bindir}/ex12bit
315 %attr(755,root,root) %{_bindir}/ex3buf
316 %attr(755,root,root) %{_bindir}/ex3d
317 %attr(755,root,root) %{_bindir}/exaccel
318 %attr(755,root,root) %{_bindir}/exalpha
319 %attr(755,root,root) %{_bindir}/exbitmap
320 %attr(755,root,root) %{_bindir}/exblend
321 %attr(755,root,root) %{_bindir}/excamera
322 %attr(755,root,root) %{_bindir}/excolmap
323 %attr(755,root,root) %{_bindir}/excustom
324 %attr(755,root,root) %{_bindir}/exdata
325 %attr(755,root,root) %{_bindir}/exdbuf
326 %attr(755,root,root) %{_bindir}/exdodgy
327 %attr(755,root,root) %{_bindir}/exexedat
328 %attr(755,root,root) %{_bindir}/exfixed
329 %attr(755,root,root) %{_bindir}/exflame
330 %attr(755,root,root) %{_bindir}/exflip
331 %attr(755,root,root) %{_bindir}/exgui
332 %attr(755,root,root) %{_bindir}/exhello
333 %attr(755,root,root) %{_bindir}/exjoy
334 %attr(755,root,root) %{_bindir}/exkeys
335 %attr(755,root,root) %{_bindir}/exlights
336 %attr(755,root,root) %{_bindir}/exmem
337 %attr(755,root,root) %{_bindir}/exmidi
338 %attr(755,root,root) %{_bindir}/exmouse
339 %attr(755,root,root) %{_bindir}/expal
340 %attr(755,root,root) %{_bindir}/expat
341 %attr(755,root,root) %{_bindir}/exquat
342 %attr(755,root,root) %{_bindir}/exrgbhsv
343 %attr(755,root,root) %{_bindir}/exsample
344 %attr(755,root,root) %{_bindir}/exscale
345 %attr(755,root,root) %{_bindir}/exscn3d
346 %attr(755,root,root) %{_bindir}/exscroll
347 %attr(755,root,root) %{_bindir}/exshade
348 %attr(755,root,root) %{_bindir}/exspline
349 %attr(755,root,root) %{_bindir}/exsprite
350 %attr(755,root,root) %{_bindir}/exstars
351 %attr(755,root,root) %{_bindir}/exstream
352 %attr(755,root,root) %{_bindir}/exswitch
353 %attr(755,root,root) %{_bindir}/extimer
354 %attr(755,root,root) %{_bindir}/extrans
355 %attr(755,root,root) %{_bindir}/extruec
356 %attr(755,root,root) %{_bindir}/exunicod
357 %attr(755,root,root) %{_bindir}/exupdate
358 %attr(755,root,root) %{_bindir}/exxfade
359 %attr(755,root,root) %{_bindir}/exzbuf