Summary: Multiplayer FPS game based on Cube2 Name: redeclipse Group: Amusements/Games Version: 1.2 Release: 1%{?dist} # Game engine is zlib, enet lib is MIT, autotools is GPLv2+ and custom # Game data is mixed (per-directory readme.txt), by default CC-BY-SA # See the included files 'copyright' and 'copyright-data' from Debian # for exhaustive copyright information License: zlib and MIT and GPLv2+ and CC-BY-SA and CC-BY and Public Domain and OFL URL: http://www.redeclipse.net/ #Source0: http://downloads.sourceforge.net/%{name}/%{name}_%{version}_linux_bsd.tar.bz2 # Upstream tarball contains some non-free and superfluous content, # it is removed in the Fedora sources using: # ./generate-tarball.sh #.# Source0: %{name}-%{version}-fs.tar.xz Source1: generate-tarball.sh Source2: http://snapshot.debian.org/archive/debian/20120217T221010Z/pool/non-free/r/redeclipse-data/redeclipse-data_1.2-1.debian.tar.gz Source3: http://snapshot.debian.org/archive/debian/20120226T032944Z/pool/contrib/r/redeclipse/redeclipse_1.2-2.debian.tar.gz BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, mesa-libGL-devel, enet-devel, ImageMagick, zlib-devel, libpng-devel, freetype-devel Requires: redeclipse-data %package data Summary: Data for the Red Eclipse FPS game License: CC-BY-SA and CC-BY and Public Domain and OFL %package -n cube2font Summary: Utility program for creating font bitmaps for Cube Engine games License: zlib %description A single-player and multi-player first-person ego-shooter, built on Cube Engine 2, which lends itself toward a balanced gameplay, completely at the control of map makers, while maintaining a general theme of agility in a variety of environments. Features: * Balanced gameplay, with a general theme of agility in a variety of environments * Parkour, impulse boosts, dashing, sliding, and other tricks * Favourite gamemodes with tons of mutators and variables * Available for Windows, Linux/BSD and Mac OSX * Builtin editor lets you create your own maps cooperatively online %description data This package contains the data content, e.g. maps, models, textures, sounds, etc. for the Red Eclipse FPS game. %description -n cube2font cube2font is a utility program designed to create font bitmaps for Cube Engine games, it works by taking a Truetype font and building it into a set of coordinates in an image. cube2font is an improved version of the previous TTF2Font, supporting a much larger range of characters. %prep %setup -q -n redeclipse # Let's steal the wheel gzip -dc %{SOURCE2} | tar -xvvf - debian/copyright mv debian/copyright debian/copyright-data %setup -q -D -T -n redeclipse -a 3 cd debian find . -not -name "copyright*" -not -name "*patch*" -delete cd .. rm -f data/fonts/*.ttf patch -p1 < debian/patches/backported-fix-icon-sizes.patch # Needs updated enet ~ 1.3, not in Fedora yet, see Bug #799778 #patch -p1 < debian/patches/build-with-system-enet.patch patch -p1 < debian/patches/windowed-by-default.patch patch -p1 < debian/patches/build-with-debug-symbols.patch %build make %{?_smp_mflags} -C src/ client server cube2font %install rm -rf %{buildroot} make DESTDIR=%{buildroot} prefix=%{_prefix} libexecdir=%{buildroot}%{_libexecdir} -C src/ system-install system-install-cube2font %files %doc readme.txt changelog.txt license.txt trademark.txt debian/copyright %{_bindir}/redeclipse* %{_libexecdir}/%{name}/redeclipse* %{_datadir}/icons/* %{_datadir}/applications/* %{_docdir}/%{name}/ %{_mandir}/man6/* %files data %doc debian/copyright %{_datadir}/%{name}/ %{_libexecdir}/%{name}/data %files -n cube2font %{_bindir}/cube2font %{_mandir}/man1/* %changelog * Wed Feb 29 2012 Martin Erik Werner - 1.2-1 - Initial Fedora package