1 Summary: ClanLib, the platform independent game SDK.
2 Summary(pl): ClanLib, niezale¿ny od platformy SDK do gier
9 Source: http://dark.x.dtu.dk/clansoft/clanlib/download/%{name}-%{version}.tar.gz
10 Patch0: %{name}-OPT.patch
11 URL: http://clanlib.org
12 Requires: Hermes >= 1.3.1
13 BuildRequires: libpng-devel
14 BuildRequires: zlib-devel
15 BuildRequires: Hermes-devel >= 1.3.1
16 BuildRequires: libstdc++-devel
17 BuildRequires: XFree86-devel
18 BuildRequires: svgalib-devel
19 BuildRequires: Mesa-devel
20 BuildRequires: ImageMagick-devel
21 BuildRequires: libmikmod-devel
22 BuildRequires: libpng-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The ClanLib SDK is designed to provide an platform independent game SDK using
28 a lot cleaner (and object oriented) interface than the traditional way it is
29 done in DirectX, SDL and such. The goals is to avoid game developers
30 constantly reinventing the wheel by providing smarter ways to eg. load
34 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla gier.
35 Stosuje prosty (i zorientowany obiektowo) interfejs, przejrzystszy ni¿
39 Summary: ClanLib development package
40 Summary(pl): pakiet programistyczny dla ClanLib
41 Group: Development/Libraries
42 Group(pl): Programowanie/Biblioteki
43 Requires: %{name} = %{version}
44 Requires: %{name}-OpenGL = %{version}
45 Requires: %{name}-MikMod = %{version}
46 Requires: %{name}-Magick = %{version}
49 This is the development add-on package that includes the header files needed
50 to compile new ClanLib applications.
52 %description -l pl devel
53 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
54 do kompilacji programów korzystaj±cych z ClanLib.
57 Summary: svgalib target for ClanLib
58 Summary(pl): obs³uga svgalib dla ClanLib
59 Group: Development/Libraries
60 Group(pl): Programowanie/Biblioteki
61 Requires: %{name} = %{version}
64 This is the svgalib target for ClanLib.
66 %description -l pl svgalib
67 Obs³uga svgalib dla ClanLib-a.
70 Summary: OpenGL target for ClanLib
71 Summary(pl): obs³uga OpenGL dla ClanLib
72 Group: Development/Libraries
73 Group(pl): Programowanie/Biblioteki
74 Requires: %{name} = %{version}
77 This is the OpenGL target for ClanLib.
79 %description -l pl OpenGL
80 Obs³uga OpenGL dla ClanLib-a.
83 Summary: GGI target for ClanLib
84 Summary(pl): obs³uga GGI dla ClanLib
85 Group: Development/Libraries
86 Group(pl): Programowanie/Biblioteki
87 Requires: %{name} = %{version}
90 This is the GGI target for ClanLib.
92 %description -l pl GGI
94 Obs³uga OpenGL dla ClanLib-a.
96 Summary: X11 target for ClanLib
97 Summary(pl): obs³uga X11 dla ClanLib
98 Group: Development/Libraries
99 Group(pl): Programowanie/Biblioteki
100 Requires: %{name} = %{version}
103 This is the X11 target for ClanLib.
105 %description -l pl X11
106 Obs³uga X11 dla ClanLib-a.
109 Summary: ImageMagick module for ClanLib
110 Summary(pl): Modu³ ImageMagick dla ClanLib
111 Group: Development/Libraries
112 Group(pl): Programowanie/Biblioteki
113 Requires: %{name} = %{version}
116 This is the ImageMagic add-on package for ClanLib. It provides support to most
117 known graphics file-formats.
119 %description -l pl Magick
120 Pozwala na obs³ugê praktycznie dowolnych formatów plików graficznych przez
121 aplikacje ClanLib poprzez biblioteki ImageMagic-a.
124 Summary: MikMod module for ClanLib
125 Summary(pl): Modu³ Mikmod dla ClanLib
126 Group: Development/Libraries
127 Group(pl): Programowanie/Biblioteki
128 Requires: %{name} = %{version}
131 MikMod module for ClanLib
133 %description -l pl MikMod
134 Modu³ Mikmod dla ClanLib
137 Summary: ClanLib development package
138 Summary(pl): pakiet programistyczny dla ClanLib
139 Group: Development/Libraries
140 Group(pl): Programowanie/Biblioteki
141 Requires: %{name}-devel = %{version}
144 This is the development add-on package that includes the header files needed
145 to compile new ClanLib applications.
147 %description -l pl static
148 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
149 do kompilacji programów korzystaj±cych z CleanLib.
157 CFLAGS="$RPM_OPT_FLAGS"
158 CXXFLAGS="$RPM_OPT_FLAGS" # note: rtti is needed --- ClanLib uses exceptions!
160 export CFLAGS CXXFLAGS LDFLAGS
184 rm -rf $RPM_BUILD_ROOT
186 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
187 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
188 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
189 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
192 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
193 HTML_PREFIX="`pwd`/html"
195 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
196 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ClanLib/lib*.so*
198 gzip -9nf README CREDITS FAQ $RPM_BUILD_ROOT%{_mandir}/man?/* || :
200 %post -p /sbin/ldconfig
201 %postun -p /sbin/ldconfig
203 %post OpenGL -p /sbin/ldconfig
204 %postun OpenGL -p /sbin/ldconfig
206 %post MikMod -p /sbin/ldconfig
207 %postun MikMod -p /sbin/ldconfig
209 %post Magick -p /sbin/ldconfig
210 %postun Magick -p /sbin/ldconfig
213 rm -rf $RPM_BUILD_ROOT
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
218 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
219 %attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
220 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
221 %dir %{_libdir}/ClanLib
222 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-fbdev.so*
223 %attr(755,root,root) %{_libdir}/ClanLib/libclan-input-tty.so*
224 %attr(755,root,root) %{_libdir}/ClanLib/libclan-network.so*
225 %attr(755,root,root) %{_libdir}/ClanLib/libclan-sound.so*
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-x11.so*
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-ggi.so*
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
238 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-svgalib.so*
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/libclanMagick.so.*.*
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
253 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_libdir}/*.so
258 %attr(755,root,root) %{_bindir}/*
259 %{_includedir}/ClanLib
262 #%defattr(644,root,root,755)