Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37409867
en ru br
ALT Linux repos
S:1.0.4-alt1
5.0: 0.8.2-alt1
4.1: 0.8-alt1.1.qa1

Group :: Games/Boards
RPM: pychess

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

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