Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041031
en ru br
Репозитории ALT
S:1.0.4-alt1
5.1: 0.8.2-alt2
4.1: 0.8-alt1.1.qa1
www.altlinux.org/Changes

Группа :: Игры/Настольные
Пакет: pychess

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define prever %nil

Name: pychess
Version: 0.8.2
Release: alt2

Summary: Chess game for GNOME

Group: Games/Boards
License: GPLv2
Url: http://pychess.googlepages.com/home

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pychess.googlecode.com/files/%name-%version%{?prever}.tar.bz2
Patch0: pychess-0.8b1-sitelib.patch
Patch1: pychess-0.8b1-gtksourceview.patch

# needed:

Requires: gnome-icon-theme
%py_requires libglade
%py_requires pysqlite2
%py_requires gtksourceview2

BuildArch: noarch

# Automatically added by buildreq on Tue Dec 25 2007

BuildRequires: python-devel python-modules-compiler

BuildPreReq: rpm-build-compat >= 1.2

%description
PyChess is a GTK+ chess game for Linux. It is designed to at the same time
be easy to use, beautiful to look at, and provide advanced functions for
advanced players.

%prep
%setup -qn %name-%version%{?prever}
#%patch0 -p1 -b .sitelib
#%patch1 -p1 -b .gtksourceview

%build
%python_build

%install
# Fix line terminators
sed -ie 's/.$//g' AUTHORS
%python_install

#change permissions

chmod +x %buildroot%python_sitelibdir/%name/Utils/Move.py
chmod +x %buildroot%python_sitelibdir/%name/Players/PyChess.py
#ln -s %name %buildroot%_bindir/%name.py

%find_lang %name

%files -f %name.lang
%doc README LICENSE AUTHORS
%_bindir/%name
%_gamesdatadir/%name/
%python_sitelibdir/%name/
%_datadir/gtksourceview-1.0/language-specs/pgn.lang
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*
%_pixmapsdir/*
%_man1dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin