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