1 Summary: A set of Solitaire type games for the X Window System
2 Summary(es): X Patience - varios juegos de cartas
3 Summary(pl): Zestaw pasjansów dla X Window System
4 Summary(pt_BR): X Patience - vários jogos de cartas
8 License: distributable - most of it GPL
9 Group: X11/Applications/Games
10 Source0: ftp://metalab.unc.edu/pub/Linux/games/solitaires/%{name}-%{version}-src.tar.gz
11 Source1: %{name}.desktop
13 Patch0: %{name}-paths.patch
14 Patch1: %{name}-qt-locales.patch
15 Patch2: %{name}-fixes.patch
16 BuildRequires: XFree86-devel
17 BuildRequires: XFree86
18 BuildRequires: qt-devel
19 BuildRequires: tetex-dvips
20 BuildRequires: tetex-latex
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Xpat2 is a generic patience or Solitaire game for the X Window System.
26 Xpat2 can be used with different rules sets, so it can be used to play
27 Spider, Klondike, and other card games.
30 Xpat2 jest zestawem pasjansów dla X Window. Mo¿e byæ u¿ywany z wieloma
31 ró¿nymi zasadami; mo¿na graæ w Spidera, Klondike i inne gry karciane.
34 Em 1989, Dave Lemke, Heather Rose, Donald R. Woods e a Sun
35 Microsystems, Inc., criaram o jogo de paciência xsol (também conhecido
36 como klondike no DOS) e as regras de alguns outros jogos de paciência.
37 As características principais são variáveis com conjuntos de regras e
38 diferentes conjuntos de cartas para diferentes resoluções de
39 monitores. xpat2 (X Patience) é uma coleção destes variados jogos de
40 paciência que irão realmente "testar a sua paciência".
48 # moc files generated for old Qt - removing them causes regeneration for new
49 rm -f src/{moc_*,mqmaskedit,mqhelpwin}.cpp
57 rm -f de_DE fr_FR it_IT
59 rm -f src/mqmaskedit.cpp
60 rm -f src/mqhelpwin.cpp
63 %{__make} CCOPTIONS="%{rpmcflags}" CXXOPTIONS="%{rpmcflags}"
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Card,%{_pixmapsdir}} \
71 $RPM_BUILD_ROOT/var/games
73 %{__make} DESTDIR=$RPM_BUILD_ROOT install
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Card
76 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
78 :> $RPM_BUILD_ROOT/var/games/xpat.log
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
85 %doc README doc/xpat2.ps
86 %attr(2755,root,games) %{_bindir}/xpat2
87 %attr(664,root,games) /var/games/xpat.log
91 %lang(de) %{_datadir}/xpat/de
92 %lang(fr) %{_datadir}/xpat/fr
93 %lang(it) %{_datadir}/xpat/it
94 %lang(ru) %{_datadir}/xpat/ru
95 %{_libdir}/X11/app-defaults/XPat
96 %lang(de) %{_libdir}/X11/app-defaults/de/XPat
97 %lang(fr) %{_libdir}/X11/app-defaults/fr/XPat
98 %lang(it) %{_libdir}/X11/app-defaults/it/XPat
99 %lang(ru) %{_libdir}/X11/app-defaults/ru/XPat
100 %config(noreplace) %{_applnkdir}/Games/Card/xpat2.desktop