diff -r 5ae423a55bed -r 37c0f50c8c7d brutalchess/brutalchess.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/brutalchess/brutalchess.spec Fri May 27 21:13:44 2011 +0200 @@ -0,0 +1,48 @@ +Name: brutalchess +Version: 0.5.2 +Release: MSvB_1 +License: GPLv2 +Summary: OpenGL chess client +Url: http://brutalchess.sf.net/ +Group: Games +Source: http://switch.dl.sourceforge.net/project/brutalchess/brutalchess-alpha/brutalchess-alpha-%{version}/brutalchess-alpha-%{version}-src.tar.gz +Patch: brutalchess.patch +BuildRequires: libSDL-devel, libSDL_image-devel +PreReq: libSDL-1_2-0, libSDL_image-1_2-0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Brutal Chess features full 3D graphics, an advanced particle engine, and +several different levels of intelligent AI, inspired by the once popular +Battle Chess released by Interplay circa 1988. + +%prep +%setup -q +%patch +%{__sed} -i.orig -e 's; *GLvoid *;;g' src/md3view.cpp src/objview.cpp + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +rm -f %{buildroot}/usr/lib/md3view +rm -f %{buildroot}/usr/lib/objview +rm -rf %{buildroot}/usr/share/brutalchess/doc + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc ChangeLog README COPYING +/usr/bin/brutalchess +/usr/share/brutalchess/art/* +/usr/share/brutalchess/fonts/* +/usr/share/brutalchess/models/* + +%changelog +* Thu May 26 2011 Michael Schloh von Bennewitz - 0.5.2 +- First cut at SDL based chess client with intermediate strategy skills. +