Name: PySolFC Version: 2.10.1 Release: %mkrel 1 Summary: A Python solitaire game collection Source0: https://sourceforge.net/projects/pysolfc/files/PySolFC/PySolFC-%{version}/PySolFC-%{version}.tar.xz License: GPLv3+ Group: Games/Cards URL: http://pysolfc.sourceforge.net/ BuildArch: noarch BuildRequires: perl(Code::TidyAll::Plugin::Flake8) BuildRequires: perl(Inline::Python) BuildRequires: pkgconfig(python3) BuildRequires: python3-attrs BuildRequires: python3-configobj BuildRequires: python3-flake8 BuildRequires: python3-flake8-import-order BuildRequires: python3-pycotap BuildRequires: python3-pysol-cards BuildRequires: python3-setuptools BuildRequires: python3-imaging BuildRequires: python3-pillow-tk BuildRequires: python3-random2 BuildRequires: python3-six Requires: tkinter3 Requires: python3-black_hole_solver Requires: python3-freecell_solver Requires: python3-imaging Requires: python3-pillow-tk Requires: python3-random2 Requires: python3-six Requires: pygame Recommends: PySolFC-cardsets Recommends: python3-pysol-sound-server Provides: pysol = %{version}-%{release} Obsoletes: pysol < 4.83 %description PySolFC is a collection of more than 1000 solitaire card games. Its features include modern look and feel (uses Tile widget set), multiple card-sets and tableau backgrounds, sound, unlimited undo, player statistics, a hint system, demo games, a solitaire wizard, support for user written plug-ins, an integrated HTML help browser, and lots of documentation. %prep %setup -q #autopatch -p1 # drop deprecated time.clock sed -i -e 's,time\.clock,time.perf_counter,g' pysollib/mfxutil.py %build %py3_build %check export TEST_TAGS=" SKIP_PY2 " TEST_SKIP_TIDYALL=1 %__make test %install PYTHONDONTWRITEBYTECODE= %{__python3} setup.py install --skip-build --root=%{buildroot} # Hack to put /usr/bin/pysol.py as /usr/games pysol mkdir -p %{buildroot}/%{_gamesbindir} %define pysol_bin_path %{_gamesbindir}/pysol %define pysol_orig_path %{_bindir}/pysol.py mv %{buildroot}/%{pysol_orig_path} %{buildroot}/%{pysol_bin_path} sed -i -e 's#Exec=.*#Exec=%{_gamesbindir}/pysol#' %{buildroot}%_datadir/applications/pysol.desktop %find_lang pysol %files -f pysol.lang %doc COPYING README.md %{_gamesbindir}/* %{python3_sitelib}/* %{_datadir}/%name %{_datadir}/applications/pysol.desktop %{_iconsdir}/hicolor/*/apps/*.png %changelog * Fri Jul 03 2020 shlomif <shlomif> 2.10.1-1.mga8 + Revision: 1601618 - New version 2.10.1 * Sat May 23 2020 wally <wally> 2.8.0-2.mga8 + Revision: 1587062 - drop python2 BR * Thu Mar 05 2020 shlomif <shlomif> 2.8.0-1.mga8 + Revision: 1554087 - New version 2.8.0 * Thu Feb 20 2020 umeabot <umeabot> 2.6.4-5.mga8 + Revision: 1547305 - Mageia 8 Mass Rebuild * Fri Feb 07 2020 shlomif <shlomif> 2.6.4-4.mga8 + Revision: 1487858 - avoid dependency on python 2.x * Tue Sep 24 2019 wally <wally> 2.6.4-3.mga8 + Revision: 1445493 - drop usage of deprecated time.clock python function to fix tests * Tue Sep 24 2019 tv <tv> 2.6.4-2.mga8 + Revision: 1445488 - disable testsuite for now - rebuild for python-3.8 * Thu Apr 25 2019 shlomif <shlomif> 2.6.4-1.mga7 + Revision: 1395347 - New version 2.6.4 * Sun Apr 07 2019 shlomif <shlomif> 2.6.3-1.mga7 + Revision: 1386632 - New version 2.6.3 * Wed Feb 27 2019 shlomif <shlomif> 2.6.2-1.mga7 + Revision: 1370437 - New version 2.6.2 + add tests * Sat Feb 16 2019 shlomif <shlomif> 2.6.1-1.mga7 + Revision: 1367650 - New version 2.6.1 * Thu Feb 14 2019 shlomif <shlomif> 2.6.0-1.mga7 + Revision: 1367031 - New version 2.6.0 * Mon Jan 07 2019 shlomif <shlomif> 2.4.0-3.mga7 + Revision: 1350419 - Rebuild for python3 3.7 * Sun Sep 23 2018 umeabot <umeabot> 2.4.0-2.mga7 + Revision: 1300430 - Mageia 7 Mass Rebuild * Sat Jun 23 2018 shlomif <shlomif> 2.4.0-1.mga7 + Revision: 1239164 - New version 2.4.0 * Mon Apr 16 2018 shlomif <shlomif> 2.2.0-1.mga7 + Revision: 1219275 - New version 2.2.0 * Fri Mar 30 2018 shlomif <shlomif> 2.1.4-1.mga7 + Revision: 1213685 - New version 2.1.4 * Fri Mar 23 2018 shlomif <shlomif> 2.1.3-2.mga7 + Revision: 1211710 - Add recommends on the sound server. * Mon Mar 05 2018 shlomif <shlomif> 2.1.3-1.mga7 + Revision: 1206621 - Remove an unneeded dep - New version 2.1.3. * Wed Dec 13 2017 shlomif <shlomif> 2.1.2-1.mga7 + Revision: 1182503 - Remove old line - New version 2.1.2 * Mon Dec 04 2017 shlomif <shlomif> 2.1.0-2.mga7 + Revision: 1181267 - Add missing requires. * Thu Nov 16 2017 shlomif <shlomif> 2.1.0-1.mga7 + Revision: 1177565 - update to new version 2.1.0 (thanks to kekePower) * Mon Feb 08 2016 umeabot <umeabot> 2.0-19.mga6 + Revision: 942843 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 2.0-18.mga5 + Revision: 739820 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 2.0-17.mga5 + Revision: 728010 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 2.0-16.mga5 + Revision: 677646 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Sat May 31 2014 pterjan <pterjan> 2.0-15.mga5 + Revision: 628096 - Rebuild for new Python * Tue Oct 22 2013 umeabot <umeabot> 2.0-14.mga4 + Revision: 542480 - Mageia 4 Mass Rebuild * Mon Oct 14 2013 pterjan <pterjan> 2.0-13.mga4 + Revision: 497631 - Rebuild to add different pythonegg provides for python 2 and 3 * Mon Sep 09 2013 shlomif <shlomif> 2.0-12.mga4 + Revision: 476695 - New release for using Python-Pillow instead of PIL * Fri Jan 11 2013 umeabot <umeabot> 2.0-11.mga3 + Revision: 345076 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Mar 13 2011 philippem <philippem> 2.0-10.mga1 + Revision: 70738 - imported package PySolFC