1 Summary: ClanLib, the platform independent game SDK.
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
10 Source0: http://dark.x.dtu.dk/~mbn/clanlib/download/RPMS/%{name}-%{version}.tar.gz
11 Patch0: %{name}-OPT.patch
12 Patch1: %{name}-Magick.patch
13 URL: http://clanlib.org
14 Requires: Hermes >= 1.3.1
15 BuildRequires: libpng-devel >= 1.0.8
16 BuildRequires: Hermes-devel >= 1.3.1
17 BuildRequires: libstdc++-devel
18 BuildRequires: XFree86-devel
19 BuildRequires: svgalib-devel
20 BuildRequires: OpenGL-devel
21 BuildRequires: ImageMagick-devel >= 5.2.9
22 BuildRequires: libmikmod-devel
24 BuildRequires: libggi-devel
25 BuildRequires: libgii-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The ClanLib SDK is designed to provide an platform independent game
30 SDK using a lot cleaner (and object oriented) interface than the
31 traditional way it is done in DirectX, SDL and such. The goals is to
32 avoid game developers constantly reinventing the wheel by providing
33 smarter ways to eg. load surfaces.
36 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
37 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
38 przejrzystszy ni¿ DirectX, SDL i inne.
41 Summary: ClanLib development package
42 Summary(pl): pakiet programistyczny dla ClanLib
43 Group: Development/Libraries
44 Group(fr): Development/Librairies
45 Group(pl): Programowanie/Biblioteki
46 Requires: %{name} = %{version}
47 Requires: %{name}-OpenGL = %{version}
48 Requires: %{name}-MikMod = %{version}
49 Requires: %{name}-Magick = %{version}
52 This is the development add-on package that includes the header files
53 needed to compile new ClanLib applications.
55 %description -l pl devel
56 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
57 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
60 Summary: svgalib target for ClanLib
61 Summary(pl): obs³uga svgalib dla ClanLib
62 Group: Development/Libraries
63 Group(fr): Development/Librairies
64 Group(pl): Programowanie/Biblioteki
65 Requires: %{name} = %{version}
68 This is the svgalib target for ClanLib.
70 %description -l pl svgalib
71 Obs³uga svgalib dla ClanLib-a.
74 Summary: OpenGL target for ClanLib
75 Summary(pl): obs³uga OpenGL dla ClanLib
76 Group: Development/Libraries
77 Group(fr): Development/Librairies
78 Group(pl): Programowanie/Biblioteki
79 Requires: %{name} = %{version}
82 This is the OpenGL target for ClanLib.
84 %description -l pl OpenGL
85 Obs³uga OpenGL dla ClanLib-a.
88 Summary: GGI target for ClanLib
89 Summary(pl): obs³uga GGI dla ClanLib
90 Group: Development/Libraries
91 Group(fr): Development/Librairies
92 Group(pl): Programowanie/Biblioteki
93 Requires: %{name} = %{version}
96 This is the GGI target for ClanLib.
98 %description -l pl GGI
99 Obs³uga OpenGL dla ClanLib-a.
102 Summary: X11 target for ClanLib
103 Summary(pl): obs³uga X11 dla ClanLib
104 Group: Development/Libraries
105 Group(fr): Development/Librairies
106 Group(pl): Programowanie/Biblioteki
107 Requires: %{name} = %{version}
110 This is the X11 target for ClanLib.
112 %description -l pl X11
113 Obs³uga X11 dla ClanLib-a.
116 Summary: ImageMagick module for ClanLib
117 Summary(pl): Modu³ ImageMagick dla ClanLib
118 Group: Development/Libraries
119 Group(fr): Development/Librairies
120 Group(pl): Programowanie/Biblioteki
121 Requires: %{name} = %{version}
124 This is the ImageMagic add-on package for ClanLib. It provides support
125 to most known graphics file-formats.
127 %description -l pl Magick
128 Pozwala na obs³ugê praktycznie dowolnych formatów plików graficznych
129 przez aplikacje ClanLib poprzez biblioteki ImageMagic-a.
132 Summary: MikMod module for ClanLib
133 Summary(pl): Modu³ Mikmod dla ClanLib
134 Group: Development/Libraries
135 Group(fr): Development/Librairies
136 Group(pl): Programowanie/Biblioteki
137 Requires: %{name} = %{version}
140 MikMod module for ClanLib.
142 %description -l pl MikMod
143 Modu³ Mikmod dla ClanLib-a.
146 Summary: ClanLib development package
147 Summary(pl): pakiet programistyczny dla ClanLib
148 Group: Development/Libraries
149 Group(fr): Development/Librairies
150 Group(pl): Programowanie/Biblioteki
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 -l pl static
158 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
159 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
168 CFLAGS="$RPM_OPT_FLAGS"
169 CXXFLAGS="$RPM_OPT_FLAGS" # note: rtti is needed --- ClanLib uses exceptions!
171 export CFLAGS CXXFLAGS LDFLAGS
195 rm -rf $RPM_BUILD_ROOT
197 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
198 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
199 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
200 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
202 %{__make} docs_install \
203 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
204 HTML_PREFIX="`pwd`/html"
206 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
207 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ClanLib/lib*.so*
209 gzip -9nf README CREDITS FAQ $RPM_BUILD_ROOT%{_mandir}/man?/*
211 %post -p /sbin/ldconfig
212 %postun -p /sbin/ldconfig
214 %post OpenGL -p /sbin/ldconfig
215 %postun OpenGL -p /sbin/ldconfig
217 %post MikMod -p /sbin/ldconfig
218 %postun MikMod -p /sbin/ldconfig
220 %post Magick -p /sbin/ldconfig
221 %postun Magick -p /sbin/ldconfig
224 rm -rf $RPM_BUILD_ROOT
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
229 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
230 %attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
231 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
232 %dir %{_libdir}/ClanLib
233 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-fbdev.so*
234 %attr(755,root,root) %{_libdir}/ClanLib/libclan-input-tty.so*
235 %attr(755,root,root) %{_libdir}/ClanLib/libclan-network.so*
236 %attr(755,root,root) %{_libdir}/ClanLib/libclan-sound.so*
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-x11.so*
243 %defattr(644,root,root,755)
244 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-ggi.so*
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
249 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
252 %defattr(644,root,root,755)
253 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-svgalib.so*
256 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_libdir}/libclanMagick.so.*.*
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
264 %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)