]>
Commit | Line | Data |
---|---|---|
328fc681 | 1 | # |
b1f05c36 | 2 | # TODO: |
b1f05c36 | 3 | # - check if it's usable now |
328fc681 | 4 | # |
5 | # Conditional build: | |
b1f05c36 JB |
6 | %bcond_without alsa # ALSA support in allegro_audio library |
7 | %bcond_with curl # cURL example | |
170799a8 | 8 | %bcond_without doc # rebuild HTML and texinfo documentation |
b1f05c36 JB |
9 | %bcond_without dumb # MOD support in allegro_acodec library |
10 | %bcond_without gtk # (GTK+ 2.x based) native dialog library | |
11 | %bcond_without openal # OpenAL support in allegro_audio library | |
12 | %bcond_without physfs # PhysFS addon library | |
13 | %bcond_without pulseaudio # PulseAudio support in allegro_audio library | |
14 | %bcond_without python # Python wrapper | |
15 | %bcond_with sse # SSE instructions usage | |
328fc681 | 16 | # |
b1f05c36 JB |
17 | %ifarch pentium3 pentium4 %{x8664} |
18 | %define with_sse 1 | |
19 | %endif | |
328fc681 | 20 | Summary: A game programming library |
21 | Summary(de.UTF-8): Eine Bibliothek zur Programmierung von Spielen | |
22 | Summary(es.UTF-8): Una biblioteca de programación de juegos | |
23 | Summary(fr.UTF-8): Une librairie de programmation de jeux | |
24 | Summary(it.UTF-8): Una libreria per la programmazione di videogiochi | |
25 | Summary(pl.UTF-8): Biblioteka do programowania gier | |
26 | Name: allegro5 | |
54b7addb JR |
27 | Version: 5.2.0 |
28 | Release: 1 | |
328fc681 | 29 | License: Giftware |
30 | Group: Libraries | |
54b7addb JR |
31 | Source0: http://download.gna.org/allegro/allegro/5.2.0/allegro-%{version}.tar.gz |
32 | # Source0-md5: 9cf444aae63d51de65deb57704372fec | |
89e03088 | 33 | Patch0: %{name}-glx.patch |
54b7addb | 34 | URL: http://liballeg.org/ |
b1f05c36 | 35 | %{?with_openal:BuildRequires: OpenAL-devel} |
328fc681 | 36 | BuildRequires: OpenGL-GLU-devel |
b1f05c36 | 37 | BuildRequires: OpenGL-devel |
328fc681 | 38 | %{?with_alsa:BuildRequires: alsa-lib-devel} |
328fc681 | 39 | BuildRequires: cmake >= 2.6 |
b1f05c36 JB |
40 | %{?with_curl:BuildRequires: curl-devel} |
41 | BuildRequires: dumb-devel | |
42 | BuildRequires: flac-devel | |
89e03088 | 43 | BuildRequires: freetype-devel >= 2 |
b1f05c36 JB |
44 | %{?with_gtk:BuildRequires: glib2-devel >= 2.0} |
45 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2.0} | |
46 | BuildRequires: libjpeg-devel | |
47 | BuildRequires: libogg-devel | |
48 | BuildRequires: libpng-devel | |
49 | BuildRequires: libvorbis-devel | |
50 | %{?with_physfs:BuildRequires: physfs-devel} | |
51 | BuildRequires: pkgconfig | |
52 | %{?with_pulseaudio:BuildRequires: pulseaudio-devel >= 0.9.15} | |
53 | BuildRequires: rpmbuild(macros) >= 1.605 | |
328fc681 | 54 | BuildRequires: xorg-lib-libX11-devel |
55 | BuildRequires: xorg-lib-libXcursor-devel | |
56 | BuildRequires: xorg-lib-libXext-devel | |
b1f05c36 | 57 | BuildRequires: xorg-lib-libXinerama-devel |
328fc681 | 58 | BuildRequires: xorg-lib-libXpm-devel |
b1f05c36 | 59 | BuildRequires: xorg-lib-libXrandr-devel |
328fc681 | 60 | BuildRequires: xorg-lib-libXxf86vm-devel |
b1f05c36 JB |
61 | BuildRequires: zlib-devel |
62 | %if %{with python} | |
63 | BuildRequires: python | |
64 | BuildRequires: python-modules | |
65 | BuildRequires: rpm-pythonprov | |
66 | %endif | |
170799a8 JB |
67 | %if %{with doc} |
68 | BuildRequires: ctags | |
69 | BuildRequires: pandoc >= 1.5 | |
70 | BuildRequires: texinfo | |
71 | BuildRequires: texlive-latex | |
72 | %endif | |
89e03088 | 73 | Obsoletes: allegro5-tools |
328fc681 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
75 | ||
76 | %description | |
77 | Allegro is a cross-platform library intended for use in computer games | |
78 | and other types of multimedia programming. | |
79 | ||
80 | %description -l de.UTF-8 | |
81 | Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in | |
82 | Computerspielen und anderen Formen von Multinediaprogrammierung. | |
83 | ||
84 | %description -l es.UTF-8 | |
85 | Allegro es una librería multi-plataforma creada para ser usada en la | |
86 | programación de juegos u otro tipo de programación multimedia. | |
87 | ||
88 | %description -l fr.UTF-8 | |
89 | Allegro est une librairie multi-plateforme destinée à être utilisée | |
90 | dans les jeux vidéo ou d'autres types de programmation multimédia. | |
91 | ||
92 | %description -l it.UTF-8 | |
93 | Allegro è una libreria multipiattaforma dedicata all'uso nei | |
94 | videogiochi ed in altri tipi di programmazione multimediale. | |
95 | ||
96 | %description -l pl.UTF-8 | |
97 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
98 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. | |
99 | ||
100 | %package devel | |
101 | Summary: A game programming library - header files | |
102 | Summary(es.UTF-8): Archivos de inclusión | |
103 | Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe | |
104 | Group: Development/Libraries | |
105 | Requires: %{name} = %{version}-%{release} | |
106 | ||
107 | %description devel | |
108 | Allegro is a cross-platform library intended for use in computer games | |
109 | and other types of multimedia programming. | |
110 | ||
111 | This package contains header files neccessary for compiling | |
112 | applications using allegro library. | |
113 | ||
114 | %description devel -l de.UTF-8 | |
115 | Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in | |
116 | Computerspielen und anderen Formen von Multinediaprogrammierung. | |
117 | Dieses Paket wird benötigt, um Programme zu bauen, die Allegro | |
118 | verwenden. | |
119 | ||
120 | %description devel -l es.UTF-8 | |
121 | Allegro es una librería multi-plataforma creada para ser usada en la | |
122 | programación de juegos u otro tipo de programación multimedia. Este | |
123 | paquete es necesario para compilar los programas que usen Allegro. | |
124 | ||
125 | %description devel -l fr.UTF-8 | |
126 | Allegro est une librairie multi-plateforme destinée à être utilisée | |
127 | dans les jeux vidéo ou d'autres types de programmation multimédia. Ce | |
128 | package est nécessaire pour compiler les programmes utilisant Allegro. | |
129 | ||
130 | %description devel -l it.UTF-8 | |
131 | Allegro è una libreria multipiattaforma dedicata all'uso nei | |
132 | videogiochi ed in altri tipi di programmazione multimediale. Questo | |
133 | pacchetto è necessario per compilare programmi scritti con Allegro. | |
134 | ||
135 | %description devel -l pl.UTF-8 | |
136 | Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w | |
137 | grach komputerowych i innych rodzajach oprogramowania multimedialnego. | |
138 | ||
139 | Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania | |
140 | aplikacji wykorzystujących bibliotekę allegro. | |
141 | ||
b1f05c36 JB |
142 | %package acodec |
143 | Summary: Allegro acodec addon library | |
144 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro acodec | |
145 | Group: Libraries | |
146 | Requires: %{name}-audio = %{version}-%{release} | |
328fc681 | 147 | |
b1f05c36 JB |
148 | %description acodec |
149 | Allegro acodec addon library. | |
328fc681 | 150 | |
b1f05c36 JB |
151 | %description acodec -l pl.UTF-8 |
152 | Biblioteka dodatkowa Allegro acodec. | |
328fc681 | 153 | |
b1f05c36 JB |
154 | %package acodec-devel |
155 | Summary: Header files for Allegro acodec addon library | |
156 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro acodec | |
157 | Group: Libraries | |
158 | Requires: %{name}-acodec = %{version}-%{release} | |
159 | Requires: %{name}-audio-devel = %{version}-%{release} | |
328fc681 | 160 | |
b1f05c36 JB |
161 | %description acodec-devel |
162 | Header files for Allegro acodec addon library. | |
328fc681 | 163 | |
b1f05c36 JB |
164 | %description acodec-devel -l pl.UTF-8 |
165 | Pliki nagłówkowe biblioteki dodatkowej Allegro acodec. | |
328fc681 | 166 | |
b1f05c36 JB |
167 | %package audio |
168 | Summary: Allegro audio addon library | |
169 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro audio | |
328fc681 | 170 | Group: Libraries |
171 | Requires: %{name} = %{version}-%{release} | |
328fc681 | 172 | |
b1f05c36 JB |
173 | %description audio |
174 | Allegro audio addon library. | |
328fc681 | 175 | |
b1f05c36 JB |
176 | %description audio -l pl.UTF-8 |
177 | Biblioteka dodatkowa Allegro audio. | |
328fc681 | 178 | |
b1f05c36 JB |
179 | %package audio-devel |
180 | Summary: Header files for Allegro audio addon library | |
181 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro audio | |
328fc681 | 182 | Group: Libraries |
b1f05c36 JB |
183 | Requires: %{name}-audio = %{version}-%{release} |
184 | Requires: %{name}-devel = %{version}-%{release} | |
328fc681 | 185 | |
b1f05c36 JB |
186 | %description audio-devel |
187 | Header files for Allegro audio addon library. | |
328fc681 | 188 | |
b1f05c36 JB |
189 | %description audio-devel -l pl.UTF-8 |
190 | Pliki nagłówkowe biblioteki dodatkowej Allegro audio. | |
328fc681 | 191 | |
b1f05c36 JB |
192 | %package dialog |
193 | Summary: Allegro dialog addon library | |
194 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro dialog | |
328fc681 | 195 | Group: Libraries |
196 | Requires: %{name} = %{version}-%{release} | |
197 | ||
b1f05c36 JB |
198 | %description dialog |
199 | Allegro dialog addon library. | |
328fc681 | 200 | |
b1f05c36 JB |
201 | %description dialog -l pl.UTF-8 |
202 | Biblioteka dodatkowa Allegro dialog. | |
328fc681 | 203 | |
b1f05c36 JB |
204 | %package dialog-devel |
205 | Summary: Header files for Allegro dialog addon library | |
206 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro dialog | |
328fc681 | 207 | Group: Libraries |
b1f05c36 JB |
208 | Requires: %{name}-dialog = %{version}-%{release} |
209 | Requires: %{name}-devel = %{version}-%{release} | |
328fc681 | 210 | |
b1f05c36 JB |
211 | %description dialog-devel |
212 | Header files for Allegro dialog addon library. | |
328fc681 | 213 | |
b1f05c36 JB |
214 | %description dialog-devel -l pl.UTF-8 |
215 | Pliki nagłówkowe biblioteki dodatkowej Allegro dialog. | |
328fc681 | 216 | |
b1f05c36 JB |
217 | %package image |
218 | Summary: Allegro image addon library | |
219 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro image | |
328fc681 | 220 | Group: Libraries |
221 | Requires: %{name} = %{version}-%{release} | |
222 | ||
b1f05c36 JB |
223 | %description image |
224 | Allegro image addon library. | |
328fc681 | 225 | |
b1f05c36 JB |
226 | %description image -l pl.UTF-8 |
227 | Biblioteka dodatkowa Allegro image. | |
328fc681 | 228 | |
b1f05c36 JB |
229 | %package image-devel |
230 | Summary: Header files for Allegro image addon library | |
231 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro image | |
328fc681 | 232 | Group: Libraries |
b1f05c36 JB |
233 | Requires: %{name}-image = %{version}-%{release} |
234 | Requires: %{name}-devel = %{version}-%{release} | |
328fc681 | 235 | |
b1f05c36 JB |
236 | %description image-devel |
237 | Header files for Allegro image addon library. | |
328fc681 | 238 | |
b1f05c36 JB |
239 | %description image-devel -l pl.UTF-8 |
240 | Pliki nagłówkowe biblioteki dodatkowej Allegro image. | |
328fc681 | 241 | |
b1f05c36 JB |
242 | %package physfs |
243 | Summary: Allegro physfs addon library | |
244 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro physfs | |
328fc681 | 245 | Group: Libraries |
246 | Requires: %{name} = %{version}-%{release} | |
328fc681 | 247 | |
b1f05c36 JB |
248 | %description physfs |
249 | Allegro physfs addon library. | |
328fc681 | 250 | |
b1f05c36 JB |
251 | %description physfs -l pl.UTF-8 |
252 | Biblioteka dodatkowa Allegro physfs. | |
328fc681 | 253 | |
b1f05c36 JB |
254 | %package physfs-devel |
255 | Summary: Header files for Allegro physfs addon library | |
256 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro physfs | |
257 | Group: Libraries | |
258 | Requires: %{name}-physfs = %{version}-%{release} | |
259 | Requires: %{name}-devel = %{version}-%{release} | |
328fc681 | 260 | |
b1f05c36 JB |
261 | %description physfs-devel |
262 | Header files for Allegro physfs addon library. | |
328fc681 | 263 | |
b1f05c36 JB |
264 | %description physfs-devel -l pl.UTF-8 |
265 | Pliki nagłówkowe biblioteki dodatkowej Allegro physfs. | |
266 | ||
267 | %package ttf | |
268 | Summary: Allegro ttf addon library | |
269 | Summary(pl.UTF-8): Biblioteka dodatkowa Allegro ttf | |
328fc681 | 270 | Group: Libraries |
271 | Requires: %{name} = %{version}-%{release} | |
272 | ||
b1f05c36 JB |
273 | %description ttf |
274 | Allegro ttf addon library. | |
328fc681 | 275 | |
b1f05c36 JB |
276 | %description ttf -l pl.UTF-8 |
277 | Biblioteka dodatkowa Allegro ttf. | |
328fc681 | 278 | |
b1f05c36 JB |
279 | %package ttf-devel |
280 | Summary: Header files for Allegro ttf addon library | |
281 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dodatkowej Allegro ttf | |
282 | Group: Libraries | |
283 | Requires: %{name}-ttf = %{version}-%{release} | |
284 | Requires: %{name}-devel = %{version}-%{release} | |
328fc681 | 285 | |
b1f05c36 JB |
286 | %description ttf-devel |
287 | Header files for Allegro ttf addon library. | |
288 | ||
289 | %description ttf-devel -l pl.UTF-8 | |
290 | Pliki nagłówkowe biblioteki dodatkowej Allegro ttf. | |
328fc681 | 291 | |
328fc681 | 292 | %package examples |
293 | Summary: A game programming library - examples | |
294 | Summary(pl.UTF-8): Biblioteka do programowania gier - programy przykładowe | |
295 | Group: Development/Libraries | |
296 | Requires: %{name} = %{version}-%{release} | |
297 | ||
298 | %description examples | |
299 | This package contains example programs which demonstrate allegro | |
300 | features. | |
301 | ||
302 | %description examples -l pl.UTF-8 | |
303 | Pakiet zawiera programy przykładowe demonstrujące możliwości | |
304 | biblioteki allegro. | |
305 | ||
b1f05c36 JB |
306 | %package -n python-%{name} |
307 | Summary: Python wrapper for Allegro library | |
308 | Summary(pl.UTF-8): Pythonowy interfejs do biblioteki Allegro | |
309 | Group: Development/Languages/Python | |
310 | Requires: %{name} = %{version}-%{release} | |
311 | Requires: python-modules | |
312 | ||
313 | %description -n python-%{name} | |
314 | Python wrapper for Allegro library. | |
315 | ||
316 | %description -n python-%{name} -l pl.UTF-8 | |
317 | Pythonowy interfejs do biblioteki Allegro. | |
318 | ||
328fc681 | 319 | %prep |
54b7addb | 320 | %setup -q -n allegro-%{version}.0 |
89e03088 | 321 | %patch0 -p1 |
328fc681 | 322 | |
323 | %build | |
328fc681 | 324 | install -d build |
325 | cd build | |
326 | %cmake .. \ | |
328fc681 | 327 | -DMANDIR=%{_mandir} \ |
b1f05c36 | 328 | -DINFODIR=%{_infodir} \ |
54b7addb | 329 | -DWANT_TTF=ON \ |
b1f05c36 JB |
330 | %{!?with_sse:-DWANT_ALLOW_SSE=OFF} \ |
331 | %{!?with_alsa:-DWANT_ALSA=OFF} \ | |
332 | %{?with_curl:-DWANT_CURL_EXAMPLE=ON} \ | |
333 | %{!?with_dumb:-DWANT_MODAUDIO=OFF} \ | |
334 | %{!?with_gtk:-DWANT_NATIVE_DIALOG=OFF} \ | |
335 | %{!?with_openal:-DWANT_OPENAL=OFF} \ | |
336 | %{!?with_physfs:-DWANT_PHYSFS=OFF} \ | |
337 | %{!?with_pulseaudio:-DWANT_PULSEAUDIO=OFF} \ | |
338 | %{?with_python:-DWANT_PYTHON_WRAPPER=ON} | |
328fc681 | 339 | |
340 | %{__make} | |
341 | ||
342 | %install | |
343 | rm -rf $RPM_BUILD_ROOT | |
344 | install -d $RPM_BUILD_ROOT%{_bindir} | |
345 | ||
346 | %{__make} install -C build \ | |
347 | DESTDIR=$RPM_BUILD_ROOT | |
348 | ||
b1f05c36 JB |
349 | %if %{with python} |
350 | install -d $RPM_BUILD_ROOT%{py_sitescriptdir} | |
351 | install build/python/allegro.py $RPM_BUILD_ROOT%{py_sitescriptdir} | |
352 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
353 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
354 | %py_postclean | |
355 | %endif | |
328fc681 | 356 | |
b1f05c36 JB |
357 | install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
358 | cp -p docs/man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3 | |
328fc681 | 359 | |
b1f05c36 JB |
360 | # install examples |
361 | find build/examples -maxdepth 1 -perm 755 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \; | |
328fc681 | 362 | |
363 | %clean | |
364 | rm -rf $RPM_BUILD_ROOT | |
365 | ||
97ee6f50 | 366 | %post -p /sbin/ldconfig |
367 | %postun -p /sbin/ldconfig | |
328fc681 | 368 | |
b1f05c36 JB |
369 | %post acodec -p /sbin/ldconfig |
370 | %postun acodec -p /sbin/ldconfig | |
371 | ||
372 | %post audio -p /sbin/ldconfig | |
373 | %postun audio -p /sbin/ldconfig | |
374 | ||
375 | %post dialog -p /sbin/ldconfig | |
376 | %postun dialog -p /sbin/ldconfig | |
377 | ||
378 | %post image -p /sbin/ldconfig | |
379 | %postun image -p /sbin/ldconfig | |
380 | ||
381 | %post physfs -p /sbin/ldconfig | |
382 | %postun physfs -p /sbin/ldconfig | |
383 | ||
384 | %post ttf -p /sbin/ldconfig | |
385 | %postun ttf -p /sbin/ldconfig | |
386 | ||
328fc681 | 387 | %files |
388 | %defattr(644,root,root,755) | |
54b7addb | 389 | %doc CHANGES-5.0.txt CHANGES-5.1.txt CHANGES-5.2.txt README.txt docs/html/refman |
389f5f31 | 390 | %attr(755,root,root) %{_libdir}/liballegro.so.*.*.* |
54b7addb | 391 | %attr(755,root,root) %ghost %{_libdir}/liballegro.so.5.2 |
b1f05c36 | 392 | %attr(755,root,root) %{_libdir}/liballegro_color.so.*.*.* |
54b7addb | 393 | %attr(755,root,root) %ghost %{_libdir}/liballegro_color.so.5.2 |
b1f05c36 | 394 | %attr(755,root,root) %{_libdir}/liballegro_font.so.*.*.* |
54b7addb | 395 | %attr(755,root,root) %ghost %{_libdir}/liballegro_font.so.5.2 |
b1f05c36 | 396 | %attr(755,root,root) %{_libdir}/liballegro_main.so.*.*.* |
54b7addb | 397 | %attr(755,root,root) %ghost %{_libdir}/liballegro_main.so.5.2 |
b1f05c36 | 398 | %attr(755,root,root) %{_libdir}/liballegro_memfile.so.*.*.* |
54b7addb | 399 | %attr(755,root,root) %ghost %{_libdir}/liballegro_memfile.so.5.2 |
b1f05c36 | 400 | %attr(755,root,root) %{_libdir}/liballegro_primitives.so.*.*.* |
54b7addb JR |
401 | %attr(755,root,root) %ghost %{_libdir}/liballegro_primitives.so.5.2 |
402 | %attr(755,root,root) %{_libdir}/liballegro_video.so.*.*.* | |
403 | %attr(755,root,root) %ghost %{_libdir}/liballegro_video.so.5.2 | |
328fc681 | 404 | |
405 | %files devel | |
406 | %defattr(644,root,root,755) | |
b1f05c36 JB |
407 | %attr(755,root,root) %{_libdir}/liballegro.so |
408 | %attr(755,root,root) %{_libdir}/liballegro_color.so | |
409 | %attr(755,root,root) %{_libdir}/liballegro_font.so | |
410 | %attr(755,root,root) %{_libdir}/liballegro_main.so | |
411 | %attr(755,root,root) %{_libdir}/liballegro_memfile.so | |
412 | %attr(755,root,root) %{_libdir}/liballegro_primitives.so | |
54b7addb | 413 | %attr(755,root,root) %{_libdir}/liballegro_video.so |
b1f05c36 JB |
414 | %{_includedir}/allegro5 |
415 | %exclude %{_includedir}/allegro5/allegro_acodec.h | |
416 | %exclude %{_includedir}/allegro5/allegro_audio.h | |
417 | %exclude %{_includedir}/allegro5/allegro_image.h | |
418 | %{?with_gtk:%exclude %{_includedir}/allegro5/allegro_native_dialog.h} | |
419 | %{?with_physfs:%exclude %{_includedir}/allegro5/allegro_physfs.h} | |
420 | %exclude %{_includedir}/allegro5/allegro_ttf.h | |
b1f05c36 | 421 | %{_pkgconfigdir}/allegro-5.pc |
b1f05c36 | 422 | %{_pkgconfigdir}/allegro_color-5.pc |
b1f05c36 | 423 | %{_pkgconfigdir}/allegro_font-5.pc |
b1f05c36 | 424 | %{_pkgconfigdir}/allegro_main-5.pc |
b1f05c36 | 425 | %{_pkgconfigdir}/allegro_memfile-5.pc |
b1f05c36 | 426 | %{_pkgconfigdir}/allegro_primitives-5.pc |
54b7addb | 427 | %{_pkgconfigdir}/allegro_video-5.pc |
b1f05c36 JB |
428 | %{_mandir}/man3/ALLEGRO_*.3* |
429 | %{_mandir}/man3/al_*.3* | |
430 | ||
431 | %files acodec | |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/liballegro_acodec.so.*.*.* | |
54b7addb | 434 | %attr(755,root,root) %ghost %{_libdir}/liballegro_acodec.so.5.2 |
b1f05c36 JB |
435 | |
436 | %files acodec-devel | |
437 | %defattr(644,root,root,755) | |
438 | %attr(755,root,root) %{_libdir}/liballegro_acodec.so | |
439 | %{_includedir}/allegro5/allegro_acodec.h | |
b1f05c36 JB |
440 | %{_pkgconfigdir}/allegro_acodec-5.pc |
441 | ||
442 | %files audio | |
443 | %defattr(644,root,root,755) | |
444 | %attr(755,root,root) %{_libdir}/liballegro_audio.so.*.*.* | |
54b7addb | 445 | %attr(755,root,root) %ghost %{_libdir}/liballegro_audio.so.5.2 |
b1f05c36 JB |
446 | |
447 | %files audio-devel | |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_libdir}/liballegro_audio.so | |
450 | %{_includedir}/allegro5/allegro_audio.h | |
b1f05c36 JB |
451 | %{_pkgconfigdir}/allegro_audio-5.pc |
452 | ||
453 | %if %{with gtk} | |
454 | %files dialog | |
455 | %defattr(644,root,root,755) | |
456 | %attr(755,root,root) %{_libdir}/liballegro_dialog.so.*.*.* | |
54b7addb | 457 | %attr(755,root,root) %ghost %{_libdir}/liballegro_dialog.so.5.2 |
b1f05c36 JB |
458 | |
459 | %files dialog-devel | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/liballegro_dialog.so | |
462 | %{_includedir}/allegro5/allegro_native_dialog.h | |
b1f05c36 JB |
463 | %{_pkgconfigdir}/allegro_dialog-5.pc |
464 | %endif | |
465 | ||
466 | %files image | |
467 | %defattr(644,root,root,755) | |
468 | %attr(755,root,root) %{_libdir}/liballegro_image.so.*.*.* | |
54b7addb | 469 | %attr(755,root,root) %ghost %{_libdir}/liballegro_image.so.5.2 |
b1f05c36 JB |
470 | |
471 | %files image-devel | |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_libdir}/liballegro_image.so | |
474 | %{_includedir}/allegro5/allegro_image.h | |
b1f05c36 JB |
475 | %{_pkgconfigdir}/allegro_image-5.pc |
476 | ||
477 | %if %{with physfs} | |
478 | %files physfs | |
479 | %defattr(644,root,root,755) | |
480 | %attr(755,root,root) %{_libdir}/liballegro_physfs.so.*.*.* | |
54b7addb | 481 | %attr(755,root,root) %ghost %{_libdir}/liballegro_physfs.so.5.2 |
b1f05c36 JB |
482 | |
483 | %files physfs-devel | |
484 | %defattr(644,root,root,755) | |
485 | %attr(755,root,root) %{_libdir}/liballegro_physfs.so | |
486 | %{_includedir}/allegro5/allegro_physfs.h | |
b1f05c36 JB |
487 | %{_pkgconfigdir}/allegro_physfs-5.pc |
488 | %endif | |
489 | ||
490 | %files ttf | |
491 | %defattr(644,root,root,755) | |
54b7addb | 492 | %attr(755,root,root) %ghost %{_libdir}/liballegro_ttf.so.5.2 |
b1f05c36 JB |
493 | %attr(755,root,root) %{_libdir}/liballegro_ttf.so.*.*.* |
494 | ||
495 | %files ttf-devel | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/liballegro_ttf.so | |
498 | %{_includedir}/allegro5/allegro_ttf.h | |
b1f05c36 JB |
499 | %{_pkgconfigdir}/allegro_ttf-5.pc |
500 | ||
328fc681 | 501 | %files examples |
502 | %defattr(644,root,root,755) | |
503 | %attr(755,root,root) %{_bindir}/ex_acodec | |
504 | %attr(755,root,root) %{_bindir}/ex_acodec_multi | |
b1f05c36 | 505 | %attr(755,root,root) %{_bindir}/ex_audio_chain |
328fc681 | 506 | %attr(755,root,root) %{_bindir}/ex_audio_props |
507 | %attr(755,root,root) %{_bindir}/ex_audio_simple | |
89e03088 | 508 | %attr(755,root,root) %{_bindir}/ex_audio_timer |
328fc681 | 509 | %attr(755,root,root) %{_bindir}/ex_bitmap |
510 | %attr(755,root,root) %{_bindir}/ex_bitmap_flip | |
328fc681 | 511 | %attr(755,root,root) %{_bindir}/ex_blend |
512 | %attr(755,root,root) %{_bindir}/ex_blend2 | |
513 | %attr(755,root,root) %{_bindir}/ex_blend_bench | |
514 | %attr(755,root,root) %{_bindir}/ex_blend_test | |
515 | %attr(755,root,root) %{_bindir}/ex_blit | |
54b7addb | 516 | %attr(755,root,root) %{_bindir}/ex_camera |
328fc681 | 517 | %attr(755,root,root) %{_bindir}/ex_clip |
54b7addb | 518 | %attr(755,root,root) %{_bindir}/ex_clipboard |
bcc9721e | 519 | %attr(755,root,root) %{_bindir}/ex_color |
54b7addb | 520 | %attr(755,root,root) %{_bindir}/ex_compressed |
328fc681 | 521 | %attr(755,root,root) %{_bindir}/ex_config |
522 | %attr(755,root,root) %{_bindir}/ex_convert | |
54b7addb | 523 | %attr(755,root,root) %{_bindir}/ex_cpu |
b1f05c36 | 524 | %{?with_curl:%attr(755,root,root) %{_bindir}/ex_curl} |
54b7addb | 525 | %attr(755,root,root) %{_bindir}/ex_depth_mask |
328fc681 | 526 | %attr(755,root,root) %{_bindir}/ex_dir |
527 | %attr(755,root,root) %{_bindir}/ex_disable_screensaver | |
b1f05c36 | 528 | %attr(755,root,root) %{_bindir}/ex_display_events |
328fc681 | 529 | %attr(755,root,root) %{_bindir}/ex_display_options |
530 | %attr(755,root,root) %{_bindir}/ex_draw | |
531 | %attr(755,root,root) %{_bindir}/ex_draw_bitmap | |
532 | %attr(755,root,root) %{_bindir}/ex_drawpixels | |
533 | %attr(755,root,root) %{_bindir}/ex_dualies | |
534 | %attr(755,root,root) %{_bindir}/ex_expose | |
54b7addb | 535 | %attr(755,root,root) %{_bindir}/ex_file |
b1f05c36 | 536 | %attr(755,root,root) %{_bindir}/ex_file_slice |
bcc9721e | 537 | %attr(755,root,root) %{_bindir}/ex_filter |
328fc681 | 538 | %attr(755,root,root) %{_bindir}/ex_font |
54b7addb JR |
539 | %attr(755,root,root) %{_bindir}/ex_font_justify |
540 | %attr(755,root,root) %{_bindir}/ex_font_multiline | |
328fc681 | 541 | %attr(755,root,root) %{_bindir}/ex_fs_resize |
542 | %attr(755,root,root) %{_bindir}/ex_fs_window | |
543 | %attr(755,root,root) %{_bindir}/ex_get_path | |
544 | %attr(755,root,root) %{_bindir}/ex_gldepth | |
545 | %attr(755,root,root) %{_bindir}/ex_glext | |
bcc9721e | 546 | %attr(755,root,root) %{_bindir}/ex_haiku |
54b7addb JR |
547 | %attr(755,root,root) %{_bindir}/ex_haptic |
548 | %attr(755,root,root) %{_bindir}/ex_haptic2 | |
328fc681 | 549 | %attr(755,root,root) %{_bindir}/ex_icon |
b1f05c36 | 550 | %attr(755,root,root) %{_bindir}/ex_icon2 |
54b7addb | 551 | %attr(755,root,root) %{_bindir}/ex_inject_events |
328fc681 | 552 | %attr(755,root,root) %{_bindir}/ex_joystick_events |
bcc9721e | 553 | %attr(755,root,root) %{_bindir}/ex_joystick_hotplugging |
328fc681 | 554 | %attr(755,root,root) %{_bindir}/ex_kcm_direct |
555 | %attr(755,root,root) %{_bindir}/ex_keyboard_events | |
556 | %attr(755,root,root) %{_bindir}/ex_keyboard_focus | |
557 | %attr(755,root,root) %{_bindir}/ex_lines | |
54b7addb | 558 | %attr(755,root,root) %{_bindir}/ex_loading_thread |
328fc681 | 559 | %attr(755,root,root) %{_bindir}/ex_lockbitmap |
bcc9721e | 560 | %attr(755,root,root) %{_bindir}/ex_logo |
328fc681 | 561 | %attr(755,root,root) %{_bindir}/ex_membmp |
562 | %attr(755,root,root) %{_bindir}/ex_memfile | |
54b7addb | 563 | %attr(755,root,root) %{_bindir}/ex_menu |
328fc681 | 564 | %attr(755,root,root) %{_bindir}/ex_mixer_chain |
565 | %attr(755,root,root) %{_bindir}/ex_mixer_pp | |
566 | %attr(755,root,root) %{_bindir}/ex_monitorinfo | |
567 | %attr(755,root,root) %{_bindir}/ex_mouse | |
568 | %attr(755,root,root) %{_bindir}/ex_mouse_cursor | |
569 | %attr(755,root,root) %{_bindir}/ex_mouse_events | |
570 | %attr(755,root,root) %{_bindir}/ex_mouse_focus | |
54b7addb | 571 | %attr(755,root,root) %{_bindir}/ex_mouse_warp |
328fc681 | 572 | %attr(755,root,root) %{_bindir}/ex_multisample |
573 | %attr(755,root,root) %{_bindir}/ex_multiwin | |
bcc9721e | 574 | %attr(755,root,root) %{_bindir}/ex_native_filechooser |
389f5f31 | 575 | %attr(755,root,root) %{_bindir}/ex_nodisplay |
328fc681 | 576 | %attr(755,root,root) %{_bindir}/ex_noframe |
577 | %attr(755,root,root) %{_bindir}/ex_opengl | |
578 | %attr(755,root,root) %{_bindir}/ex_opengl_pixel_shader | |
54b7addb | 579 | %attr(755,root,root) %{_bindir}/ex_palette |
328fc681 | 580 | %attr(755,root,root) %{_bindir}/ex_path |
581 | %attr(755,root,root) %{_bindir}/ex_path_test | |
b1f05c36 | 582 | %{?with_physfs:%attr(755,root,root) %{_bindir}/ex_physfs} |
328fc681 | 583 | %attr(755,root,root) %{_bindir}/ex_pixelformat |
54b7addb | 584 | %attr(755,root,root) %{_bindir}/ex_polygon |
6155f607 | 585 | %attr(755,root,root) %{_bindir}/ex_premulalpha |
328fc681 | 586 | %attr(755,root,root) %{_bindir}/ex_prim |
54b7addb JR |
587 | %attr(755,root,root) %{_bindir}/ex_prim_shader |
588 | %attr(755,root,root) %{_bindir}/ex_projection | |
589 | %attr(755,root,root) %{_bindir}/ex_projection2 | |
590 | %attr(755,root,root) %{_bindir}/ex_record | |
591 | %attr(755,root,root) %{_bindir}/ex_record_name | |
592 | %attr(755,root,root) %{_bindir}/ex_reparent | |
b1f05c36 | 593 | %attr(755,root,root) %{_bindir}/ex_resample_test |
328fc681 | 594 | %attr(755,root,root) %{_bindir}/ex_resize |
595 | %attr(755,root,root) %{_bindir}/ex_resize2 | |
596 | %attr(755,root,root) %{_bindir}/ex_rotate | |
597 | %attr(755,root,root) %{_bindir}/ex_saw | |
598 | %attr(755,root,root) %{_bindir}/ex_scale | |
54b7addb JR |
599 | %attr(755,root,root) %{_bindir}/ex_shader |
600 | %attr(755,root,root) %{_bindir}/ex_shader_multitex | |
601 | %attr(755,root,root) %{_bindir}/ex_shader_target | |
328fc681 | 602 | %attr(755,root,root) %{_bindir}/ex_stream_file |
603 | %attr(755,root,root) %{_bindir}/ex_stream_seek | |
604 | %attr(755,root,root) %{_bindir}/ex_subbitmap | |
bcc9721e | 605 | %attr(755,root,root) %{_bindir}/ex_synth |
328fc681 | 606 | %attr(755,root,root) %{_bindir}/ex_threads |
607 | %attr(755,root,root) %{_bindir}/ex_threads2 | |
608 | %attr(755,root,root) %{_bindir}/ex_timedwait | |
609 | %attr(755,root,root) %{_bindir}/ex_timer | |
54b7addb JR |
610 | %attr(755,root,root) %{_bindir}/ex_timer_pause |
611 | %attr(755,root,root) %{_bindir}/ex_touch_input | |
328fc681 | 612 | %attr(755,root,root) %{_bindir}/ex_transform |
bcc9721e | 613 | %attr(755,root,root) %{_bindir}/ex_ttf |
328fc681 | 614 | %attr(755,root,root) %{_bindir}/ex_user_events |
615 | %attr(755,root,root) %{_bindir}/ex_utf8 | |
54b7addb JR |
616 | %attr(755,root,root) %{_bindir}/ex_vertex_buffer |
617 | %attr(755,root,root) %{_bindir}/ex_video | |
328fc681 | 618 | %attr(755,root,root) %{_bindir}/ex_vsync |
54b7addb | 619 | %attr(755,root,root) %{_bindir}/ex_window_constraints |
328fc681 | 620 | %attr(755,root,root) %{_bindir}/ex_windows |
54b7addb | 621 | %attr(755,root,root) %{_bindir}/ex_window_title |
328fc681 | 622 | %attr(755,root,root) %{_bindir}/ex_winfull |
b1f05c36 JB |
623 | |
624 | %if %{with python} | |
625 | %files -n python-%{name} | |
626 | %defattr(644,root,root,755) | |
627 | %{py_sitescriptdir}/allegro.py[co] | |
628 | %endif |