File: allegro.spec

package info (click to toggle)
allegro4.2 2:4.2.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,436 kB
  • ctags: 14,714
  • sloc: ansic: 126,425; asm: 17,011; cpp: 3,846; sh: 2,120; objc: 925; makefile: 715; python: 216; pascal: 179; perl: 73
file content (239 lines) | stat: -rw-r--r-- 8,096 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# RPM spec file for Allegro.

Summary: A game programming library.
Summary(es): Una librer�a de programaci�n de juegos.
Summary(fr): Une librairie de programmation de jeux.
Summary(it): Una libreria per la programmazione di videogiochi.
Summary(de): Eine Bibliothek zur Programmierung von Spielen.
Name: allegro
Version: 4.2.0
Release: 1
License: Gift Ware
Packager: Allegro development team
Group: System/Libraries
Source: ftp://sunsite.dk/allegro/%{name}-%{version}.tar.gz
URL: http://alleg.sourceforge.net
# If you don't have the icon, just comment it out.
Icon: alex.xpm
Buildroot: %{_tmppath}/%{name}-buildroot
# Older rpms don't support this; just make sure you have it.
#BuildRequires: texinfo
# Automatic dependency generation picks up module dependencies
# which is exactly what we don't want...
# But which you *need* for compiling on other platforms ...
Autoreqprov: on
Requires: /sbin/ldconfig, /sbin/install-info

%description
Allegro is a cross-platform library intended for use in computer games
and other types of multimedia programming.

%description -l es
Allegro es una librer�a multi-plataforma creada para ser usada en la
programaci�n de juegos u otro tipo de programaci�n multimedia.

%description -l fr
Allegro est une librairie multi-plateforme destin�e � �tre utilis�e dans
les jeux vid�o ou d'autres types de programmation multim�dia.

%description -l it
Allegro � una libreria multipiattaforma dedicata all'uso nei videogiochi
ed in altri tipi di programmazione multimediale.

%description -l de
Allegro ist eine plattform�bergreifende Bibliothek zur Verwendung in
Computerspielen und anderen Formen von Multimediaprogrammierung.

# Prevent building of debuginfo package on RedHat 9
%define debug_package %{nil}

%package devel
Summary: A game programming library.
Summary(es): Una librer�a de programaci�n de juegos.
Summary(fr): Une librairie de programmation de jeux.
Summary(it): Una libreria per la programmazione di videogiochi.
Summary(de): Eine Bibliothek zur Programmierung von Spielen.
Group: Development/C
Prereq: %{name} = %{version}
Autoreqprov: on

%description devel
Allegro is a cross-platform library intended for use in computer games
and other types of multimedia programming. This package is needed to
build programs written with Allegro.

%description devel -l es
Allegro es una librer�a multi-plataforma creada para ser usada en la
programaci�n de juegos u otro tipo de programaci�n multimedia. Este
paquete es necesario para compilar los programas que usen Allegro.

%description devel -l fr
Allegro est une librairie multi-plateforme destin�e � �tre utilis�e dans
les jeux vid�o ou d'autres types de programmation multim�dia. Ce package
est n�cessaire pour compiler les programmes utilisant Allegro.

%description devel -l it
Allegro � una libreria multipiattaforma dedicata all'uso nei videogiochi
ed in altri tipi di programmazione multimediale. Questo pacchetto �
necessario per compilare programmi scritti con Allegro.

%description devel -l de
Allegro ist eine plattform�bergreifende Bibliothek zur Verwendung in
Computerspielen und anderen Formen von Multimediaprogrammierung.
Dieses Paket wird ben�tigt, um Programme zu bauen, die Allegro
verwenden.

%package tools
Summary: Extra tools for the Allegro programming library.
Summary(es): Herramientas adicionales para la librer�a de programaci�n Allegro.
Summary(fr): Outils suppl�mentaires pour la librairie de programmation Allegro.
Summary(it): Programmi di utilit� aggiuntivi per la libreria Allegro.
Summary(de): Zus�tzliche Hilfprogramme f�r die Allegro Bibliothek.
Group: Development/Other
Prereq: allegro
Autoreq: on

%description tools
Allegro is a cross-platform library intended for use in computer games
and other types of multimedia programming. This package contains extra
tools which are useful for developing Allegro programs.

%description tools -l es
Allegro es una librer�a multi-plataforma creada para ser usada en la
programaci�n de juegos u otro tipo de programaci�n multimedia. Este
paquete contiene herramientas adicionales que son �tiles para
desarrollar programas que usen Allegro.

%description tools -l fr
Allegro est une librairie multi-plateforme destin�e � �tre utilis�e dans
les jeux vid�o ou d'autres types de programmation multim�dia. Ce package
contient des outils suppl�mentaires qui sont utiles pour le d�veloppement
de programmes avec Allegro.

