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