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