Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37494426
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 beta2

Name: pychess
Version: 0.8
Release: alt1.1.qa1

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-philidor%version%{?prever}.tar.bz2
Patch0: pychess-0.8b1-sitelib.patch
Patch1: pychess-0.8b1-gtksourceview.patch

# needed:

Requires: gnome-icon-theme
Requires: python%__python_version(libglade)
Requires: python%__python_version(pysqlite2)

BuildArch: noarch

# Automatically added by buildreq on Tue Dec 25 2007

BuildRequires: python-devel python-modules-compiler
BuildRequires: desktop-file-utils

%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-philidor%version%{?prever}
%patch0 -p1 -b .sitelib
%patch1 -p1 -b .gtksourceview

%build
%__python setup.py build

%install
# Fix line terminators
sed -ie 's/.$//g' AUTHORS
%__python setup.py install -O1 --skip-build --root %buildroot

#change permissions

chmod +x %buildroot%python_sitelibdir/%name/Utils/Move.py
chmod +x %buildroot%python_sitelibdir/%name/Players/PyChess.py

%find_lang %name

%postun -n pychess
%clean_desktopdb
%clean_menus


%post -n pychess
%update_desktopdb
%update_menus


%files -f %name.lang
%doc README LICENSE AUTHORS
%python_sitelibdir/*
%_bindir/*
%_datadir/games/*
%_datadir/gtksourceview-1.0/language-specs/pgn.lang
%_desktopdir/%name.desktop
%_datadir/icons/hicolor/*/apps/*
%_pixmapsdir/*
%_mandir/man?/*

%changelog

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

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