2024-01-06 10:37:34 +01:00
|
|
|
Name: pychess
|
2024-01-06 10:37:35 +01:00
|
|
|
Version: 1.0.4
|
2024-04-16 18:00:24 +02:00
|
|
|
Release: 3mamba
|
2024-01-06 10:37:34 +01:00
|
|
|
Summary: A chess client, that is fully featured, easy to use and nice looking in the gnome way
|
2024-01-06 10:37:34 +01:00
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:37:34 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:37:35 +01:00
|
|
|
URL: https://pychess.github.io/
|
2024-01-06 10:37:34 +01:00
|
|
|
Source: https://github.com/pychess/pychess/releases/download/%{version}/pychess-%{version}.tar.gz
|
2024-01-06 10:37:34 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-04-16 18:00:24 +02:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 10:37:34 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-04-16 18:00:24 +02:00
|
|
|
Requires: python-SQLAlchemy-py3
|
|
|
|
Requires: python-pexpect-py3
|
|
|
|
Requires: python-websockets-py3
|
|
|
|
Requires: python-typing_extensions-py3
|
2024-01-06 10:37:34 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-06 10:37:34 +01:00
|
|
|
A chess client, that is fully featured, easy to use and nice looking in the gnome way.
|
2024-01-06 10:37:34 +01:00
|
|
|
The client should be usable both to those totally new to chess, those who want to take a game here and there, and those who wants to use the computer to further enhance their play.
|
|
|
|
|
|
|
|
Features:
|
|
|
|
* CECP and UCI Engine support
|
|
|
|
* Free online play on the FICS chess servers
|
|
|
|
* Read and writes the PGN, EPD and FEN chess fileformats
|
|
|
|
* Builtin python based engine
|
|
|
|
* Undo and pause functions
|
|
|
|
* Board and piece animation
|
|
|
|
* Drag and drop
|
|
|
|
* Tabbed interface
|
|
|
|
* Hints and spyarrows
|
|
|
|
* Openingbook sidepanel using sqlite
|
|
|
|
* Scoreplot sidepanel
|
|
|
|
* "Enter game" in pgn dialog
|
|
|
|
* Internationalised or figure pieces in notation
|
|
|
|
* Optional sounds
|
|
|
|
* Legal move highlighting
|
|
|
|
* A nice and accesible look
|
|
|
|
|
|
|
|
To help translate PyChess into your language please visit https://translations.launchpad.net/pychess
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 10:37:35 +01:00
|
|
|
%setup -q
|
2024-01-06 10:37:34 +01:00
|
|
|
|
|
|
|
%build
|
2024-04-16 18:00:24 +02:00
|
|
|
%{__python3} setup.py build
|
2024-01-06 10:37:34 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-04-16 18:00:24 +02:00
|
|
|
%{__python3} setup.py install \
|
2024-01-06 10:37:34 +01:00
|
|
|
-O1 --skip-build \
|
2024-01-06 10:37:34 +01:00
|
|
|
--root="%{buildroot}" \
|
2024-04-16 18:00:24 +02:00
|
|
|
--install-headers=%{python3_inc}/python \
|
|
|
|
--install-lib=%{python3_sitearch} \
|
2024-01-06 10:37:34 +01:00
|
|
|
--record=%{name}.filelist
|
2024-01-06 10:37:34 +01:00
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
sed -i "\,\.egg-info/,d" %{name}.filelist
|
2024-01-06 10:37:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
|
fi
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
%files -f %{name}.filelist
|
2024-01-06 10:37:34 +01:00
|
|
|
%defattr(-,root,root)
|
2024-04-16 18:00:24 +02:00
|
|
|
%{python3_sitearch}/pychess-%{version}-py*.egg-info
|
2024-01-06 10:37:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-04-16 18:00:24 +02:00
|
|
|
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-3mamba
|
|
|
|
- rebuilt with python3 ~= 3.11
|
|
|
|
|
2024-01-06 10:37:35 +01:00
|
|
|
* Tue Apr 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
|
|
|
|
- dependencies added
|
|
|
|
|
|
|
|
* Mon Apr 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- update to 1.0.4
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Mon May 10 2021 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.0-1mamba
|
|
|
|
- update to 0.99.0
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Mon Jul 04 2016 Automatic Build System <autodist@mambasoft.it> 0.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Sat Mar 12 2016 Automatic Build System <autodist@mambasoft.it> 0.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Sat Feb 20 2016 Automatic Build System <autodist@mambasoft.it> 0.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Thu Dec 24 2015 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Thu Dec 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
|
|
|
|
- update to 0.12
|
|
|
|
|
2024-01-06 10:37:34 +01:00
|
|
|
* Sat May 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 04 2009 gil <puntogil@libero.it> 0.8.4-1mamba
|
|
|
|
- update to 0.8.4
|
|
|
|
|
|
|
|
* Fri Jul 25 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-2mamba
|
|
|
|
- added requirement for pygtksourceview
|
|
|
|
|
|
|
|
* Thu Jul 17 2008 gil <puntogil@libero.it> 0.8.2-1mamba
|
|
|
|
- package created by autospec
|