Summary: Multiplayer FPS game based on Cube2 Name: redeclipse Group: Amusements/Games Version: 1.2 Release: 4%{?dist} # Game engine is zlib # Icon and trademark info is CC-BY-SA # Logo and name covered by "trademark guidelines" see trademark.txt License: zlib and CC-BY-SA 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: # sh redeclipse-generate-tarball.sh Source0: %{name}-1.2-fs.tar.xz # Exhaustive license breakdown for game data Source1: all-licenses # Start game windowed on first launch # due to the sorry state of sdl + fullscreen on GNU/Linux # Not wanted upstream Patch0: %{name}-%{version}-windowed-by-default.patch # Fix x48 and x32 icons, add x16 icon # Fix from upstream SVN Patch1: %{name}-%{version}-backported-fix-icon-sizes.patch # Build using external Enet library from Fedora # Not wanted upstream Patch2: %{name}-%{version}-build-with-system-enet.patch BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_image-devel BuildRequires: mesa-libGL-devel BuildRequires: enet-devel BuildRequires: ImageMagick BuildRequires: zlib-devel BuildRequires: libpng-devel BuildRequires: freetype-devel Requires: redeclipse-data %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 %package data Summary: Data for the Red Eclipse FPS game # Game scripts are zlib # Trademark info is CC-BY-SA # Game data is mixed (per-directory readme.txt), by default CC-BY-SA # See the included file 'all-licenses' for license breakdown # Logo and name covered by "trademark guidelines" see trademark.txt License: zlib and CC-BY-SA and CC-BY and Public Domain and OFL %description data This package contains the data content, e.g. maps, models, textures, sounds, etc. for the Red Eclipse FPS game. %package server Summary: Server for the Red Eclipse FPS game # Game engine is zlib # Trademark info is CC-BY-SA # Name covered by "trademark guidelines" see trademark.txt License: zlib and CC-BY-SA %description server This package contains the dedicated server for the Red Eclipse FPS game, it also includes some example scripts for configuring the server. %package -n cube2font Summary: Utility program for creating font bitmaps for Cube Engine games License: zlib %description -n cube2font cube2font is a utiliy 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 cp %{SOURCE1} . rm -r src/enet/ %patch0 -p1 %patch1 -p1 %patch2 -p1 %build make %{?_smp_mflags} CXXFLAGS="%{optflags}" -C src/ client server \ cube2font %install make DESTDIR=%{buildroot} redeclipse=%{name} prefix=%{_prefix} \ libexecdir=%{buildroot}%{_libexecdir} -C src/ system-install \ system-install-cube2font %files %doc readme.txt changelog.txt license.txt trademark.txt %{_bindir}/%{name} %{_libexecdir}/%{name}/%{name} %{_datadir}/icons/* %{_datadir}/applications/* %{_mandir}/man6/%{name}.6.* %files data %doc license.txt trademark.txt %doc all-licenses %{_datadir}/%{name}/ %{_libexecdir}/%{name}/data %files server %doc license.txt trademark.txt %{_bindir}/%{name}-server %{_libexecdir}/%{name}/%{name}-server %{_docdir}/%{name}/ %{_mandir}/man6/%{name}-server.6.* %files -n cube2font %{_bindir}/cube2font %{_mandir}/man1/* %changelog * Mon Mar 12 2012 Martin Erik Werner - 1.2-4 - Move back to repacking source rpm * Sun Mar 11 2012 Martin Erik Werner - 1.2-3 - Enable building with Enet * Fri Mar 09 2012 Martin Erik Werner - 1.2-2 - Start doing minor releases + changelog for review - Wrap spec file at 72 chars - Group %%package and %%description sections - Drop rm -rf %%{buildroot} from %%install section - Use wildcard to support different manpage compression - One BuildRequires: per line - Some indentation fixes - Drop "in the -data package" since licesene.txt is included in -server * Wed Feb 29 2012 Martin Erik Werner - 1.2-1 - Initial Fedora package - Add patch from upstream SVN to fix icon sizes - Add patch to build with Fedora's Enet - Add patch to start in windowed mode by default