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 URL: http://clanlib.org
11 Requires: Hermes >= 1.3.1
12 BuildRequires: libpng-devel
13 BuildRequires: zlib-devel
14 BuildRequires: Hermes-devel >= 1.3.1
15 BuildRequires: libstdc++-devel
16 BuildRequires: XFree86-devel
17 BuildRequires: svgalib-devel
18 BuildRequires: Mesa-devel
19 BuildRequires: ImageMagick-devel
20 BuildRequires: libmikmod-devel
21 BuildRequires: libpng-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The ClanLib SDK is designed to provide an platform independent game SDK using
27 a lot cleaner (and object oriented) interface than the traditional way it is
28 done in DirectX, SDL and such. The goals is to avoid game developers
29 constantly reinventing the wheel by providing smarter ways to eg. load
33 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla gier.
34 Stosuje prosty (i zorientowany obiektowo) interfejs, przejrzystszy ni¿
38 Summary: ClanLib development package
39 Summary(pl): pakiet programistyczny dla ClanLib
40 Group: Development/Libraries
41 Group(pl): Programowanie/Biblioteki
42 Requires: %{name} = %{version}
43 Requires: %{name}-OpenGL = %{version}
44 Requires: %{name}-MikMod = %{version}
45 Requires: %{name}-Magick = %{version}
48 This is the development add-on package that includes the header files needed
49 to compile new ClanLib applications.
51 %description -l pl devel
52 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
53 do kompilacji programów korzystaj±cych z ClanLib.
56 Summary: svgalib target for ClanLib
57 Summary(pl): obs³uga svgalib dla ClanLib
58 Group: Development/Libraries
59 Group(pl): Programowanie/Biblioteki
60 Requires: %{name} = %{version}
63 This is the svgalib target for ClanLib.
65 %description -l pl svgalib
66 Obs³uga svgalib dla ClanLib-a.
69 Summary: OpenGL target for ClanLib
70 Summary(pl): obs³uga OpenGL dla ClanLib
71 Group: Development/Libraries
72 Group(pl): Programowanie/Biblioteki
73 Requires: %{name} = %{version}
76 This is the OpenGL target for ClanLib.
78 %description -l pl OpenGL
79 Obs³uga OpenGL dla ClanLib-a.
82 Summary: X11 target for ClanLib
83 Summary(pl): obs³uga X11 dla ClanLib
84 Group: Development/Libraries
85 Group(pl): Programowanie/Biblioteki
86 Requires: %{name} = %{version}
89 This is the X11 target for ClanLib.
91 %description -l pl X11
92 Obs³uga X11 dla ClanLib-a.
95 Summary: ImageMagick module for ClanLib
96 Summary(pl): Modu³ ImageMagick dla ClanLib
97 Group: Development/Libraries
98 Group(pl): Programowanie/Biblioteki
99 Requires: %{name} = %{version}
102 This is the ImageMagic add-on package for ClanLib. It provides support to most
103 known graphics file-formats.
105 %description -l pl Magick
106 Pozwala na obs³ugê praktycznie dowolnych formatów plików graficznych przez
107 aplikacje ClanLib poprzez biblioteki ImageMagic-a.
110 Summary: MikMod module for ClanLib
111 Summary(pl): Modu³ Mikmod dla ClanLib
112 Group: Development/Libraries
113 Group(pl): Programowanie/Biblioteki
114 Requires: %{name} = %{version}
117 MikMod module for ClanLib
119 %description -l pl MikMod
120 Modu³ Mikmod dla ClanLib
123 Summary: ClanLib development package
124 Summary(pl): pakiet programistyczny dla ClanLib
125 Group: Development/Libraries
126 Group(pl): Programowanie/Biblioteki
127 Requires: %{name}-devel = %{version}
130 This is the development add-on package that includes the header files needed
131 to compile new ClanLib applications.
133 %description -l pl static
134 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
135 do kompilacji programów korzystaj±cych z CleanLib.
142 LDFLAGS="-s"; export LDFLAGS
166 rm -rf $RPM_BUILD_ROOT
168 LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
169 TARGET_PREFIX="$RPM_BUILD_ROOT%{_libdir}/ClanLib" \
170 BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
171 INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
174 MAN_PREFIX="$RPM_BUILD_ROOT%{_mandir}" \
175 HTML_PREFIX="`pwd`/html"
177 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
178 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ClanLib/lib*.so*
180 gzip -9nf README CREDITS FAQ $RPM_BUILD_ROOT%{_mandir}/man?/* || :
182 %post -p /sbin/ldconfig
183 %postun -p /sbin/ldconfig
185 %post OpenGL -p /sbin/ldconfig
186 %postun OpenGL -p /sbin/ldconfig
188 %post MikMod -p /sbin/ldconfig
189 %postun MikMod -p /sbin/ldconfig
191 %post Magick -p /sbin/ldconfig
192 %postun Magick -p /sbin/ldconfig
195 rm -rf $RPM_BUILD_ROOT
198 %defattr(644,root,root,755)
199 %attr(755,root,root) %{_libdir}/libclanCore.so.*.*
200 %attr(755,root,root) %{_libdir}/libclanGUI.so.*.*
201 %attr(755,root,root) %{_libdir}/libclanMPEG.so.*.*
202 %attr(755,root,root) %{_libdir}/libclanPNG.so.*.*
203 %dir %{_libdir}/ClanLib
204 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-fbdev.so*
205 %attr(755,root,root) %{_libdir}/ClanLib/libclan-input-tty.so*
206 %attr(755,root,root) %{_libdir}/ClanLib/libclan-network.so*
207 %attr(755,root,root) %{_libdir}/ClanLib/libclan-sound.so*
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-x11.so*
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_libdir}/libclanGL.so.*.*
216 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-glx.so*
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_libdir}/ClanLib/libclan-display-svgalib.so*
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_libdir}/libclanMagick.so.*.*
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_libdir}/libclanMikMod.so.*.*
231 %defattr(644,root,root,755)
235 %attr(755,root,root) %{_libdir}/*.so
236 %attr(755,root,root) %{_bindir}/*
237 %{_includedir}/ClanLib
240 #%defattr(644,root,root,755)