Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37699793
en ru br
ALT Linux repos
S:0.52-alt7
5.0: 0.52-alt5
4.1: 0.52-alt3
4.0: 0.52-alt3

Group :: Games/Other
RPM: netris

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

Name: netris
Version: 0.52
Release: alt3

Summary: A free network version of Tetris
Summary(ru_RU.CP1251): Свободная версия сетевого тетриса

License: GPL
Group: Games/Other
Url: ftp://ftp.netris.org/pub/netris/
Packager: Slava Semushin <php-coder at altlinux.ru>

Source0: ftp://ftp.netris.org/pub/netris/%name-%version.tar.gz
Source1: %name.menu

Patch0: %name-0.52-alt-warnings-Wall_fix.patch
Patch1: %name-0.52-alt-configure-tests_fix.patch

# Automatically added by buildreq on Wed Dec 14 2005

BuildRequires: libncurses-devel libtinfo-devel

%description
A free version of Tetris. This game uses ncurses library and can work
in console or pseudo-terminal. You can play against computer or on the
network against your friends.

%description -l ru_RU.CP1251
Свободная версия тетриса. Игра использует библиотеку ncurses и может
работать как в консоли так и в псевдотерминале. Играть можно против
компьютера или по сети, против друг друга.

%prep
%setup -q
patch -p1 < %PATCH0
patch -p1 < %PATCH1

%build
./Configure -O%_optlevel --cextra "%optflags -Werror"
%make_build

%install
install -pD -m 755 %name %buildroot%_gamesbindir/%name
install -pD -m 644 %SOURCE1 %buildroot%_menudir/%name

%post
%update_menus

%postun
%clean_menus

%files
%doc README FAQ robot_desc
%_gamesbindir/%name
%_menudir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin