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 Patch1: %{name}-Magick.patch
12 URL: http://clanlib.org
13 Requires: Hermes >= 1.3.1
14 BuildRequires: libpng-devel
15 BuildRequires: zlib-devel
16 BuildRequires: Hermes-devel >= 1.3.1
17 BuildRequires: libstdc++-devel
18 BuildRequires: XFree86-devel
19 BuildRequires: svgalib-devel
20 BuildRequires: Mesa-devel
21 BuildRequires: ImageMagick-devel >= 5.1.1
22 BuildRequires: libmikmod-devel
23 BuildRequires: libpng-devel
25 BuildRequires: libggi-devel
26 BuildRequires: libgii-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The ClanLib SDK is designed to provide an platform independent game SDK using
31 a lot cleaner (and object oriented) interface than the traditional way it is
32 done in DirectX, SDL and such. The goals is to avoid game developers
33 constantly reinventing the wheel by providing smarter ways to eg. load
37 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla gier.
38 Stosuje prosty (i zorientowany obiektowo) interfejs, przejrzystszy ni¿
42 Summary: ClanLib development package
43 Summary(pl): pakiet programistyczny dla ClanLib
44 Group: Development/Libraries
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 needed
53 to compile new ClanLib applications.
55 %description -l pl devel
56 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
57 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(pl): Programowanie/Biblioteki
64 Requires: %{name} = %{version}
67 This is the svgalib target for ClanLib.
69 %description -l pl svgalib
70 Obs³uga svgalib dla ClanLib-a.
73 Summary: OpenGL target for ClanLib
74 Summary(pl): obs³uga OpenGL dla ClanLib
75 Group: Development/Libraries
76 Group(pl): Programowanie/Biblioteki
77 Requires: %{name} = %{version}
80 This is the OpenGL target for ClanLib.
82 %description -l pl OpenGL
83 Obs³uga OpenGL dla ClanLib-a.
86 Summary: GGI target for ClanLib
87 Summary(pl): obs³uga GGI dla ClanLib
88 Group: Development/Libraries
89 Group(pl): Programowanie/Biblioteki
90 Requires: %{name} = %{version}
93 This is the GGI target for ClanLib.
95 %description -l pl GGI
97 Obs³uga OpenGL dla ClanLib-a.
99 Summary: X11 target for ClanLib
100 Summary(pl): obs³uga X11 dla ClanLib
101 Group: Development/Libraries
102 Group(pl): Programowanie/Biblioteki
103 Requires: %{name} = %{version}
106 This is the X11 target for ClanLib.
108 %description -l pl X11
109 Obs³uga X11 dla ClanLib-a.
112 Summary: ImageMagick module for ClanLib
113 Summary(pl): Modu³ ImageMagick dla ClanLib
114 Group: Development/Libraries
115 Group(pl): Programowanie/Biblioteki
116 Requires: %{name} = %{version}
119 This is the ImageMagic add-on package for ClanLib. It provides support to most
120 known graphics file-formats.
122 %description -l pl Magick
123 Pozwala na obs³ugê praktycznie dowolnych formatów plików graficznych przez
124 aplikacje ClanLib poprzez biblioteki ImageMagic-a.
127 Summary: MikMod module for ClanLib
128 Summary(pl): Modu³ Mikmod dla ClanLib
129 Group: Development/Libraries
130 Group(pl): Programowanie/Biblioteki
131 Requires: %{name} = %{version}
134 MikMod module for ClanLib
136 %description -l pl MikMod
137 Modu³ Mikmod dla ClanLib
140 Summary: ClanLib development package
141 Summary(pl): pakiet programistyczny dla ClanLib
142 Group: Development/Libraries
143 Group(pl): Programowanie/Biblioteki
144 Requires: %{name}-devel = %{version}
147 This is the development add-on package that includes the header files needed
148 to compile new ClanLib applications.
150 %description -l pl static
151 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
152 do kompilacji programów korzystaj±cych z CleanLib.
161 CFLAGS="$RPM_OPT_FLAGS"
162 CXXFLAGS="$RPM_OPT_FLAGS" # note: rtti is needed --- ClanLib uses exceptions!
164 export CFLAGS CXXFLAGS LDFLAGS
188 rm -rf $RPM_BUILD_ROOT
190 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
191 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
192 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
193 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
196 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
197 HTML_PREFIX="`pwd`/html"
199 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
200 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ClanLib/lib*.so*
202 gzip -9nf README CREDITS FAQ $RPM_BUILD_ROOT%{_mandir}/man?/* || :
204 %post -p /sbin/ldconfig
205 %postun -p /sbin/ldconfig
207 %post OpenGL -p /sbin/ldconfig
208 %postun OpenGL -p /sbin/ldconfig
210 %post MikMod -p /sbin/ldconfig
211 %postun MikMod -p /sbin/ldconfig
213 %post Magick -p /sbin/ldconfig
214 %postun Magick -p /sbin/ldconfig
217 rm -rf $RPM_BUILD_ROOT
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
222 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
223 %attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
224 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
225 %dir %{_libdir}/ClanLib
226 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-fbdev.so*
227 %attr(755,root,root) %{_libdir}/ClanLib/libclan-input-tty.so*
228 %attr(755,root,root) %{_libdir}/ClanLib/libclan-network.so*
229 %attr(755,root,root) %{_libdir}/ClanLib/libclan-sound.so*
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-x11.so*
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-ggi.so*
240 %defattr(644,root,root,755)
241 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
242 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-svgalib.so*
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libclanMagick.so.*.*
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
257 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/*.so
262 %attr(755,root,root) %{_bindir}/*
263 %{_includedir}/ClanLib
266 #%defattr(644,root,root,755)