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