1 Summary: ClanLib, the platform independent game SDK.
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
12 Source0: http://dark.x.dtu.dk/~mbn/clanlib/download/download-sphair/%{name}-%{version}-1.tar.gz
13 Patch0: %{name}-OPT.patch
14 URL: http://www.clanlib.org/
15 Requires: Hermes >= 1.3.1
16 #OpenGL is disabled in ClanLib 0.5.0 so we disable this requirement
18 BuildRequires: libpng-devel >= 1.0.8
19 BuildRequires: zlib-devel
20 BuildRequires: Hermes-devel >= 1.3.1
21 BuildRequires: libstdc++-devel
22 BuildRequires: XFree86-devel
23 #BuildRequires: OpenGL-devel
24 BuildRequires: libmikmod-devel
25 BuildRequires: freetype-devel >= 2.0
26 BuildRequires: libvorbis-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 The ClanLib SDK is designed to provide an platform independent game
34 SDK using a lot cleaner (and object oriented) interface than the
35 traditional way it is done in DirectX, SDL and such. The goals is to
36 avoid game developers constantly reinventing the wheel by providing
37 smarter ways to eg. load surfaces.
40 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
41 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
42 przejrzystszy ni¿ DirectX, SDL i inne.
45 Summary: ClanLib development package
46 Summary(pl): pakiet programistyczny dla ClanLib
47 Group: Development/Libraries
48 Group(de): Entwicklung/Libraries
49 Group(fr): Development/Librairies
50 Group(pl): Programowanie/Biblioteki
51 Requires: %{name} = %{version}
52 #Requires: %{name}-OpenGL = %{version}
53 Requires: %{name}-MikMod = %{version}
54 Requires: %{name}-TTF = %{version}
55 Requires: %{name}-Vorbis = %{version}
58 This is the development add-on package that includes the header files
59 needed to compile new ClanLib applications.
61 %description -l pl devel
62 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
63 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
66 Summary: svgalib target for ClanLib
67 Summary(pl): obs³uga svgalib dla ClanLib
68 Group: Development/Libraries
69 Group(de): Entwicklung/Libraries
70 Group(fr): Development/Librairies
71 Group(pl): Programowanie/Biblioteki
72 Requires: %{name} = %{version}
75 This is the svgalib target for ClanLib.
77 %description -l pl svgalib
78 Obs³uga svgalib dla ClanLib-a.
81 Summary: OpenGL target for ClanLib
82 Summary(pl): obs³uga OpenGL dla ClanLib
83 Group: Development/Libraries
84 Group(de): Entwicklung/Libraries
85 Group(fr): Development/Librairies
86 Group(pl): Programowanie/Biblioteki
87 Requires: %{name} = %{version}
90 This is the OpenGL target for ClanLib.
92 %description -l pl OpenGL
93 Obs³uga OpenGL dla ClanLib-a.
96 Summary: GGI target for ClanLib
97 Summary(pl): obs³uga GGI dla ClanLib
98 Group: Development/Libraries
99 Group(de): Entwicklung/Libraries
100 Group(fr): Development/Librairies
101 Group(pl): Programowanie/Biblioteki
102 Requires: %{name} = %{version}
105 This is the GGI target for ClanLib.
107 %description -l pl GGI
108 Obs³uga OpenGL dla ClanLib-a.
111 Summary: MikMod module for ClanLib
112 Summary(pl): Modu³ Mikmod dla ClanLib
113 Group: Development/Libraries
114 Group(de): Entwicklung/Libraries
115 Group(fr): Development/Librairies
116 Group(pl): Programowanie/Biblioteki
117 Requires: %{name} = %{version}
120 MikMod module for ClanLib.
122 %description -l pl MikMod
123 Modu³ Mikmod dla ClanLib-a.
126 Summary: Vorbis module for ClanLib
127 Summary(pl): Modu³ Vorbis dla ClanLib
128 Group: Development/Libraries
129 Group(de): Entwicklung/Libraries
130 Group(fr): Development/Librairies
131 Group(pl): Programowanie/Biblioteki
132 Requires: %{name} = %{version}
135 Vorbis module for ClanLib.
137 %description -l pl Vorbis
138 Modu³ Vorbis dla ClanLib-a.
141 Summary: TTF module for ClanLib
142 Summary(pl): Modu³ TTF dla ClanLib
143 Group: Development/Libraries
144 Group(de): Entwicklung/Libraries
145 Group(fr): Development/Librairies
146 Group(pl): Programowanie/Biblioteki
147 Requires: %{name} = %{version}
150 TTF module for ClanLib.
152 %description -l pl TTF
153 Modu³ TTF dla ClanLib-a.
156 Summary: ClanLib development package
157 Summary(pl): pakiet programistyczny dla ClanLib
158 Group: Development/Libraries
159 Group(de): Entwicklung/Libraries
160 Group(fr): Development/Librairies
161 Group(pl): Programowanie/Biblioteki
162 Requires: %{name}-devel = %{version}
165 This is the development add-on package that includes the header files
166 needed to compile new ClanLib applications.
168 %description -l pl static
169 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
170 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
178 # note: rtti is needed --- ClanLib uses exceptions!
182 %{?debug:--enable-debug}%{!?debug:--disable-debug} \
201 # not functional right now
210 rm -rf $RPM_BUILD_ROOT
212 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
213 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
214 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
215 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
217 %{__make} docs_install \
218 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
219 HTML_PREFIX="`pwd`/html"
221 gzip -9nf README CREDITS
223 %post -p /sbin/ldconfig
224 %postun -p /sbin/ldconfig
226 %post OpenGL -p /sbin/ldconfig
227 %postun OpenGL -p /sbin/ldconfig
229 %post MikMod -p /sbin/ldconfig
230 %postun MikMod -p /sbin/ldconfig
232 %post TTF -p /sbin/ldconfig
233 %postun TTF -p /sbin/ldconfig
235 %post Vorbis -p /sbin/ldconfig
236 %postun Vorbis -p /sbin/ldconfig
239 rm -rf $RPM_BUILD_ROOT
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_libdir}/libclanApp.so.*.*
244 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
245 %attr(755,root,root) %{_libdir}/libclanDisplay.so.*.*
246 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
247 %attr(755,root,root) %{_libdir}/libclan*JPEG.so.*.*
248 %attr(755,root,root) %{_libdir}/libclanNetwork.so.*.*
249 #%attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
250 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
251 %attr(755,root,root) %{_libdir}/libclanSound.so.*.*
254 #%defattr(644,root,root,755)
255 #%attr(755,root,root) %{_libdir}/libclanGL.so.*.*
256 #%attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
259 %defattr(644,root,root,755)
260 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
263 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_libdir}/libclanVorbis.so.*.*
267 %defattr(644,root,root,755)
268 %attr(755,root,root) %{_libdir}/libclanTTF.so.*.*
271 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_libdir}/*.so
275 %attr(755,root,root) %{_bindir}/*
276 %{_includedir}/ClanLib
279 %defattr(644,root,root,755)