Репозиторий Sisyphus
Последнее обновление: 12 ноября 2019 | Пакетов: 17529 | Посещений: 15709767
en ru br
Репозитории ALT
S:0.12.4-alt2
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.12.4
Release: alt1

Summary: Chess game for GNOME

Group: Games/Boards
License: GPLv2
Url: https://github.com/pychess/pychess/

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/pychess/pychess/releases/download/%version/pychess-%version.tar.gz

Source: %name-%version.tar

# needed:

Requires: gnome-icon-theme librsvg-gir
Requires: python-module-pygobject3
%py_requires cairo
#py_requires gobject3

%py_requires libglade
%py_requires pysqlite2
#py_requires gtksourceview2

#gobject-introspection

#glib2
#gtk3
#pango
#gdk-pixbuf2
#gtksourceview3
#gstreamer1
#gstreamer1-plugins-base


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 -n %name-%version%{?prever}

%build
%python_build

%install
# Fix line terminators
%__subst '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
rm -rf %buildroot%_datadir/menu/

%find_lang %name

%files -f %name.lang
%doc README.md LICENSE AUTHORS
%_bindir/%name
%_datadir/%name/
%python_sitelibdir/%name/
%python_sitelibdir/*.egg-info
%_datadir/gtksourceview-3.0/language-specs/pgn.lang
%_datadir/appdata/pychess.appdata.xml
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*
%_pixmapsdir/*
%_man1dir/*

%changelog

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

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