BR: rpmbuild(macros) >= 1.710
[packages/PySolFC.git] / PySolFC.spec
CommitLineData
1d6a1c26
ER
1Summary: A collection of solitare card games
2Name: PySolFC
3Version: 1.1
4Release: 0.3
5License: GPL v2+
6Group: Applications/Games
7URL: http://pysolfc.sourceforge.net/
8Source0: http://downloads.sourceforge.net/pysolfc/%{name}-%{version}.tar.bz2
9# Source0-md5: 56aca8101b3534aaf3564c40ed6824f1
10Source1: PySol.desktop
11Patch0: pysolfc-setup.py-noglade.patch
12BuildRequires: python-devel
bd248738 13BuildRequires: python-modules
14BuildRequires: rpm-pythonprov
cb8ab582 15BuildRequires: rpmbuild(macros) >= 1.710
1d6a1c26
ER
16Requires: python-PIL-tk
17Requires: python-modules
18Requires: python-tkinter
19Requires: tcl
20Requires: tix
21Requires: tk
22Provides: pysol = %{version}-%{release}
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27PySolFC (PySol Fan Club) is a collection of more than 1000 solitaire
28card games. It is a fork of PySol solitare. Its features include
29modern look and feel (uses Tile widget set), multiple cardsets and
30tableau backgrounds, sound, unlimited undo, player statistics, a hint
31system, demo games, a solitaire wizard, support for user written
32plug-ins, an integrated HTML help browser, and lots of documentation.
33
34%prep
35%setup -q
36%patch0 -p0
37
38%build
353a9b3d 39%py_build
1d6a1c26
ER
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_desktopdir}
353a9b3d 44%py_install
1d6a1c26
ER
45
46cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
47
1d6a1c26
ER
48# sanitize
49mv $RPM_BUILD_ROOT%{_bindir}/pysol{.py,}
50
51%py_postclean
52
53%find_lang pysol
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f pysol.lang
59%defattr(644,root,root,755)
60%doc README PKG-INFO
61%attr(755,root,root) %{_bindir}/pysol
62%dir %{py_sitescriptdir}/pysollib
63%{py_sitescriptdir}/pysollib/*.py[co]
64%dir %{py_sitescriptdir}/pysollib/configobj
65%{py_sitescriptdir}/pysollib/configobj/*.py[co]
66%dir %{py_sitescriptdir}/pysollib/games
67%{py_sitescriptdir}/pysollib/games/*.py[co]
68%dir %{py_sitescriptdir}/pysollib/games/mahjongg
69%{py_sitescriptdir}/pysollib/games/mahjongg/*.py[co]
70%dir %{py_sitescriptdir}/pysollib/games/special
71%{py_sitescriptdir}/pysollib/games/special/*.py[co]
72%dir %{py_sitescriptdir}/pysollib/games/ultra
73%{py_sitescriptdir}/pysollib/games/ultra/*.py[co]
74%dir %{py_sitescriptdir}/pysollib/macosx
75%{py_sitescriptdir}/pysollib/macosx/*.py[co]
76%dir %{py_sitescriptdir}/pysollib/pysolgtk
77%{py_sitescriptdir}/pysollib/pysolgtk/*.py[co]
78%dir %{py_sitescriptdir}/pysollib/tile
79%{py_sitescriptdir}/pysollib/tile/*.py[co]
80%dir %{py_sitescriptdir}/pysollib/tk
81%{py_sitescriptdir}/pysollib/tk/*.py[co]
82%dir %{py_sitescriptdir}/pysollib/winsystems
83%{py_sitescriptdir}/pysollib/winsystems/*.py[co]
84
85%if "%{py_ver}" > "2.4"
86%{py_sitescriptdir}/PySolFC-*.egg-info
87%endif
88
89%dir %{_datadir}/%{name}
90%{_datadir}/%{name}/cardset-crystal-mahjongg
91%{_datadir}/%{name}/cardset-dashavatara-ganjifa
92%{_datadir}/%{name}/cardset-dondorf
93%{_datadir}/%{name}/cardset-gnome-mahjongg-1
94%{_datadir}/%{name}/cardset-hexadeck
95%{_datadir}/%{name}/cardset-kintengu
96%{_datadir}/%{name}/cardset-matrix
97%{_datadir}/%{name}/cardset-mughal-ganjifa
98%{_datadir}/%{name}/cardset-oxymoron
99%{_datadir}/%{name}/cardset-standard
100%{_datadir}/%{name}/cardset-tuxedo
101%{_datadir}/%{name}/cardset-vienna-2k
102%{_datadir}/%{name}/html
103%{_datadir}/%{name}/images
104%{_datadir}/%{name}/sound
105%{_datadir}/%{name}/tcl
106%{_datadir}/%{name}/themes
107%{_datadir}/%{name}/tiles
108
109%{_pixmapsdir}/*.xbm
110%{_pixmapsdir}/*.xpm
111%{_desktopdir}/*.desktop
This page took 0.089612 seconds and 4 git commands to generate.