]> git.pld-linux.org Git - packages/xpat2.git/blob - xpat2.spec
- release 9.
[packages/xpat2.git] / xpat2.spec
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
5 Name:           xpat2
6 Version:        1.07
7 Release:        9
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
12 Source2:        %{name}.png
13 Patch0:         %{name}-paths.patch
14 Patch1:         %{name}-qt-locales.patch
15 BuildRequires:  tetex-dvips
16 BuildRequires:  tetex-latex
17 BuildRequires:  XFree86-devel
18 BuildRequires:  XFree86
19 BuildRequires:  qt-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 Xpat2 is a generic patience or Solitaire game for the X Window System.
27 Xpat2 can be used with different rules sets, so it can be used to play
28 Spider, Klondike, and other card games.
29
30 %description -l pl
31 Xpat2 jest zestawem pasjansów dla X Window. Mo¿e byæ u¿ywany z wieloma
32 ró¿nymi zasadami; mo¿na graæ w Spidera, Klondike i inne gry karciane.
33
34 %description -l pt_BR
35 Em 1989, Dave Lemke, Heather Rose, Donald R. Woods e a Sun
36 Microsystems, Inc., criaram o jogo de paciência xsol (também conhecido
37 como klondike no DOS) e as regras de alguns outros jogos de paciência.
38 As características principais são variáveis com conjuntos de regras e
39 diferentes conjuntos de cartas para diferentes resoluções de
40 monitores. xpat2 (X Patience) é uma coleção destes variados jogos de
41 paciência que irão realmente "testar a sua paciência".
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 cd lib
50 mv -f german de
51 mv -f french fr
52 mv -f italian it
53 mv -f russian ru
54 rm -f de_DE fr_FR it_IT
55 cd ../src
56 xmkmf
57 %{__make} CCOPTIONS="%{rpmcflags}" CXXOPTIONS="%{rpmcflags}"
58
59 cd ..
60 %{__make} manual
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Card,%{_pixmapsdir}}
65
66 %{__make} DESTDIR=$RPM_BUILD_ROOT install
67
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Card
69 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README doc/xpat2.ps
77 %dir %{_datadir}/xpat
78 %{_datadir}/xpat/???*
79 %lang(de) %{_datadir}/xpat/de
80 %lang(fr) %{_datadir}/xpat/fr
81 %lang(it) %{_datadir}/xpat/it
82 %lang(ru) %{_datadir}/xpat/ru
83 %{_mandir}/man6/*
84 %attr(755,root,root) %{_bindir}/xpat2
85 %{_libdir}/X11/app-defaults/XPat
86 %lang(de) %{_libdir}/X11/app-defaults/de/XPat
87 %lang(fr) %{_libdir}/X11/app-defaults/fr/XPat
88 %lang(it) %{_libdir}/X11/app-defaults/it/XPat
89 %lang(ru) %{_libdir}/X11/app-defaults/ru/XPat
90 %config(noreplace) %{_applnkdir}/Games/Card/xpat2.desktop
91 %{_pixmapsdir}/*
This page took 0.039729 seconds and 4 git commands to generate.