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


Name: pychess
Version: 1.0.4
Release: alt1

Summary: Chess game for GNOME
License: GPLv2
Group: Games/Boards
Url: https://github.com/pychess/pychess/
VCS: https://github.com/pychess/pychess.git
Packager: Leonid Znamenok <respublica at altlinux.org>

BuildArch: noarch

Source: %name-%version.tar
Patch0: hasher-fix_1.0.3.patch

BuildRequires(pre): rpm-build-python3 rpm-build-gir
BuildRequires: rpm-build-compat >= 1.2
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(sqlite3)
BuildRequires: python3(pexpect)
BuildRequires: python3(sqlalchemy)
BuildRequires: python3(gi)
BuildRequires: python3(cairo)
BuildRequires: gobject-introspection-devel
BuildRequires: librsvg-gir-devel

# needed:

Requires: gnome-icon-theme
Requires: typelib(GtkSource) = 3.0

%add_python3_req_skip gi.repository.GdkPixbuf

%filter_from_requires /python2.*/d
%filter_from_requires /typelib(WebKit)/d

%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
%patch0 -p1

%build
PYTHONPATH=lib %__python3 pgn2ecodb.py
PYTHONPATH=lib %__python3 create_theme_preview.py
%pyproject_build

%install
%pyproject_install
%find_lang %name

%files -f %name.lang
%doc AUTHORS LICENSE README.md
%python3_sitelibdir/%name/
%python3_sitelibdir/*.dist-info/
%_bindir/%name
%_datadir/%name/
%_datadir/gtksourceview-3.0/language-specs/pgn.lang
%_datadir/mime/packages/%name.xml
%_datadir/metainfo/%name.metainfo.xml
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*
%_man1dir/*

%changelog

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

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