ALT Linux repos
Group :: Games/Arcade
RPM: tuxvsclippy
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# FIXME (there is generated asm)
%set_verify_elf_method textrel=relaxed
Name: tuxvsclippy
Version: 0.2.5
Release: alt3.1.qa1
Summary: Tux vs Clippy originated as an xbox game
Group: Games/Arcade
License: GPL
Url: http://www.stolk.org/xgame/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://bram.creative4vision.nl/xgame/%name-%version.tar
Source1: http://bram.creative4vision.nl/xgame/%name-data.tar
Patch: %name-linking.patch
Patch1: %name-gcc43.patch
Patch2: %name-0.2.5-alt-DSO.patch
ExclusiveArch: %{ix86}
%add_findprov_lib_path %_libdir/%name
# Automatically added by buildreq on Fri Sep 02 2011
# optimized out: libICE-devel libX11-devel libXext-devel libstdc++-devel xorg-xf86dgaproto-devel xorg-xproto-devel
BuildRequires: gcc-c++ glibc-devel imake libSDL-devel libSM-devel libXxf86dga-devel libjpeg-devel libtiff-devel xorg-cf-files zlib-devel
%description
Tux vs Clippy originated as an xbox game.
It was the first ever xbox game to be released without microsoft licensing,
but it required an xbox that had been modified to accept unsigned binaries.
The game requires an x86 GNU/Linux system to run. Because it makes
heavy use of assembly code, it is not portable to other processors.
Also, because of the precompiled sprite system, screen resolution
is not scalable. Under X11 you may see large borders.
%prep
%setup
%patch
%patch1
%patch2 -p2
touch NEWS AUTHORS
%build
%autoreconf
%configure
%make_build
%install
%makeinstall_std
#install -D -m 0644 %name.png %buildroot%_datadir/icons/%name.png
# data files
tar -x -C %buildroot%prefix -f %SOURCE1
mkdir -p %buildroot%_libdir/%name/
mv %buildroot%_datadir/%name/sprite %buildroot%_libdir/%name/sprite
mkdir -p %buildroot%_desktopdir
cat >%buildroot%_desktopdir/%name.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Tuxvsclippy
GenericName=
Comment=Tux vs clippy
Icon=%name.png
Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%files
%doc CREDITS README TODO ChangeLog
%_bindir/*
%_libdir/%name/
%_datadir/%name/
%_desktopdir/*
%changelog
…
Full changelog you can see here
%set_verify_elf_method textrel=relaxed
Name: tuxvsclippy
Version: 0.2.5
Release: alt3.1.qa1
Summary: Tux vs Clippy originated as an xbox game
Group: Games/Arcade
License: GPL
Url: http://www.stolk.org/xgame/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://bram.creative4vision.nl/xgame/%name-%version.tar
Source1: http://bram.creative4vision.nl/xgame/%name-data.tar
Patch: %name-linking.patch
Patch1: %name-gcc43.patch
Patch2: %name-0.2.5-alt-DSO.patch
ExclusiveArch: %{ix86}
%add_findprov_lib_path %_libdir/%name
# Automatically added by buildreq on Fri Sep 02 2011
# optimized out: libICE-devel libX11-devel libXext-devel libstdc++-devel xorg-xf86dgaproto-devel xorg-xproto-devel
BuildRequires: gcc-c++ glibc-devel imake libSDL-devel libSM-devel libXxf86dga-devel libjpeg-devel libtiff-devel xorg-cf-files zlib-devel
%description
Tux vs Clippy originated as an xbox game.
It was the first ever xbox game to be released without microsoft licensing,
but it required an xbox that had been modified to accept unsigned binaries.
The game requires an x86 GNU/Linux system to run. Because it makes
heavy use of assembly code, it is not portable to other processors.
Also, because of the precompiled sprite system, screen resolution
is not scalable. Under X11 you may see large borders.
%prep
%setup
%patch
%patch1
%patch2 -p2
touch NEWS AUTHORS
%build
%autoreconf
%configure
%make_build
%install
%makeinstall_std
#install -D -m 0644 %name.png %buildroot%_datadir/icons/%name.png
# data files
tar -x -C %buildroot%prefix -f %SOURCE1
mkdir -p %buildroot%_libdir/%name/
mv %buildroot%_datadir/%name/sprite %buildroot%_libdir/%name/sprite
mkdir -p %buildroot%_desktopdir
cat >%buildroot%_desktopdir/%name.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Tuxvsclippy
GenericName=
Comment=Tux vs clippy
Icon=%name.png
Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%files
%doc CREDITS README TODO ChangeLog
%_bindir/*
%_libdir/%name/
%_datadir/%name/
%_desktopdir/*
%changelog
…
Full changelog you can see here