python 2.7 mass rebuild [release 0.10.1-2mamba;Sat May 18 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 10:37:34 +01:00
parent 2895b875be
commit 8fc26fec9a
2 changed files with 137 additions and 0 deletions

View File

@ -1,2 +1,26 @@
# pychess
A chess client, that is fully featured, easy to use and nice looking in the gnome way
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

113
pychess.spec Normal file
View File

@ -0,0 +1,113 @@
Name: pychess
Version: 0.10.1
Release: 2mamba
Summary: Gnome chess game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://pychess.googlepages.com/home
Source: http://pychess.googlecode.com/files/pychess-%{version}.tar.gz
License: GPL
Requires: python >= %python_version
Requires: pygtksourceview
Requires: python-pysqlite
Requires: pygtk-devel
BuildRequires: pygtksourceview
BuildRequires: python-pysqlite
BuildRequires: pygtk-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel >= %python_version
BuildRequires: python >= %python_version
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A chess client, that is fully featured, easy to use and nice looking in the gnome way
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
%setup -q
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%find_lang %{name}
%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
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/pychess
%{_datadir}/applications/pychess.desktop
%{_datadir}/pixmaps/pychess.svg
%{_datadir}/gtksourceview-1.0/language-specs/pgn.lang
%{_datadir}/icons/hicolor/24x24/apps/pychess.png
%{_datadir}/icons/hicolor/scalable/apps/pychess.svg
%dir %{_datadir}/pychess
%{_datadir}/pychess/*
%dir %{python_sitearch}/pychess
%{python_sitearch}/pychess/*
%{python_sitearch}/pychess-*.egg-info
%{_mandir}/man1/pychess.1.gz
%changelog
* 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