1 Summary: ClanLib, the platform independent game SDK
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
3 Summary(pt_BR): SDK Clanlib
9 Source0: http://dark.x.dtu.dk/~mbn/clanlib/download/download-japj/%{name}-%{version}/%{name}-%{version}-1.tar.gz
10 Patch0: %{name}-OPT.patch
11 Patch1: %{name}-config.patch
12 URL: http://www.clanlib.org/
13 Requires: Hermes >= 1.3.1
14 #OpenGL is disabled in ClanLib 0.5.0 so we disable this requirement
16 BuildRequires: Hermes-devel >= 1.3.1
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: freetype-devel >= 2.0
21 #BuildRequires: OpenGL-devel
22 BuildRequires: libmikmod-devel
23 BuildRequires: libpng-devel >= 1.0.8
24 BuildRequires: libjpeg-devel
25 BuildRequires: libstdc++-devel
26 BuildRequires: libvorbis-devel
27 BuildRequires: lua-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _noautoreqdep libGL.so.1 libGLU.so.1
34 The ClanLib SDK is designed to provide an platform independent game
35 SDK using a lot cleaner (and object oriented) interface than the
36 traditional way it is done in DirectX, SDL and such. The goals is to
37 avoid game developers constantly reinventing the wheel by providing
38 smarter ways to eg. load surfaces.
41 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
42 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
43 przejrzystszy ni¿ DirectX, SDL i inne.
46 A Clanlib é uma biblioteca de jogos multi-plataforma desenhada para
47 facilitar o trabalho dos desenvolvedores. A idéia principal é fornecer
48 uma interface comum para os problemas clássicos dos jogos (carregar
49 gráficos por exemplo).
52 Summary: ClanLib development package
53 Summary(pl): pakiet programistyczny dla ClanLib
54 Summary(pt_BR): Arquivos para desenvolvimento usando a Clanlib
55 Group: Development/Libraries
56 Requires: %{name} = %{version}
57 #Requires: %{name}-OpenGL = %{version}
58 Requires: %{name}-MikMod = %{version}
59 Requires: %{name}-TTF = %{version}
60 Requires: %{name}-Vorbis = %{version}
61 Requires: Hermes-devel
64 This is the development add-on package that includes the header files
65 needed to compile new ClanLib applications.
67 %description devel -l pl
68 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
69 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
71 %description devel -l pt_BR
72 Arquivos que possibilitam o desenvolvimento de aplicativos utilizando
76 Summary: svgalib target for ClanLib
77 Summary(pl): obs³uga svgalib dla ClanLib
78 Group: Development/Libraries
79 Requires: %{name} = %{version}
82 This is the svgalib target for ClanLib.
84 %description svgalib -l pl
85 Obs³uga svgalib dla ClanLib-a.
88 Summary: OpenGL target for ClanLib
89 Summary(pl): obs³uga OpenGL dla ClanLib
90 Group: Development/Libraries
91 Requires: %{name} = %{version}
94 This is the OpenGL target for ClanLib.
96 %description OpenGL -l pl
97 Obs³uga OpenGL dla ClanLib-a.
100 Summary: GGI target for ClanLib
101 Summary(pl): obs³uga GGI dla ClanLib
102 Group: Development/Libraries
103 Requires: %{name} = %{version}
106 This is the GGI target for ClanLib.
108 %description GGI -l pl
109 Obs³uga GGI dla ClanLib-a.
112 Summary: MikMod module for ClanLib
113 Summary(pl): Modu³ Mikmod dla ClanLib
114 Group: Development/Libraries
115 Requires: %{name} = %{version}
118 MikMod module for ClanLib.
120 %description MikMod -l pl
121 Modu³ Mikmod dla ClanLib-a.
124 Summary: Vorbis module for ClanLib
125 Summary(pl): Modu³ Vorbis dla ClanLib
126 Group: Development/Libraries
127 Requires: %{name} = %{version}
130 Vorbis module for ClanLib.
132 %description Vorbis -l pl
133 Modu³ Vorbis dla ClanLib-a.
136 Summary: TTF module for ClanLib
137 Summary(pl): Modu³ TTF dla ClanLib
138 Group: Development/Libraries
139 Requires: %{name} = %{version}
142 TTF module for ClanLib.
144 %description TTF -l pl
145 Modu³ TTF dla ClanLib-a.
148 Summary: ClanLib development package
149 Summary(pl): pakiet programistyczny dla ClanLib
150 Group: Development/Libraries
151 Requires: %{name}-devel = %{version}
154 This is the development add-on package that includes the header files
155 needed to compile new ClanLib applications.
157 %description static -l pl
158 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
159 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
167 # note: rtti is needed --- ClanLib uses exceptions!
170 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
171 CFLAGS="%{rpmcflags} `pkg-config libpng12 --cflags`"; CXXFLAGS="$CFLAGS"
176 --%{?debug:en}%{!?debug:dis}able-debug \
193 --disable-lua # broken
195 # not functional right now
204 rm -rf $RPM_BUILD_ROOT
206 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
207 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
208 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
209 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
211 %{__make} docs_install \
212 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
213 HTML_PREFIX="`pwd`/html"
215 gzip -9nf README CREDITS
217 %post -p /sbin/ldconfig
218 %postun -p /sbin/ldconfig
220 %post OpenGL -p /sbin/ldconfig
221 %postun OpenGL -p /sbin/ldconfig
223 %post MikMod -p /sbin/ldconfig
224 %postun MikMod -p /sbin/ldconfig
226 %post TTF -p /sbin/ldconfig
227 %postun TTF -p /sbin/ldconfig
229 %post Vorbis -p /sbin/ldconfig
230 %postun Vorbis -p /sbin/ldconfig
233 rm -rf $RPM_BUILD_ROOT
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
238 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
239 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
240 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
241 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
242 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
243 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
244 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
245 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
248 #%defattr(644,root,root,755)
249 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
250 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
257 %defattr(644,root,root,755)
258 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
265 %defattr(644,root,root,755)
268 %attr(755,root,root) %{_libdir}/*.so
269 %attr(755,root,root) %{_bindir}/*
270 %{_includedir}/ClanLib
273 %defattr(644,root,root,755)