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