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