Name: tremulous Version: 1.1.0 Release: 3mamba Summary: First Person Shooter game Group: Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://tremulous.net/ Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.zip Patch0: %{name}-%{version}.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libSDL-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXi-devel ## AUTOBUILDREQ-END BuildRequires: libgtk1 BuildRequires: libglib1 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Tremulous is a free, open source game that blends a team based FPS with elements of an RTS. Players can choose from 2 unique races, aliens and humans. Players on both teams are able to build working structures in-game like an RTS. These structures provide many functions, the most important being spawning. The designated builders must ensure there are spawn structures or other players will not be able to rejoin the game after death. Other structures provide automated base defense (to some degree), healing functions and much more... Player advancement is different depending on which team you are on. As a human, players are rewarded with credits for each alien kill. These credits may be used to purchase new weapons and upgrades from the Armoury. The alien team advances quite differently. Upon killing a human foe, the alien is able to evolve into a new class. The more kills gained the more powerful the classes available. The overall objective behind Tremulous is to eliminate the opposing team. This is achieved by not only killing the opposing players but also removing their ability to respawn by destroying their spawn structures Feature List: * Flexible particle system - 99% of the in-game visual effects are configured using particle scripts. * 16 buildable structures with in-game functions. * Play as several alien classes with unique abilities. * Customize your setup as a human and buy new weapons, armour and items. * Scale the walls and ceilings as an alien waiting for an unsuspecting human. * Realistic physics and motion - no bunny hopping or quick back peddling. * Flexible map system - animated mapobjects, triggering, light flares, etc. * Large weapons system - don't like the weapon you have? Sell it and buy a different one, dozens of options. %prep %setup -q -c mv tremulous/* . tar xvf tremulous-1.1.0-src.tar.gz rm -rf tremulous.exe cd tremulous-%{version}-src %patch0 -p2 %build # the CROSS_COMPILING=1 is a hack to not build q3cc and qvm files # since we've stripped out q3cc as this is not Free Software. %make -C tremulous-%{version}-src %{?_smp_mflags} \ OPTIMIZE="%{optflags} -fno-strict-aliasing -ffast-math" \ DEFAULT_BASEDIR=%{buildroo}%{_datadir}/%{name}/base USE_OPENAL_DLOPEN=1 USE_CODEC_VORBIS=1 \ USE_LOCAL_HEADERS=0 BUILD_GAME_SO=0 COPYDIR=%{buildroot}%{_datadir}/%{name} USE_SYSTEM_JPEG=1 \ BUILD_DIR=%{buildroot} COPYDIR=%{builddir}%{_datadir}/games/%{name} \ BUILD_GAME_SO=0 GENERATE_DEPENDENCIES=0 USE_SDL=1 CROSS_COMPILING=1 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/pixmaps mkdir -p %{buildroot}%{_datadir}/games mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/games/%{name} mkdir -p %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name}/base mkdir -p %{buildroot}%{_bindir}/%{name} install -m 0755 tremded.* %{buildroot}%{_datadir}/%{name} install -m 0755 tremulous.* %{buildroot}%{_datadir}/%{name} convert %{_builddir}/%{name}/tremulous.xpm %{_builddir}/%{name}/%{name}.png install -m 644 %{_builddir}/%{name}/%{name}.png %{buildroot}%{_datadir}/pixmaps cp -fR %{_builddir}/%{name}/base/ %{buildroot}%{_datadir}/tremulous # Create the system menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Tremulous Comment=First Person Shooter Comment[it]=Sparatutto in prima persona Exec=/usr/share/tremulous/tremulous.x86 Icon=/usr/share/pixmaps/tremulous.png Terminal=0 Type=Application Categories=Application;Game EOF %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_datadir}/tremulous %dir %{_datadir}/tremulous/base %{_datadir}/tremulous/base/*.pk3 %{_datadir}/tremulous/base/*.cfg %{_datadir}/tremulous/tremulous.ico %{_datadir}/tremulous/tremulous.x86 %{_datadir}/tremulous/tremded.x86 %{_datadir}/tremulous/tremulous.xpm %{_datadir}/applications/tremulous.desktop %{_datadir}/pixmaps/tremulous.png %doc COPYING GPL ChangeLog CC %changelog * Thu Aug 22 2013 Automatic Build System 1.1.0-3mamba - automatic rebuild by autodist * Sun Jul 27 2008 Ercole 'ercolinux' Carpanetto 1.1.0-2mamba - correct some bug in the spec file, added a patch to correct the Makefile * Tue May 20 2008 gil 1.1.0-1mamba - first build