]> git.pld-linux.org Git - packages/allegro5.git/blob - allegro.spec
6394c712fc1eac63f29d7c1c7e406de72cabab9f
[packages/allegro5.git] / allegro.spec
1 Summary:        A game programming library
2 Summary(pl):    Biblioteka do programowania gier
3 Name:           allegro
4 Version:        4.0.2
5 Release:        0.1
6 License:        Giftware
7 Group:          X11/Libraries
8 Source0:        http://belnet.dl.sourceforge.net/sourceforge/alleg/%{name}-%{version}-rc2.tar.gz
9 Patch0:         %{name}-makefile.patch
10 Patch1:         %{name}-info.patch
11 #Patch2:        %{name}-alsa9.patch
12 Patch3:         %{name}-examples.patch
13 URL:            http://alleg.sourceforge.net
14 BuildRequires:  XFree86-devel
15 BuildRequires:  esound-devel
16 %ifnarch sparc sparc64
17 BuildRequires:  alsa-lib-devel
18 %endif
19 %ifarch %{ix86} alpha
20 BuildRequires:  svgalib-devel
21 %endif
22 BuildRequires:  texinfo
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _mandir         %{_prefix}/man
27
28 %description
29 Allegro is a cross-platform library intended for use in computer games
30 and other types of multimedia programming.
31
32 %description -l pl
33 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
34 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
35
36 %package devel
37 Summary:        A game programming library - header files
38 Summary(pl):    Biblioteka do programowania gier - pliki nag³ówkowe
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}
41
42 %description devel
43 Allegro is a cross-platform library intended for use in computer games
44 and other types of multimedia programming.
45
46 This package contains header files neccessary for compiling
47 applications using allegro library.
48
49 %description devel -l pl
50 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
51 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
52
53 Ten pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania
54 aplikacji wykorzystuj±cych bibliotekê allegro.
55
56 %package tests
57 Summary:        A game programming library - test programs
58 Summary(pl):    Biblioteka do programowania gier - programy testuj±ce
59 Group:          X11/Development/Libraries
60 Requires:       %{name} = %{version}
61
62 %description tests
63 This package contains programs for testing allegro library.
64
65 %description tests -l pl
66 Pakiet zawiera programy testuj±ce bibliotekê allegro.
67
68 %package examples
69 Summary:        A game programming library - examples
70 Summary(pl):    Biblioteka do programowania gier - programy przyk³adowe
71 Group:          X11/Development/Libraries
72 Requires:       %{name} = %{version}
73
74 %description examples
75 This package contains example programs which are showing
76 allegro features.
77
78 %description examples -l pl
79 Pakiet zawiera programy przyk³adowe demonstruj±ce mo?liwo¶ci biblioteki allegro.
80
81 %package static
82 Summary:        A game programming library - static libraries
83 Summary(pl):    Biblioteka do programowania gier - biblioteki statyczne
84 Group:          X11/Development/Libraries
85 Requires:       %{name}-devel = %{version}
86
87 %description static
88 Allegro is a cross-platform library intended for use in computer games
89 and other types of multimedia programming.
90
91 This package contains static libraries for linking with allegro
92 applications.
93
94 %description static -l pl
95 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
96 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
97
98 Ten pakiet zawiera biblioteki statyczne do linkowania z aplikacjami
99 wykorzystuj±cymi allegro.
100
101 %package svgalib
102 Summary:        A game programming library - svgalib module
103 Summary(pl):    Biblioteka do programowania gier - modu³ dla svgalib
104 Group:          X11/Libraries
105 PreReq:         %{name} = %{version}
106
107 %description svgalib
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 module for use with allegro and svgalib.
112
113 %description svgalib -l pl
114 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
115 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
116
117 Ten pakiet zawiera modu³ do wykorzystania allegro z svgalibem.
118
119 %package dga2
120 Summary:        A game programming library - DGA2 module
121 Summary(pl):    Biblioteka do programowania gier - modu³ dla DGA2
122 Group:          X11/Libraries
123 PreReq:         %{name} = %{version}
124
125 %description dga2
126 Allegro is a cross-platform library intended for use in computer games
127 and other types of multimedia programming.
128
129 This package contains module for use with DGA.
130
131 %description dga2 -l pl
132 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
133 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
134
135 Ten pakiet zawiera modu³ do wykorzystania z DGA.
136
137 %package esd
138 Summary:        A game programming library - esound module
139 Summary(pl):    Biblioteka do programowania gier - modu³ dla esound
140 Group:          X11/Libraries
141 PreReq:         %{name} = %{version}
142
143 %description esd
144 Allegro is a cross-platform library intended for use in computer games
145 and other types of multimedia programming.
146
147 This package contains a esound module for use with ESound daemon.
148
149 %description esd -l pl
150 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
151 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
152
153 Ten pakiet zawiera modu³ do wykorzystania z demonem ESound.
154
155 %package alsa
156 Summary:        A game programming library - ALSA modules
157 Summary(pl):    Biblioteka do programowania gier - modu³y dla ALSA
158 Group:          X11/Libraries
159 PreReq:         %{name} = %{version}
160
161 %description alsa
162 Allegro is a cross-platform library intended for use in computer games
163 and other types of multimedia programming.
164
165 This package contains modules for use with ALSA sound library.
166
167 %description alsa -l pl
168 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
169 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
170
171 Ten pakiet zawiera modu³y do wykorzystania z bibliotek± d¼wiêkow±
172 ALSA.
173
174 %prep
175 %setup  -q
176 %patch0 -p1
177 %patch1 -p1
178 #%patch2 -p1
179 %patch3 -p1
180
181 %build
182 aclocal
183 %{__autoconf}
184 %configure \
185         --enable-static \
186         --enable-dbglib \
187         --enable-proflib \
188 %ifnarch %{ix86} alpha
189         --disable-vga \
190         --disable-linux
191 %endif
192         
193 %{__make} MAKEINFO=makeinfo
194
195 %install
196 rm -rf $RPM_BUILD_ROOT
197
198 %{__make} install install-man install-info \
199         DESTDIR=$RPM_BUILD_ROOT
200
201 echo -e "# List of modules to be loaded by the Unix version of Allegro.\n" \
202         > $RPM_BUILD_ROOT%{_libdir}/allegro/4.0/modules.lst
203
204 %clean
205 rm -rf $RPM_BUILD_ROOT
206
207 %files
208 %defattr(644,root,root,755)
209 %doc AUTHORS CHANGES THANKS
210 %attr(755,root,root) %{_libdir}/liballeg-%{version}.so
211 %dir %{_libdir}/allegro/
212 %{_libdir}/allegro/4.0/modules.lst
213
214 %files devel
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_libdir}/liballd-%{version}.so
217 %attr(755,root,root) %{_libdir}/liballp-%{version}.so
218 %{_includedir}/*
219 %attr(755,root,root) %{_bindir}/allegro-config
220 %attr(755,root,root) %{_bindir}/colormap
221 %attr(755,root,root) %{_bindir}/exedat
222 %attr(755,root,root) %{_bindir}/pack
223 %attr(755,root,root) %{_bindir}/rgbmap
224 %attr(755,root,root) %{_bindir}/textconv
225 %attr(755,root,root) %{_bindir}/dat
226 %attr(755,root,root) %{_bindir}/dat2s
227 %attr(755,root,root) %{_bindir}/grabber
228 %attr(755,root,root) %{_bindir}/pat2dat
229 %{_mandir}/man3/*
230 %{_infodir}/*
231
232 %files static
233 %defattr(644,root,root,755)
234 %{_libdir}/*.a
235
236 %ifarch %{ix86} alpha
237 %files svgalib
238 %defattr(644,root,root,755)
239 %{_libdir}/allegro/4.0/alleg-svgalib.so
240 %endif
241
242 %files dga2
243 %defattr(644,root,root,755)
244 %{_libdir}/allegro/4.0/alleg-dga2.so
245
246 %files esd
247 %defattr(644,root,root,755)
248 %{_libdir}/allegro/4.0/alleg-esddigi.so
249
250 %ifnarch sparc sparc64
251 %files alsa
252 %defattr(644,root,root,755)
253 %{_libdir}/allegro/4.0/alleg-alsadigi.so
254 %{_libdir}/allegro/4.0/alleg-alsamidi.so
255 %endif
256
257 %files tests
258 %defattr(644,root,root,755)
259 %attr(755,root,root) %{_bindir}/afinfo
260 %attr(755,root,root) %{_bindir}/akaitest
261 %attr(755,root,root) %{_bindir}/digitest
262 %attr(755,root,root) %{_bindir}/filetest
263 %attr(755,root,root) %{_bindir}/gfxinfo
264 %attr(755,root,root) %{_bindir}/mathtest
265 %attr(755,root,root) %{_bindir}/miditest
266 %attr(755,root,root) %{_bindir}/play
267 %attr(755,root,root) %{_bindir}/playfli
268 %attr(755,root,root) %{_bindir}/test
269 %attr(755,root,root) %{_bindir}/vesainfo
270
271 %files examples
272 %defattr(644,root,root,755)
273 %attr(755,root,root) %{_bindir}/ex12bit
274 %attr(755,root,root) %{_bindir}/ex3buf
275 %attr(755,root,root) %{_bindir}/ex3d
276 %attr(755,root,root) %{_bindir}/exalpha
277 %attr(755,root,root) %{_bindir}/exbitmap
278 %attr(755,root,root) %{_bindir}/exblend
279 %attr(755,root,root) %{_bindir}/exdata
280 %attr(755,root,root) %{_bindir}/exdbuf
281 %attr(755,root,root) %{_bindir}/exdodgy
282 %attr(755,root,root) %{_bindir}/exexedat
283 %attr(755,root,root) %{_bindir}/exfixed
284 %attr(755,root,root) %{_bindir}/exflame
285 %attr(755,root,root) %{_bindir}/exflip
286 %attr(755,root,root) %{_bindir}/exgui
287 %attr(755,root,root) %{_bindir}/exhello
288 %attr(755,root,root) %{_bindir}/exjoy
289 %attr(755,root,root) %{_bindir}/exkeys
290 %attr(755,root,root) %{_bindir}/exlights
291 %attr(755,root,root) %{_bindir}/exmem
292 %attr(755,root,root) %{_bindir}/exmidi
293 %attr(755,root,root) %{_bindir}/exmouse
294 %attr(755,root,root) %{_bindir}/expal
295 %attr(755,root,root) %{_bindir}/expat
296 %attr(755,root,root) %{_bindir}/exquat
297 %attr(755,root,root) %{_bindir}/exrgbhsv
298 %attr(755,root,root) %{_bindir}/exsample
299 %attr(755,root,root) %{_bindir}/exshade
300 %attr(755,root,root) %{_bindir}/exspline
301 %attr(755,root,root) %{_bindir}/exsprite
302 %attr(755,root,root) %{_bindir}/exstars
303 %attr(755,root,root) %{_bindir}/exstream
304 %attr(755,root,root) %{_bindir}/extimer
305 %attr(755,root,root) %{_bindir}/extrans
306 %attr(755,root,root) %{_bindir}/exupdate
307 %attr(755,root,root) %{_bindir}/exxfade
308 %attr(755,root,root) %{_bindir}/exzbuf
This page took 0.095175 seconds and 3 git commands to generate.