Summary: ClanLib, the platform independent game SDK. Summary(pl): ClanLib, niezależny od platformy SDK do gier Name: ClanLib Version: 0.2.3 Release: 1 Copyright: LGPL Group: Libraries Group(pl): Biblioteki Source: http://dark.x.dtu.dk/clansoft/clanlib/download/%{name}-%{version}.tar.gz URL: http://clanlib.org Requires: Hermes >= 1.2.6 BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: Hermes-devel >= 1.2.6 BuildRequires: libstdc++-devel BuildRequires: XFree86-devel BuildRoot: /tmp/%{name}-%{version}-root %description The ClanLib SDK is designed to provide an platform independent game SDK using a lot cleaner (and object oriented) interface than the traditional way it is done in DirectX, SDL and such. The goals is to avoid game developers constantly reinventing the wheel by providing smarter ways to eg. load surfaces. %description -l pl ClanLib SDK jest projektowany jako niezależny od platformy SDK dla gier. Stosuje prosty (i zorienrowany obiektowo) interfejs, przejrzystszy niż DirectX, SDL i inne. %package devel Summary: ClanLib development package Summary(pl): pakiet programistyczny dla ClanLib Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel This is the development add-on package that includes the header files needed to compile new ClanLib applications. %description -l pl devel Programistyczne dodatki do ClanLib-a, zawierają pliki nagłówkowe potrzebne do kompilacji programów korzystających z ClanLib. %package static Summary: ClanLib development package Summary(pl): pakiet programistyczny dla ClanLib Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static This is the development add-on package that includes the header files needed to compile new ClanLib applications. %description -l pl static Programistyczne dodatki do ClanLib-a, zawierają pliki nagłówkowe potrzebne do kompilacji programów korzystających z CleanLib. %prep %setup -q %build ./autogen.sh LDFLAGS="-s"; export LDFLAGS %configure \ --enable-static \ --enable-shared make %install rm -rf $RPM_BUILD_ROOT make install \ LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \ BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \ INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}" strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so* gzip -9nf README TODO CREDITS %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so* %files devel %defattr(644,root,root,755) %doc *gz %attr(755,root,root) %{_bindir}/datafile_compiler %{_includedir}/ClanLib #%files static #%defattr(644,root,root,755) #%{_libdir}/lib*.a