]>
Commit | Line | Data |
---|---|---|
59445a65 | 1 | # |
2 | # Conditional build: | |
7d6ed33c JB |
3 | # _without_alsa - without alsa modules |
4 | # _without_arts - without arts module | |
5 | # _without_dbglib - don't build debug versions of library | |
6 | # _without_proflib - don't debug profiling versions of library | |
6d9f0f04 | 7 | # _without_svga - without svgalib module |
59b3b08e | 8 | # _with_alsa5 - use alsa 0.5 not 0.9 |
d1868e7e | 9 | # _without_sse - build without sse (valgrind doesn't support it yet) |
59445a65 | 10 | # |
b56b11f5 | 11 | %define _without_arts 1 |
12 | ||
59b3b08e | 13 | %{!?_without_alsa:%{!?_with_alsa5:%define _with_alsa9 1}} |
3b5a56fa | 14 | Summary: A game programming library |
0588cbe6 JB |
15 | Summary(de): Eine Bibliothek zur Programmierung von Spielen |
16 | Summary(es): Una libreria de programacion de juegos | |
17 | Summary(fr): Une librairie de programmation de jeux | |
18 | Summary(it): Una libreria per la programmazione di videogiochi | |
3b5a56fa SZ |
19 | Summary(pl): Biblioteka do programowania gier |
20 | Name: allegro | |
aa1a55e9 | 21 | Version: 4.1.11 |
efc338e5 | 22 | Release: 2 |
86b90f5b | 23 | License: Giftware |
3ac31a78 | 24 | Group: Libraries |
7d6ed33c | 25 | Source0: http://dl.sourceforge.net/alleg/%{name}-%{version}.tar.gz |
aa1a55e9 | 26 | # Source0-md5: 61568ff088fd074eaad8b5cc23ac40ff |
94ac3d0f | 27 | Patch0: %{name}-info.patch |
621bfe6c | 28 | Patch1: %{name}-examples.patch |
c223ecdc | 29 | Patch2: %{name}-alsa9.patch |
7d6ed33c | 30 | Patch3: %{name}-opt.patch |
aa1a55e9 | 31 | Patch4: %{name}-ldflags.patch |
efc338e5 | 32 | Patch5: %{name}-frame-pointer.patch |
7d6ed33c | 33 | URL: http://alleg.sourceforge.net/ |
926a6bcd | 34 | BuildRequires: XFree86-devel |
7d6ed33c JB |
35 | %{!?_without_alsa:BuildRequires: alsa-lib-devel} |
36 | %{!?_without_arts:BuildRequires: arts-devel} | |
2ffa6296 JB |
37 | BuildRequires: autoconf |
38 | BuildRequires: automake | |
3b5a56fa | 39 | BuildRequires: esound-devel |
a9bc178e | 40 | %ifarch %{ix86} alpha |
6d9f0f04 | 41 | %{!?_without_svga:BuildRequires: svgalib-devel} |
131a5d0c | 42 | %endif |
926a6bcd | 43 | BuildRequires: texinfo |
3b5a56fa SZ |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | Allegro is a cross-platform library intended for use in computer games | |
48 | and other types of multimedia programming. | |
49 | ||
0588cbe6 JB |
50 | %description -l de |
51 |