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
16 BuildRequires: zlib-devel
17 BuildRequires: Hermes-devel >= 1.3.1
18 BuildRequires: libstdc++-devel
19 BuildRequires: XFree86-devel
20 BuildRequires: svgalib-devel
21 BuildRequires: Mesa-devel
22 BuildRequires: ImageMagick-devel >= 5.1.1
23 BuildRequires: libmikmod-devel
24 BuildRequires: libpng-devel
26 BuildRequires: libggi-devel
27 BuildRequires: libgii-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The ClanLib SDK is designed to provide an platform independent game
32 SDK using a lot cleaner (and object oriented) interface than the
33 traditional way it is done in DirectX, SDL and such. The goals is to
34 avoid game developers constantly reinventing the wheel by providing
35 smarter ways to eg. load surfaces.
38 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla
39 gier. Stosuje prosty (i zorientowany obiektowo) interfejs,
40 przejrzystszy ni¿ DirectX, SDL i inne.
43 Summary: ClanLib development package
44 Summary(pl): pakiet programistyczny dla ClanLib
45 Group: Development/Libraries
46 Group(fr): Development/Librairies
47 Group(pl): Programowanie/Biblioteki
48 Requires: %{name} = %{version}
49 Requires: %{name}-OpenGL = %{version}
50 Requires: %{name}-MikMod = %{version}
51 Requires: %{name}-Magick = %{version}
54 This is the development add-on package that includes the header files
55 needed to compile new ClanLib applications.
57 %description -l pl devel
58 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
59 potrzebne do kompilacji programów korzystaj±cych z ClanLib.
62 Summary: svgalib target for ClanLib
63 Summary(pl): obs³uga svgalib dla ClanLib
64 Group: Development/Libraries
65 Group(fr): Development/Librairies
66 Group(pl): Programowanie/Biblioteki
67 Requires: %{name} = %{version}
70 This is the svgalib target for ClanLib.
72 %description -l pl svgalib
73 Obs³uga svgalib dla ClanLib-a.
76 Summary: OpenGL target for ClanLib
77 Summary(pl): obs³uga OpenGL dla ClanLib
78 Group: Development/Libraries
79 Group(fr): Development/Librairies
80 Group(pl): Programowanie/Biblioteki
81 Requires: %{name} = %{version}
84 This is the OpenGL target for ClanLib.
86 %description -l pl OpenGL
87 Obs³uga OpenGL dla ClanLib-a.
90 Summary: GGI target for ClanLib
91 Summary(pl): obs³uga GGI dla ClanLib
92 Group: Development/Libraries
93 Group(fr): Development/Librairies
94 Group(pl): Programowanie/Biblioteki
95 Requires: %{name} = %{version}
98 This is the GGI target for ClanLib.
100 %description -l pl GGI
102 Obs³uga OpenGL dla ClanLib-a.
104 Summary: X11 target for ClanLib
105 Summary(pl): obs³uga X11 dla ClanLib
106 Group: Development/Libraries
107 Group(fr): Development/Librairies
108 Group(pl): Programowanie/Biblioteki
109 Requires: %{name} = %{version}
112 This is the X11 target for ClanLib.
114 %description -l pl X11
115 Obs³uga X11 dla ClanLib-a.
118 Summary: ImageMagick module for ClanLib
119 Summary(pl): Modu³ ImageMagick dla ClanLib
120 Group: Development/Libraries
121 Group(fr): Development/Librairies
122 Group(pl): Programowanie/Biblioteki
123 Requires: %{name} = %{version}
126 This is the ImageMagic add-on package for ClanLib. It provides support
127 to most known graphics file-formats.
129 %description -l pl Magick
130 Pozwala na obs³ugê praktycznie dowolnych formatów plików graficznych
131 przez aplikacje ClanLib poprzez biblioteki ImageMagic-a.
134 Summary: MikMod module for ClanLib
135 Summary(pl): Modu³ Mikmod dla ClanLib
136 Group: Development/Libraries
137 Group(fr): Development/Librairies
138 Group(pl): Programowanie/Biblioteki
139 Requires: %{name} = %{version}
142 MikMod module for ClanLib
144 %description -l pl MikMod
145 Modu³ Mikmod dla ClanLib
148 Summary: ClanLib development package
149 Summary(pl): pakiet programistyczny dla ClanLib
150 Group: Development/Libraries
151 Group(fr): Development/Librairies
152 Group(pl): Programowanie/Biblioteki
153 Requires: %{name}-devel = %{version}
156 This is the development add-on package that includes the header files
157 needed to compile new ClanLib applications.
159 %description -l pl static
160 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe
161 potrzebne do kompilacji programów korzystaj±cych z CleanLib.
170 CFLAGS="$RPM_OPT_FLAGS"
171 CXXFLAGS="$RPM_OPT_FLAGS" # note: rtti is needed --- ClanLib uses exceptions!
173 export CFLAGS CXXFLAGS LDFLAGS
197 rm -rf $RPM_BUILD_ROOT
199 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
200 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
201 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
202 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
204 %{__make} docs_install \
205 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
206 HTML_PREFIX="`pwd`/html"
208 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
209 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ClanLib/lib*.so*
211 gzip -9nf README CREDITS FAQ $RPM_BUILD_ROOT%{_mandir}/man?/*
213 %post -p /sbin/ldconfig
214 %postun -p /sbin/ldconfig
216 %post OpenGL -p /sbin/ldconfig
217 %postun OpenGL -p /sbin/ldconfig
219 %post MikMod -p /sbin/ldconfig
220 %postun MikMod -p /sbin/ldconfig
222 %post Magick -p /sbin/ldconfig
223 %postun Magick -p /sbin/ldconfig
226 rm -rf $RPM_BUILD_ROOT
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
231 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
232 %attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
233 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
234 %dir %{_libdir}/ClanLib
235 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-fbdev.so*
236 %attr(755,root,root) %{_libdir}/ClanLib/libclan-input-tty.so*
237 %attr(755,root,root) %{_libdir}/ClanLib/libclan-network.so*
238 %attr(755,root,root) %{_libdir}/ClanLib/libclan-sound.so*
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-x11.so*
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-ggi.so*
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
251 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
254 %defattr(644,root,root,755)
255 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-svgalib.so*
258 %defattr(644,root,root,755)
259 %attr(755,root,root) %{_libdir}/libclanMagick.so.*.*
262 %defattr(644,root,root,755)
263 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
266 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_libdir}/*.so
271 %attr(755,root,root) %{_bindir}/*
272 %{_includedir}/ClanLib
275 #%defattr(644,root,root,755)