Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 8a9e5af65957a35bbe608948d5fab7aa > files > 3

PySolFC-2.0-19.mga6.src.rpm


Name:		PySolFC
Version:	2.0
Release:	%mkrel 19
Summary:	A Python solitaire game collection
Source0:	http://downloads.sourceforge.net/pysolfc/%{name}-%{version}.tar.bz2
Patch1:     PySolFC-pillow.patch
License:	GPLv3+
Group:		Games/Cards
URL:		http://pysolfc.sourceforge.net/
BuildArch:	noarch
BuildRequires:	python-devel
BuildRequires:	python-setuptools
Requires:	tkinter
Requires:	python-imaging
Requires:	python-pillow-tk
Requires:	pygame
Recommends:	PySolFC-cardsets
Recommends:	freecell-solver
Provides:	pysol = %{version}-%{release}
Obsoletes:	pysol

%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

%build
%{__python} setup.py build

%install
PYTHONDONTWRITEBYTECODE= %{__python} 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
%{_gamesbindir}/*
%{py_puresitedir}/*
%{_datadir}/%name
%{_datadir}/applications/pysol.desktop
%{_iconsdir}/*.png
%{_datadir}/pixmaps/*




%changelog
* 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


* Sun Mar 13 2011 Philippe Makowski <makowski.mageia@gmail.com> 2.0-10mga1
- import from Mandriva
- Provides: pysol since PySolFC is almost a drop-in replacement for
  the now unmaintained pysol

* Sun Dec 19 2010 Shlomi Fish <shlomif@mandriva.org> 2.0-9mdv2011.0
+ Revision: 623151
- Now suggesting freecell-solver

* Mon Nov 01 2010 Shlomi Fish <shlomif@mandriva.org> 2.0-8mdv2011.0
+ Revision: 591520
- New release for new python and also suggesting the cardsets package

* Sun Sep 19 2010 Funda Wang <fwang@mandriva.org> 2.0-7mdv2011.0
+ Revision: 579772
- fix desktop file (mdv#57687)

* Fri Jul 09 2010 Shlomi Fish <shlomif@mandriva.org> 2.0-6mdv2011.0
+ Revision: 549896
- Add missing tkiner and python-imaging dependencies

* Wed May 05 2010 Funda Wang <fwang@mandriva.org> 2.0-5mdv2010.1
+ Revision: 542300
- update file list to reflect pyc removal

* Mon Feb 15 2010 Shlomi Fish <shlomif@mandriva.org> 2.0-4mdv2010.1
+ Revision: 506356
- Add BuildRequires on python-devel and python-setuptools
- Fixed the Vendor field and moved to the group Games/Cards
- Add an obsoletes field for the original (and no longer maintained) PySol
- import PySolFC


* Sat Dec 05 2009 Shlomi Fish <shlomif@iglu.org.il> 2.0-1mdv
+ Generated from python setup.py bdist_rpm .
+ Hack to put /usr/bin/pysol.py under /usr/games/pysol .
+ Fixed the rpmlint problems.