Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
etw
etw.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etw.spec of Package etw
# Copyright (c) 2008 oc2pus # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to toni@links2linux.de # norootforbuild %define _prefix /usr Name: etw Summary: Eat the Whistle is a multi-platform 2D soccer game Version: 3.6 Release: 0.pm.1 License: GPL Group: Amusements/Games/3D/Other Source: ETW-%{version}-src.tar.gz # this is a tar.bz2 from the autopackgae installer # cd $HOME/.local/share && tar cvfj etwdata.tar.bz2 Source1: etwdata.tar.bz2 URL: http://www.ggsoft.org/etw/index.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: pkgconfig BuildRequires: SDL-devel BuildRequires: update-desktop-files Patch: fix_build.diff %description Eat The Whistle is an OpenSource soccer game originally developed by Hurricane Studios as commercial product for the Amiga platform. It has a lot of features never seen in other soccer games. It has been released under the GPL licence version 2 in the year 2002. The original Amiga version has been made portable with the help of the SDL library. Features: * System friendly. Run in a window or fullscreen, can be played also on old machines (runs pefectly on a P200). * World cup, leagues, cups with real teams (with slightly modified names). * Can be played through keyboard or joypad/joysticks (USB or Gameport). * Network playing through TCP/IP (not yet finished). * Very intuitive control method with acceleration/deceleration. * More than 550 frames of animations for the players, 300 for the goalkeeper, 100 for the refree and a lot of other graphics. * 30 different fields, including muddy, frozen and wet. * Fouls, corners, throw-in with an intuitive control system. * Role playing. (You can play a match as the whole team or only as a player). * About every thing in the game is configurable via intuitive menus. * Game Tactics and tactic editor. * Heading and other special shots with intuitive controls. * Team players (with individual stats) and team editor (the editor is actually available only for AmigaOS). * Import SWOS (Sensible word of soccer) teams. * Arcade mode with powerups, bonuses... (something like Speedball II). * Replays (with load/save option). * Spoken comment (actually broken). NOTE: you must be member of the group 'games' to play the game! %debug_package %prep %setup -q -n %{name}-%{version} -a1 %if %suse_version >= 1210 %patch -p1 %endif %if %suse_version <= 1010 # use sdl-config instead pkg-config for older SuSE versions %__sed -i -e 's|pkg-config --cflags sdl|sdl-config --cflags|g' \ Makefile.linux %__sed -i -e 's|pkg-config --libs sdl|sdl-config --libs|g' \ Makefile.linux %endif %build %__make %{?jobs:-j%{jobs}} %install %__install -dm 755 %{buildroot}%{_prefix}/games %__install -m 755 %{name} \ %{buildroot}%{_prefix}/games/%{name}.bin %__install -dm 755 %{buildroot}%{_bindir} %__cat > %{name} <<EOF #! /bin/bash cd %{_datadir}/games/etwdata /usr/games/etw.bin EOF %__install -m 755 %{name} \ %{buildroot}%{_bindir} # data %__install -dm 755 %{buildroot}%{_datadir}/games %__cp -a etwdata \ %{buildroot}%{_datadir}/games # icon %__install -dm 755 %{buildroot}%{_datadir}/pixmaps %__install -m 644 %{name}.png \ %{buildroot}%{_datadir}/pixmaps %suse_update_desktop_file -i %{name} Game SportsGame %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %post find %{_datadir}/games/etwdata -type f -exec chmod 664 {} \; find %{_datadir}/games/etwdata -type d -exec chmod 775 {} \; %files %defattr(-,root,root) %doc *.txt %{_bindir}/* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/*.desktop %defattr(-,root,games) %{_prefix}/games/* %dir %{_datadir}/games/etwdata %{_datadir}/games/etwdata/* %changelog * Mon Jan 04 2016 Wolfgang Bauer <wbauer@tmo.at> - Add -std=gnu89 to the compiler flags to fix build with gcc5 * Tue Oct 16 2012 Wolfgang Bauer <wbauer@tmo.at> - fix build on 12.1 and up * Tue May 20 2008 Toni Graffy <toni@links2linux.de> - 3.6-0.pm.1 - first packaged version 3.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor