]>
Commit | Line | Data |
---|---|---|
59445a65 | 1 | # |
36cd2611 | 2 | # TODO: - check (and update if required) allegro-frame-pointer.patch |
36cd2611 | 3 | # - unpackaged files |
35beb8a5 | 4 | # - create bconds for gl, jpg, loadpng and logg |
0af1c5c7 | 5 | # |
59445a65 | 6 | # Conditional build: |
965b0868 | 7 | %bcond_without alsa # without ALSA modules |
0af1c5c7 | 8 | %bcond_without dga2 # without DGA2 module |
0af1c5c7 | 9 | %bcond_without jack # without JACK module |
965b0868 | 10 | %bcond_without svga # without svgalib module |
72081d4f | 11 | %bcond_without vga # without vga module (x86-only) |
59445a65 | 12 | # |
72081d4f JB |
13 | %ifnarch %{ix86} |
14 | # x86_64 too? | |
15 | %undefine with_vga | |
16 | %endif | |
3b5a56fa | 17 | Summary: A game programming library |
e017ac77 ER |
18 | Summary(de.UTF-8): Eine Bibliothek zur Programmierung von Spielen |
19 | Summary(es.UTF-8): Una biblioteca de programación de juegos | |
20 | Summary(fr.UTF-8): Une librairie de programmation de jeux | |
21 | Summary(it.UTF-8): Una libreria per la programmazione di videogiochi | |
22 | Summary(pl.UTF-8): Biblioteka do programowania gier | |
3b5a56fa | 23 | Name: allegro |
36cd2611 | 24 | Version: 4.4.1.1 |
e14c4732 | 25 | Release: 1 |
86b90f5b | 26 | License: Giftware |
3ac31a78 | 27 | Group: Libraries |
36cd2611 | 28 | Source0: http://downloads.sourceforge.net/alleg/%{name}-%{version}.tar.gz |
29 | # Source0-md5: 0f1cfff8f2cf88e5c91a667d9fd386ec | |
94ac3d0f | 30 | Patch0: %{name}-info.patch |
dcac0e35 | 31 | Patch1: %{name}-config.patch |
7d6ed33c | 32 | URL: http://alleg.sourceforge.net/ |
20bf1849 | 33 | BuildRequires: OpenGL-GLU-devel |
34 | BuildRequires: OpenGL-devel | |
965b0868 | 35 | %{?with_alsa:BuildRequires: alsa-lib-devel} |
36cd2611 | 36 | BuildRequires: cmake >= 2.6 |
20bf1849 | 37 | BuildRequires: jack-audio-connection-kit-devel |
38 | BuildRequires: libogg-devel | |
39 | BuildRequires: libpng-devel | |
40 | BuildRequires: libstdc++-devel | |
41 | BuildRequires: libvorbis-devel | |
42 | BuildRequires: pkgconfig | |
dcac0e35 | 43 | %{?with_svga:BuildRequires: svgalib-devel} |
926a6bcd | 44 | BuildRequires: texinfo |
29006c2f JB |
45 | BuildRequires: xorg-lib-libX11-devel |
46 | BuildRequires: xorg-lib-libXcursor-devel | |
47 | BuildRequires: xorg-lib-libXext-devel | |
48 | BuildRequires: xorg-lib-libXpm-devel | |
49 | BuildRequires: xorg-lib-libXxf86dga-devel | |
50 | BuildRequires: xorg-lib-libXxf86vm-devel | |
3b5a56fa SZ |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
54 | Allegro is a cross-platform library intended for use in computer games | |
55 | and other types of multimedia programming. | |
56 | ||
0e8a725c JR |
57 | %description -l de.UTF-8 |
58 | Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in | |
0588cbe6 | 59 | Computerspielen und anderen Formen von Multinediaprogrammierung. |
3b5a56fa | 60 | |
0e8a725c JR |
61 | %description -l es.UTF-8 |
62 | Allegro es una librería multi-plataforma creada para ser usada en la | |
63 | programación de juegos u otro tipo de programación multimedia. | |
fdd1551e | 64 | |
0e8a725c JR |
65 | %description -l fr.UTF-8 |
66 | Allegro est une librairie multi-plateforme destinée à être utilisée | |
67 | dans les jeux vidéo ou d'autres types de programmation multimédia. | |
fdd1551e | 68 | |
0e8a725c JR |
69 | %description -l it.UTF-8 |
70 | Allegro è una libreria multipiattaforma dedicata all'uso nei | |
0af1c5c7 | 71 | videogiochi ed in altri tipi di programmazione multimediale. |
fdd1551e | 72 | |
0e8a725c JR |
73 | %description -l pl.UTF-8 |
74 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
0588cbe6 | 75 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
fdd1551e | 76 | |
3b5a56fa SZ |
77 | %package devel |
78 | Summary: A game programming library - header files | |
e017ac77 ER |
79 | Summary(es.UTF-8): Archivos de inclusión |
80 | Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe | |
3ac31a78 | 81 | Group: Development/Libraries |
63db40e6 | 82 | Requires: %{name} = %{version}-%{release} |
3b5a56fa SZ |
83 | |
84 | %description devel | |
85 | Allegro is a cross-platform library intended for use in computer games | |
86 | and other types of multimedia programming. | |
87 | ||
926a6bcd | 88 | This package contains header files neccessary for compiling |
89 | applications using allegro library. | |
3b5a56fa | 90 | |
0e8a725c JR |
91 | %description devel -l de.UTF-8 |
92 | Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in | |
0588cbe6 | 93 | Computerspielen und anderen Formen von Multinediaprogrammierung. |
0e8a725c | 94 | Dieses Paket wird benötigt, um Programme zu bauen, die Allegro |
0588cbe6 | 95 | verwenden. |
3b5a56fa | 96 | |
0e8a725c JR |
97 | %description devel -l es.UTF-8 |
98 | Allegro es una librería multi-plataforma creada para ser usada en la | |
99 | programación de juegos u otro tipo de programación multimedia. Este | |
fdd1551e | 100 | paquete es necesario para compilar los programas que usen Allegro. |
101 | ||
0e8a725c JR |
102 | %description devel -l fr.UTF-8 |
103 | Allegro est une librairie multi-plateforme destinée à être utilisée | |
104 | dans les jeux vidéo ou d'autres types de programmation multimédia. Ce | |
105 | package est nécessaire pour compiler les programmes utilisant Allegro. | |
fdd1551e | 106 | |
0e8a725c JR |
107 | %description devel -l it.UTF-8 |
108 | Allegro è una libreria multipiattaforma dedicata all'uso nei | |
0af1c5c7 | 109 | videogiochi ed in altri tipi di programmazione multimediale. Questo |
0e8a725c | 110 | pacchetto è necessario per compilare programmi scritti con Allegro. |
fdd1551e | 111 | |
0e8a725c JR |
112 | %description devel -l pl.UTF-8 |
113 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
0588cbe6 | 114 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
fdd1551e | 115 | |
0e8a725c JR |
116 | Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania |
117 | aplikacji wykorzystujących bibliotekę allegro. | |
fdd1551e | 118 | |
3b5a56fa SZ |
119 | %package static |
120 | Summary: A game programming library - static libraries | |
e017ac77 | 121 | Summary(pl.UTF-8): Biblioteka do programowania gier - biblioteki statyczne |
3ac31a78 | 122 | Group: Development/Libraries |
63db40e6 | 123 | Requires: %{name}-devel = %{version}-%{release} |
29006c2f JB |
124 | Requires: xorg-lib-libX11-devel |
125 | Requires: xorg-lib-libXcursor-devel | |
126 | Requires: xorg-lib-libXext-devel | |
127 | Requires: xorg-lib-libXpm-devel | |
128 | Requires: xorg-lib-libXxf86vm-devel | |
3b5a56fa SZ |
129 | |
130 | %description static | |
131 | Allegro is a cross-platform library intended for use in computer games | |
132 | and other types of multimedia programming. | |
133 | ||
134 | This package contains static libraries for linking with allegro | |
135 | applications. | |
136 | ||
0e8a725c JR |
137 | %description static -l pl.UTF-8 |
138 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
926a6bcd | 139 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
3b5a56fa | 140 | |
f07508fa | 141 | Ten pakiet zawiera biblioteki statyczne do konsolidacji z aplikacjami |
0e8a725c | 142 | wykorzystującymi allegro. |
3b5a56fa | 143 | |
72081d4f JB |
144 | %package dga2 |
145 | Summary: A game programming library - DGA2 module | |
146 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla DGA2 | |
3ac31a78 | 147 | Group: Libraries |
0af1c5c7 | 148 | Requires: %{name} = %{version}-%{release} |
3b5a56fa | 149 | |
72081d4f | 150 | %description dga2 |
3b5a56fa SZ |
151 | Allegro is a cross-platform library intended for use in computer games |
152 | and other types of multimedia programming. | |
153 | ||
72081d4f | 154 | This package contains module for use with DGA. |
3b5a56fa | 155 | |
72081d4f | 156 | %description dga2 -l pl.UTF-8 |
0e8a725c | 157 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w |
926a6bcd | 158 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
3b5a56fa | 159 | |
72081d4f | 160 | Ten pakiet zawiera moduł do wykorzystania z DGA. |
3b5a56fa | 161 | |
72081d4f JB |
162 | %package fbcon |
163 | Summary: A game programming library - FrameBuffer module | |
164 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla FrameBuffera | |
3ac31a78 | 165 | Group: Libraries |
0af1c5c7 | 166 | Requires: %{name} = %{version}-%{release} |
3b5a56fa | 167 | |
72081d4f | 168 | %description fbcon |
3b5a56fa SZ |
169 | Allegro is a cross-platform library intended for use in computer games |
170 | and other types of multimedia programming. | |
171 | ||
72081d4f | 172 | This package contains module for use with Linux FrameBuffer. |
3b5a56fa | 173 | |
72081d4f | 174 | %description fbcon -l pl.UTF-8 |
0e8a725c | 175 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w |
926a6bcd | 176 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
3b5a56fa | 177 | |
72081d4f JB |
178 | Ten pakiet zawiera moduł do wykorzystania z linuksowym FrameBufferem. |
179 | ||
180 | %package svgalib | |
181 | Summary: A game programming library - svgalib module | |
182 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla svgalib | |
183 | Group: Libraries | |
184 | Requires: %{name} = %{version}-%{release} | |
185 | ||
186 | %description svgalib | |
187 | Allegro is a cross-platform library intended for use in computer games | |
188 | and other types of multimedia programming. | |
189 | ||
190 | This package contains module for use with allegro and svgalib. | |
191 | ||
192 | %description svgalib -l pl.UTF-8 | |
193 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
194 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. | |
195 | ||
196 | Ten pakiet zawiera moduł do wykorzystania allegro z svgalibem. | |
3b5a56fa | 197 | |
c223ecdc | 198 | %package vga |
199 | Summary: A game programming library - vga module | |
e017ac77 | 200 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla vga |
c223ecdc | 201 | Group: Libraries |
0af1c5c7 | 202 | Requires: %{name} = %{version}-%{release} |
c223ecdc | 203 | |
204 | %description vga | |
205 | Allegro is a cross-platform library intended for use in computer games | |
206 | and other types of multimedia programming. | |
207 | ||
208 | This package contains a esound module for use with vga. | |
209 | ||
0e8a725c JR |
210 | %description vga -l pl.UTF-8 |
211 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
c223ecdc | 212 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
213 | ||
0e8a725c | 214 | Ten pakiet zawiera moduł do wykorzystania z vga. |
c223ecdc | 215 | |
3ac31a78 | 216 | %package alsa |
217 | Summary: A game programming library - ALSA modules | |
e017ac77 | 218 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduły dla ALSA |
3ac31a78 | 219 | Group: Libraries |
0af1c5c7 | 220 | Requires: %{name} = %{version}-%{release} |
965b0868 | 221 | Obsoletes: allegro-alsa9 |
3b5a56fa | 222 | |
3ac31a78 | 223 | %description alsa |
224 | Allegro is a cross-platform library intended for use in computer games | |
225 | and other types of multimedia programming. | |
3b5a56fa | 226 | |
3ac31a78 | 227 | This package contains modules for use with ALSA sound library. |
3b5a56fa | 228 | |
0e8a725c JR |
229 | %description alsa -l pl.UTF-8 |
230 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
3ac31a78 | 231 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
3b5a56fa | 232 | |
0e8a725c | 233 | Ten pakiet zawiera moduły do wykorzystania z biblioteką dźwiękową |
3ac31a78 | 234 | ALSA. |
3b5a56fa | 235 | |
9f78bca8 | 236 | %package jack |
237 | Summary: A game programming library - JACK module | |
e017ac77 | 238 | Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla JACK-a |
9f78bca8 | 239 | Group: Libraries |
0af1c5c7 | 240 | Requires: %{name} = %{version}-%{release} |
9f78bca8 | 241 | |
242 | %description jack | |
243 | Allegro is a cross-platform library intended for use in computer games | |
244 | and other types of multimedia programming. | |
245 | ||
246 | This package contains module for use with JACK sound library. | |
247 | ||
0e8a725c JR |
248 | %description jack -l pl.UTF-8 |
249 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
9f78bca8 | 250 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
251 | ||
0e8a725c | 252 | Ten pakiet zawiera moduł do wykorzystania z biblioteką dźwiękową JACK. |
9f78bca8 | 253 | |
e2812a4f | 254 | %package tools |
255 | Summary: A game programming library - tools | |
e017ac77 ER |
256 | Summary(de.UTF-8): Zusätzliche Hilfprogramme für die Allegro Bibliothek |
257 | Summary(es.UTF-8): Herramientas adicionales para la librería de programación Allegro | |
258 | Summary(fr.UTF-8): Outils supplémentaires pour la librairie de programmation Allegro | |
259 | Summary(it.UTF-8): Programmi di utilità aggiuntivi per la libreria Allegro | |
260 | Summary(pl.UTF-8): Biblioteka do programowania gier - narzędzia | |
3ac31a78 | 261 | Group: Libraries |
0af1c5c7 | 262 | Requires: %{name} = %{version}-%{release} |
e2812a4f | 263 | |
264 | %description tools | |
265 | Allegro is a cross-platform library intended for use in computer games | |
266 | and other types of multimedia programming. | |
267 | ||
268 | This package contains tools. | |
269 | ||
0e8a725c JR |
270 | %description tools -l de.UTF-8 |
271 | Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in | |
0588cbe6 | 272 | Computerspielen und anderen Formen von Multinediaprogrammierung. |
0e8a725c | 273 | Dieses Paket enthält Programme, die für die Entwicklung von Allegro |
0af1c5c7 | 274 | Programmen hilfreich sind. |
e2812a4f | 275 | |
0e8a725c JR |
276 | %description tools -l es.UTF-8 |
277 | Allegro es una librería multi-plataforma creada para ser usada en la | |
278 | programación de juegos u otro tipo de programación multimedia. Este | |
279 | paquete contiene herramientas adicionales que son útiles para | |
fdd1551e | 280 | desarrollar programas que usen Allegro. |
281 | ||
0e8a725c JR |
282 | %description tools -l fr.UTF-8 |
283 | Allegro est une librairie multi-plateforme destinée à être utilisée | |
284 | dans les jeux vidéo ou d'autres types de programmation multimédia. Ce | |
285 | package contient des outils supplémentaires qui sont utiles pour le | |
286 | développement de programmes avec Allegro. | |
fdd1551e | 287 | |
0e8a725c JR |
288 | %description tools -l it.UTF-8 |
289 | Allegro è una libreria multipiattaforma dedicata all'uso nei | |
0af1c5c7 | 290 | videogiochi ed in altri tipi di programmazione multimediale. Questo |
0e8a725c | 291 | pacchetto contiene programmi di utilità aggiuntivi utili allo sviluppo |
0af1c5c7 | 292 | di programmi con Allegro. |
fdd1551e | 293 | |
0e8a725c JR |
294 | %description tools -l pl.UTF-8 |
295 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
0588cbe6 JB |
296 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. |
297 | ||
0e8a725c | 298 | Ten pakiet zawiera narzędzia. |
fdd1551e | 299 | |
7d6ed33c JB |
300 | %package tests |
301 | Summary: A game programming library - test programs | |
e017ac77 | 302 | Summary(pl.UTF-8): Biblioteka do programowania gier - programy testujące |
7d6ed33c | 303 | Group: Development/Libraries |
63db40e6 | 304 | Requires: %{name} = %{version}-%{release} |
7d6ed33c JB |
305 | |
306 | %description tests | |
307 | This package contains programs for testing allegro library. | |
308 | ||
0e8a725c JR |
309 | %description tests -l pl.UTF-8 |
310 | Pakiet zawiera programy testujące bibliotekę allegro. | |
7d6ed33c JB |
311 | |
312 | %package examples | |
313 | Summary: A game programming library - examples | |
e017ac77 | 314 | Summary(pl.UTF-8): Biblioteka do programowania gier - programy przykładowe |
7d6ed33c | 315 | Group: Development/Libraries |
63db40e6 | 316 | Requires: %{name} = %{version}-%{release} |
7d6ed33c JB |
317 | |
318 | %description examples | |
59b3b08e JB |
319 | This package contains example programs which demonstrate allegro |
320 | features. | |
7d6ed33c | 321 | |
0e8a725c JR |
322 | %description examples -l pl.UTF-8 |
323 | Pakiet zawiera programy przykładowe demonstrujące możliwości | |
59b3b08e | 324 | biblioteki allegro. |
7d6ed33c | 325 | |
3b5a56fa | 326 | %prep |
6d9f0f04 | 327 | %setup -q |
94ac3d0f | 328 | %patch0 -p1 |
dcac0e35 | 329 | %patch1 -p1 |
3b5a56fa SZ |
330 | |
331 | %build | |
36cd2611 | 332 | install -d build |
333 | cd build | |
334 | %cmake .. \ | |
335 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ | |
dcac0e35 | 336 | -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \ |
36cd2611 | 337 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
d3550752 | 338 | -DCMAKE_VERBOSE_MAKEFILE=1 \ |
36cd2611 | 339 | -DMANDIR=%{_mandir} \ |
340 | -DINFODIR=%{_infodir} \ | |
0e1b90f8 | 341 | -DPLATFORM_LIBS=-ldl \ |
72081d4f | 342 | -DWANT_LINUX_CONSOLE=1 \ |
36cd2611 | 343 | %{!?with_vga:-DWANT_LINUX_VGA=off} \ |
344 | %{!?with_svga:-DWANT_LINUX_SVGALIB=off} \ | |
345 | %if "%{_lib}" == "lib64" | |
346 | -DLIB_SUFFIX=64 | |
dfcd622b | 347 | %endif |
24590f24 | 348 | |
36cd2611 | 349 | %{__make} |
3b5a56fa SZ |
350 | |
351 | %install | |
352 | rm -rf $RPM_BUILD_ROOT | |
54d46ba3 | 353 | install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
3b5a56fa | 354 | |
36cd2611 | 355 | %{__make} -C build install \ |
926a6bcd | 356 | DESTDIR=$RPM_BUILD_ROOT |
3b5a56fa | 357 | |
e87f63f6 | 358 | install modules.lst $RPM_BUILD_ROOT%{_libdir}/allegro/%{version} |
3b5a56fa | 359 | |
36cd2611 | 360 | # install examples and tests |
0e1b90f8 | 361 | find build/examples -maxdepth 1 -perm 755 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \; |
362 | find build/tests -maxdepth 1 -perm 755 ! -name CMakeFiles -exec install {} $RPM_BUILD_ROOT%{_bindir} \; | |
36cd2611 | 363 | |
54d46ba3 | 364 | # force install man pages |
365 | cp build/docs/man/* $RPM_BUILD_ROOT%{_mandir}/man3 | |
366 | ||
3384e596 | 367 | mv $RPM_BUILD_ROOT%{_bindir}/play{,-allegro} |
3384e596 | 368 | mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro} |
369 | ||
d3550752 JB |
370 | %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/allegro-4.4.1 |
371 | ||
3b5a56fa | 372 | %clean |
d3550752 JB |
373 | rm -rf $RPM_BUILD_ROOT |
374 | ||
7d6ed33c JB |
375 | %post -p /sbin/ldconfig |
376 | %postun -p /sbin/ldconfig | |
377 | ||
d3550752 | 378 | %post devel -p /sbin/postshell |
e2543b3c | 379 | -/usr/sbin/fix-info-dir -c %{_infodir} |
ac39605a | 380 | |
d3550752 | 381 | %postun devel -p /sbin/postshell |
e2543b3c | 382 | -/usr/sbin/fix-info-dir -c %{_infodir} |
ac39605a | 383 | |
3b5a56fa SZ |
384 | %files |
385 | %defattr(644,root,root,755) | |
36cd2611 | 386 | %doc AUTHORS CHANGES THANKS readme.txt todo.txt |
387 | %attr(755,root,root) %{_libdir}/liballeg.so.*.*.* | |
d3550752 | 388 | %attr(755,root,root) %ghost %{_libdir}/liballeg.so.4.4 |
7d6ed33c | 389 | %dir %{_libdir}/allegro |
36cd2611 | 390 | %dir %{_libdir}/allegro/4.4.1 |
391 | %{_libdir}/allegro/4.4.1/modules.lst | |
af62b583 | 392 | |
393 | %files devel | |
394 | %defattr(644,root,root,755) | |
af62b583 | 395 | %attr(755,root,root) %{_bindir}/allegro-config |
d3550752 JB |
396 | %attr(755,root,root) %{_libdir}/liballeg.so |
397 | %{_includedir}/alleggl.h | |
398 | %{_includedir}/allegro.h | |
399 | %{_includedir}/jpgalleg.h | |
72081d4f JB |
400 | %{_includedir}/linalleg.h |
401 | %{_includedir}/loadpng.h | |
d3550752 JB |
402 | %{_includedir}/logg.h |
403 | %{_includedir}/xalleg.h | |
404 | %{_includedir}/allegro | |
405 | %{_includedir}/allegrogl | |
406 | # XXX: aren't some names too generic? | |
407 | %{_mandir}/man3/*.3* | |
408 | %{_infodir}/allegro.info* | |
35beb8a5 | 409 | %{_pkgconfigdir}/allegro.pc |
6c6637ed | 410 | %{_pkgconfigdir}/allegrogl.pc |
411 | %{_pkgconfigdir}/jpgalleg.pc | |
412 | %{_pkgconfigdir}/loadpng.pc | |
413 | %{_pkgconfigdir}/logg.pc | |
414 | ||
415 | %files static | |
416 | %defattr(644,root,root,755) | |
d3550752 | 417 | # XXX: static-only libs belong to -devel! |
6c6637ed | 418 | %{_libdir}/liballeggl.a |
419 | %{_libdir}/libjpgalleg.a | |
420 | %{_libdir}/libloadpng.a | |
421 | %{_libdir}/liblogg.a | |
e2812a4f | 422 | |
0af1c5c7 | 423 | %if %{with dga2} |
3b5a56fa SZ |
424 | %files dga2 |
425 | %defattr(644,root,root,755) | |
36cd2611 | 426 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-dga2.so |
0af1c5c7 | 427 | %endif |
c223ecdc | 428 | |
72081d4f JB |
429 | %files fbcon |
430 | %defattr(644,root,root,755) | |
431 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-fbcon.so | |
432 | ||
433 | %if %{with svga} | |
434 | %files svgalib | |
435 | %defattr(644,root,root,755) | |
436 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-svgalib.so | |
437 | %endif | |
438 | ||
0af1c5c7 | 439 | %if %{with vga} |
c223ecdc | 440 | %files vga |
441 | %defattr(644,root,root,755) | |
72081d4f | 442 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-vga.so |
02cc6659 | 443 | %endif |
c223ecdc | 444 | |
965b0868 | 445 | %if %{with alsa} |
3ac31a78 | 446 | %files alsa |
447 | %defattr(644,root,root,755) | |
36cd2611 | 448 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-alsadigi.so |
449 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-alsamidi.so | |
7d6ed33c JB |
450 | %endif |
451 | ||
9f78bca8 | 452 | %if %{with jack} |
453 | %files jack | |
454 | %defattr(644,root,root,755) | |
36cd2611 | 455 | %attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-jack.so |
9f78bca8 | 456 | %endif |
457 | ||
7d6ed33c JB |
458 | %files tools |
459 | %defattr(644,root,root,755) | |
460 | %attr(755,root,root) %{_bindir}/colormap | |
461 | %attr(755,root,root) %{_bindir}/exedat | |
462 | %attr(755,root,root) %{_bindir}/pack | |
463 | %attr(755,root,root) %{_bindir}/rgbmap | |
464 | %attr(755,root,root) %{_bindir}/textconv | |
465 | %attr(755,root,root) %{_bindir}/dat | |
466 | %attr(755,root,root) %{_bindir}/dat2c | |
467 | %attr(755,root,root) %{_bindir}/dat2s | |
468 | %attr(755,root,root) %{_bindir}/grabber | |
469 | %attr(755,root,root) %{_bindir}/pat2dat | |
7d6ed33c | 470 | |
5082f193 | 471 | %files tests |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_bindir}/afinfo | |
474 | %attr(755,root,root) %{_bindir}/akaitest | |
475 | %attr(755,root,root) %{_bindir}/digitest | |
476 | %attr(755,root,root) %{_bindir}/filetest | |
477 | %attr(755,root,root) %{_bindir}/gfxinfo | |
478 | %attr(755,root,root) %{_bindir}/mathtest | |
479 | %attr(755,root,root) %{_bindir}/miditest | |
3384e596 | 480 | %attr(755,root,root) %{_bindir}/play-allegro |
5082f193 | 481 | %attr(755,root,root) %{_bindir}/playfli |
3384e596 | 482 | %attr(755,root,root) %{_bindir}/test-allegro |
5082f193 | 483 | %attr(755,root,root) %{_bindir}/vesainfo |
484 | ||
485 | %files examples | |
486 | %defattr(644,root,root,755) | |
487 | %attr(755,root,root) %{_bindir}/ex12bit | |
488 | %attr(755,root,root) %{_bindir}/ex3buf | |
489 | %attr(755,root,root) %{_bindir}/ex3d | |
3384e596 | 490 | %attr(755,root,root) %{_bindir}/exaccel |
5082f193 | 491 | %attr(755,root,root) %{_bindir}/exalpha |
492 | %attr(755,root,root) %{_bindir}/exbitmap | |
493 | %attr(755,root,root) %{_bindir}/exblend | |
3384e596 | 494 | %attr(755,root,root) %{_bindir}/excamera |
495 | %attr(755,root,root) %{_bindir}/excolmap | |
59b3b08e | 496 | %attr(755,root,root) %{_bindir}/exconfig |
3384e596 | 497 | %attr(755,root,root) %{_bindir}/excustom |
5082f193 | 498 | %attr(755,root,root) %{_bindir}/exdata |
499 | %attr(755,root,root) %{_bindir}/exdbuf | |
5082f193 | 500 | %attr(755,root,root) %{_bindir}/exexedat |
501 | %attr(755,root,root) %{_bindir}/exfixed | |
502 | %attr(755,root,root) %{_bindir}/exflame | |
503 | %attr(755,root,root) %{_bindir}/exflip | |
0af1c5c7 | 504 | %attr(755,root,root) %{_bindir}/exfont |
5082f193 | 505 | %attr(755,root,root) %{_bindir}/exgui |
506 | %attr(755,root,root) %{_bindir}/exhello | |
507 | %attr(755,root,root) %{_bindir}/exjoy | |
508 | %attr(755,root,root) %{_bindir}/exkeys | |
509 | %attr(755,root,root) %{_bindir}/exlights | |
510 | %attr(755,root,root) %{_bindir}/exmem | |
511 | %attr(755,root,root) %{_bindir}/exmidi | |
512 | %attr(755,root,root) %{_bindir}/exmouse | |
0af1c5c7 | 513 | %attr(755,root,root) %{_bindir}/expackf |
5082f193 | 514 | %attr(755,root,root) %{_bindir}/expal |
515 | %attr(755,root,root) %{_bindir}/expat | |
516 | %attr(755,root,root) %{_bindir}/exquat | |
517 | %attr(755,root,root) %{_bindir}/exrgbhsv | |
36cd2611 | 518 | %attr(755,root,root) %{_bindir}/exrotscl |
519 | %attr(755,root,root) %{_bindir}/extrans2 | |
5082f193 | 520 | %attr(755,root,root) %{_bindir}/exsample |
0af1c5c7 | 521 | %attr(755,root,root) %{_bindir}/exsyscur |
3384e596 | 522 | %attr(755,root,root) %{_bindir}/exscale |
523 | %attr(755,root,root) %{_bindir}/exscn3d | |
524 | %attr(755,root,root) %{_bindir}/exscroll | |
5082f193 | 525 | %attr(755,root,root) %{_bindir}/exshade |
526 | %attr(755,root,root) %{_bindir}/exspline | |
527 | %attr(755,root,root) %{_bindir}/exsprite | |
528 | %attr(755,root,root) %{_bindir}/exstars | |
529 | %attr(755,root,root) %{_bindir}/exstream | |
3384e596 | 530 | %attr(755,root,root) %{_bindir}/exswitch |
5082f193 | 531 | %attr(755,root,root) %{_bindir}/extimer |
532 | %attr(755,root,root) %{_bindir}/extrans | |
3384e596 | 533 | %attr(755,root,root) %{_bindir}/extruec |
534 | %attr(755,root,root) %{_bindir}/exunicod | |
5082f193 | 535 | %attr(755,root,root) %{_bindir}/exupdate |
536 | %attr(755,root,root) %{_bindir}/exxfade | |
537 | %attr(755,root,root) %{_bindir}/exzbuf |