]> git.pld-linux.org Git - packages/allegro.git/blob - allegro.spec
- updated to WIP version
[packages/allegro.git] / allegro.spec
1 Summary:        A game programming library
2 Summary(pl):    Biblioteka do programowania gier
3 Name:           allegro
4 Version:        4.1.0
5 Release:        0.1
6 License:        Giftware
7 Group:          X11/Libraries
8 Source0:        http://belnet.dl.sourceforge.net/sourceforge/alleg/%{name}-%{version}.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 %package tools
175 Summary:        A game programming library - tools
176 Summary(pl):    Biblioteka do programowania gier - narzêdzia
177 Group:          X11/Libraries
178 PreReq:         %{name} = %{version}
179
180 %description tools
181 Allegro is a cross-platform library intended for use in computer games
182 and other types of multimedia programming.
183
184 This package contains tools.
185
186 %description tools -l pl
187 Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w
188 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
189
190 Ten pakiet zawiera narzêdzia.
191
192 %prep
193 %setup  -q
194 %patch3 -p1
195 %patch0 -p1
196 %patch1 -p1
197 #%patch2 -p1
198
199 %build
200 aclocal
201 %{__autoconf}
202 %configure \
203         --enable-static \
204         --enable-dbglib \
205         --enable-proflib \
206 %ifnarch %{ix86} alpha
207         --disable-vga \
208         --disable-linux
209 %endif
210         
211 %{__make} MAKEINFO=makeinfo
212
213 %install
214 rm -rf $RPM_BUILD_ROOT
215
216 %{__make} install install-man install-info install-lib \
217         DESTDIR=$RPM_BUILD_ROOT
218
219 echo -e "# List of modules to be loaded by the Unix version of Allegro.\n" \
220         > $RPM_BUILD_ROOT%{_libdir}/allegro/4.1/modules.lst
221
222 %clean
223 rm -rf $RPM_BUILD_ROOT
224
225 %files
226 %defattr(644,root,root,755)
227 %doc AUTHORS CHANGES THANKS
228 %attr(755,root,root) %{_libdir}/liballeg-%{version}.so
229 %dir %{_libdir}/allegro/
230 %{_libdir}/allegro/4.1/modules.lst
231
232 %files devel
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_libdir}/liballd-%{version}.so
235 %attr(755,root,root) %{_libdir}/liballp-%{version}.so
236 %{_includedir}/*
237 %attr(755,root,root) %{_bindir}/allegro-config
238 %{_mandir}/man3/*
239 %{_infodir}/*
240 %{_libdir}/*_unsharable.a
241
242 %files tools
243 %defattr(644,root,root,755)
244 %attr(755,root,root) %{_bindir}/colormap
245 %attr(755,root,root) %{_bindir}/exedat
246 %attr(755,root,root) %{_bindir}/pack
247 %attr(755,root,root) %{_bindir}/rgbmap
248 %attr(755,root,root) %{_bindir}/textconv
249 %attr(755,root,root) %{_bindir}/dat
250 %attr(755,root,root) %{_bindir}/dat2s
251 %attr(755,root,root) %{_bindir}/grabber
252 %attr(755,root,root) %{_bindir}/pat2dat
253
254 %files static
255 %defattr(644,root,root,755)
256 %{_libdir}/liballd.a
257 %{_libdir}/liballeg.a
258 %{_libdir}/liballp.a
259
260 %ifarch %{ix86} alpha
261 %files svgalib
262 %defattr(644,root,root,755)
263 %{_libdir}/allegro/4.1/alleg-svgalib.so
264 %endif
265
266 %files dga2
267 %defattr(644,root,root,755)
268 %{_libdir}/allegro/4.1/alleg-dga2.so
269
270 %files esd
271 %defattr(644,root,root,755)
272 %{_libdir}/allegro/4.1/alleg-esddigi.so
273
274 %if %{?_without_alsa:0}%{!?_without_alsa:1}
275 %ifnarch sparc sparc64
276 %files alsa
277 %defattr(644,root,root,755)
278 %{_libdir}/allegro/4.1/alleg-alsadigi.so
279 %{_libdir}/allegro/4.1/alleg-alsamidi.so
280 %endif
281 %endif
282
283 %files tests
284 %defattr(644,root,root,755)
285 %attr(755,root,root) %{_bindir}/afinfo
286 %attr(755,root,root) %{_bindir}/akaitest
287 %attr(755,root,root) %{_bindir}/digitest
288 %attr(755,root,root) %{_bindir}/filetest
289 %attr(755,root,root) %{_bindir}/gfxinfo
290 %attr(755,root,root) %{_bindir}/mathtest
291 %attr(755,root,root) %{_bindir}/miditest
292 %attr(755,root,root) %{_bindir}/play
293 %attr(755,root,root) %{_bindir}/playfli
294 %attr(755,root,root) %{_bindir}/test
295 %attr(755,root,root) %{_bindir}/vesainfo
296
297 %files examples
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_bindir}/ex12bit
300 %attr(755,root,root) %{_bindir}/ex3buf
301 %attr(755,root,root) %{_bindir}/ex3d
302 %attr(755,root,root) %{_bindir}/exalpha
303 %attr(755,root,root) %{_bindir}/exbitmap
304 %attr(755,root,root) %{_bindir}/exblend
305 %attr(755,root,root) %{_bindir}/exdata
306 %attr(755,root,root) %{_bindir}/exdbuf
307 %attr(755,root,root) %{_bindir}/exdodgy
308 %attr(755,root,root) %{_bindir}/exexedat
309 %attr(755,root,root) %{_bindir}/exfixed
310 %attr(755,root,root) %{_bindir}/exflame
311 %attr(755,root,root) %{_bindir}/exflip
312 %attr(755,root,root) %{_bindir}/exgui
313 %attr(755,root,root) %{_bindir}/exhello
314 %attr(755,root,root) %{_bindir}/exjoy
315 %attr(755,root,root) %{_bindir}/exkeys
316 %attr(755,root,root) %{_bindir}/exlights
317 %attr(755,root,root) %{_bindir}/exmem
318 %attr(755,root,root) %{_bindir}/exmidi
319 %attr(755,root,root) %{_bindir}/exmouse
320 %attr(755,root,root) %{_bindir}/expal
321 %attr(755,root,root) %{_bindir}/expat
322 %attr(755,root,root) %{_bindir}/exquat
323 %attr(755,root,root) %{_bindir}/exrgbhsv
324 %attr(755,root,root) %{_bindir}/exsample
325 %attr(755,root,root) %{_bindir}/exshade
326 %attr(755,root,root) %{_bindir}/exspline
327 %attr(755,root,root) %{_bindir}/exsprite
328 %attr(755,root,root) %{_bindir}/exstars
329 %attr(755,root,root) %{_bindir}/exstream
330 %attr(755,root,root) %{_bindir}/extimer
331 %attr(755,root,root) %{_bindir}/extrans
332 %attr(755,root,root) %{_bindir}/exupdate
333 %attr(755,root,root) %{_bindir}/exxfade
334 %attr(755,root,root) %{_bindir}/exzbuf
This page took 0.048952 seconds and 4 git commands to generate.