Fri, 27 May 2011 21:13:44 +0200
Import new package spec for introduction into repository.
michael@16 | 1 | Name: brutalchess |
michael@16 | 2 | Version: 0.5.2 |
michael@16 | 3 | Release: MSvB_1 |
michael@16 | 4 | License: GPLv2 |
michael@16 | 5 | Summary: OpenGL chess client |
michael@16 | 6 | Url: http://brutalchess.sf.net/ |
michael@16 | 7 | Group: Games |
michael@16 | 8 | Source: http://switch.dl.sourceforge.net/project/brutalchess/brutalchess-alpha/brutalchess-alpha-%{version}/brutalchess-alpha-%{version}-src.tar.gz |
michael@16 | 9 | Patch: brutalchess.patch |
michael@16 | 10 | BuildRequires: libSDL-devel, libSDL_image-devel |
michael@16 | 11 | PreReq: libSDL-1_2-0, libSDL_image-1_2-0 |
michael@16 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
michael@16 | 13 | |
michael@16 | 14 | %description |
michael@16 | 15 | Brutal Chess features full 3D graphics, an advanced particle engine, and |
michael@16 | 16 | several different levels of intelligent AI, inspired by the once popular |
michael@16 | 17 | Battle Chess released by Interplay circa 1988. |
michael@16 | 18 | |
michael@16 | 19 | %prep |
michael@16 | 20 | %setup -q |
michael@16 | 21 | %patch |
michael@16 | 22 | %{__sed} -i.orig -e 's; *GLvoid *;;g' src/md3view.cpp src/objview.cpp |
michael@16 | 23 | |
michael@16 | 24 | %build |
michael@16 | 25 | %configure |
michael@16 | 26 | make %{?_smp_mflags} |
michael@16 | 27 | |
michael@16 | 28 | %install |
michael@16 | 29 | %make_install |
michael@16 | 30 | rm -f %{buildroot}/usr/lib/md3view |
michael@16 | 31 | rm -f %{buildroot}/usr/lib/objview |
michael@16 | 32 | rm -rf %{buildroot}/usr/share/brutalchess/doc |
michael@16 | 33 | |
michael@16 | 34 | %clean |
michael@16 | 35 | %{?buildroot:%__rm -rf "%{buildroot}"} |
michael@16 | 36 | |
michael@16 | 37 | %files |
michael@16 | 38 | %defattr(-,root,root) |
michael@16 | 39 | %doc ChangeLog README COPYING |
michael@16 | 40 | /usr/bin/brutalchess |
michael@16 | 41 | /usr/share/brutalchess/art/* |
michael@16 | 42 | /usr/share/brutalchess/fonts/* |
michael@16 | 43 | /usr/share/brutalchess/models/* |
michael@16 | 44 | |
michael@16 | 45 | %changelog |
michael@16 | 46 | * Thu May 26 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 0.5.2 |
michael@16 | 47 | - First cut at SDL based chess client with intermediate strategy skills. |
michael@16 | 48 |