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