%description tools -l it
Allegro � una libreria multipiattaforma dedicata all'uso nei videogiochi
ed in altri tipi di programmazione multimediale. Questo pacchetto
contiene programmi di utilit� aggiuntivi utili allo sviluppo di programmi
con Allegro.

%description tools -l de
Allegro ist eine plattform�bergreifende Bibliothek zur Verwendung in
Computerspielen und anderen Formen von Multimediaprogrammierung.
Dieses Paket enth�lt Programme, die f�r die Entwicklung von
Allegro Programmen hilfreich sind.

%prep
%setup -q

%build
./configure --enable-shared \
            --enable-static \
	    --enable-pentiumopts \
	    --prefix=%{_prefix} \
            --mandir=%{_mandir} \
            --infodir=%{_infodir}
make
MKDATA_PRELOAD=../../lib/unix/liballeg-%{version}.so DAT=../../tools/dat misc/mkdata.sh

%install
rm -rf %{buildroot}
# If your rpm doesn't automatically compress documentation, you can
# use install-gzipped-man and install-gzipped-info.
make DESTDIR=%{buildroot} \
     install \
     install-man \
     install-info
install -D -m 644 allegro.cfg %{buildroot}%{_sysconfdir}/allegrorc
install -d -m 755 %{buildroot}%{_datadir}/allegro
install -D -m 644 keyboard.dat language.dat %{buildroot}%{_datadir}/allegro
find demo examples setup -type f -perm +111 -print | xargs rm

%post
/sbin/ldconfig
 
%postun
/sbin/ldconfig

%post devel
install-info %{_infodir}/allegro.info* %{_infodir}/dir

%postun devel
install-info --delete allegro %{_infodir}/dir

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc readme.txt docs/build/unix.txt docs/build/linux.txt
%doc AUTHORS CHANGES THANKS
%config(noreplace) %{_sysconfdir}/allegrorc
%{_libdir}/*.so
%{_libdir}/allegro
%{_datadir}/allegro

%files devel
%defattr(-,root,root)
%doc docs/txt/abi.txt docs/txt/ahack.txt docs/txt/allegro.txt
%doc docs/txt/const.txt docs/txt/faq.txt docs/txt/mistakes.txt
%doc docs/txt/help.txt
%doc todo.txt docs/html
%doc demo examples setup
%{_bindir}/allegro-config
%{_libdir}/*.a
%{_includedir}/*
%{_infodir}/allegro.info*
%{_mandir}/man3/*
%{_datadir}/aclocal/allegro.m4

%files tools
%defattr(-,root,root)
%doc docs/txt/grabber.txt
%doc tools/plugins/plugins.txt
%{_bindir}/colormap
%{_bindir}/dat
%{_bindir}/dat2c
%{_bindir}/dat2s
%{_bindir}/exedat
%{_bindir}/grabber
%{_bindir}/pack
%{_bindir}/pat2dat
%{_bindir}/rgbmap
%{_bindir}/textconv

%changelog
* Tue Sep 14 2004 Shawn Walker <adonijah@gmail.com>  4.1.15-2
- add aclocal.m4 for allegro to package

* Sat Apr 05 2003 Shawn Walker <adonijah@gmail.com>  4.1.10-1
- added dat2c to tools package
- added additional documentation to tools package
- removed makedoc source code entry from tools package
- prevent building of useless debuginfo package on RedHat 9
- fixed source rpm rebuilding for RedHat 9

* Fri Feb 07 2003 Philipp Thomas <pthomas@suse.de>  4.1.10-1
- turned on automatic dependency generation
- used DESTDIR
- added German translation

* Fri Dec 07 2001 Angelo Mottola <lillo@users.sourceforge.net>  4.0.0-1
- added Italian translation

* Tue Oct 02 2001 Peter Wang <tjaden@users.sourceforge.net>  3.9.39-1
- icon courtesy of Johan Peitz

* Mon Sep 24 2001 Peter Wang <tjaden@users.sourceforge.net>
- remaining translations by Eric Botcazou and Grzegorz Adam Hankiewicz

* Sun Sep 23 2001 Peter Wang <tjaden@users.sourceforge.net>
- translations by Eric Botcazou and Javier Gonz�lez
- language.dat and keyboard.dat moved to main package
- devel split into devel and tools packages
- makedoc added to tools package

* Wed Sep 16 2001 Peter Wang <tjaden@users.sourceforge.net>
- merged Osvaldo's spec file with gfoot's spec and some other changes

* Wed Sep 27 2000 Osvaldo Santana Neto <osvaldo@conectiva.com>
- updated to 3.9.33