1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
Summary: An X Window System color version of xhextris
Summary(de): Farbige X11-Version von Hextris
Summary(fr): Version X11 en couleurs d'hextris
Summary(pl): Kolorowa wersja gry xhextris pod X Window
Summary(tr): Düþen bloklarý yerleþtirme oyunu
Name: cxhextris
Version: 1.0
Release: 24
License: distributable
Group: X11/Applications/Games
Group(cs): X11/Aplikace/Hry
Group(da): X11/Programmer/Spil
Group(de): X11/Applikationen/Spiele
Group(es): X11/Aplicaciones/Juegos
Group(fr): X11/Applications/Jeux
Group(is): X11/Forrit/Leikir
Group(it): X11/Applicazioni/Giochi
Group(ja): X11/¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/¥²¡¼¥à
Group(no): X11/Applikasjoner/Spill
Group(pl): X11/Aplikacje/Gry
Group(pt): X11/Aplicações/Jogos
Group(ru): X11/ðÒÉÌÏÖÅÎÉÑ/éÇÒÙ
Group(sl): X11/Programi/Igre
Group(sv): X11/Tillämpningar/Spel
Group(uk): X11/ðÒÉËÌÁÄΦ ðÒÏÇÒÁÍÉ/¶ÇÒÉ
Source0: ftp://sunsite.unc.edu/pub/Linux/games/arcade/tetris/%{name}.tar.z
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-config.patch
Patch1: %{name}-axp.patch
Patch2: %{name}-security.patch
Icon: cxhextris.xpm
Prereq: /usr/X11R6/bin/mkfontdir
BuildRequires: XFree86-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%define _mandir %{_prefix}/man
%description
CXHextris is a color version of the popular xhextris game, which is a
Tetris-like game that uses hexagon shapes instead of square shapes.
CXHextris runs within the X Window System.
Install cxhextris if you enjoy playing Tetris or Tetris-like games and
you'd like to play one on your system. You'll need to have X installed
in order to play CXHextris.
%description -l de
cxhextrix ist eine Farbversion des populären hextris, beides nahe
Verwandte des klassischen T*tris Video-Games, bei dem unregelmäßig
geformte Blöcke perfekt aufeinander gestapelt werden müssen.
Voraussetzung ist, daß X-Windows korrekt funktioniert.
%description -l fr
cxhextrix est une version en couleurs du célèbre hextris. Tous deux
sont des clones du célèbre jeu vidéo T*tris, où l'on doit essayer
d'empiler parfaitement des blocs avec des formes curieuses. Ce jeu
nécessite X Window pour fonctionner correctement.
%description -l pl
CXHextris jest kolorow± wersj± popularnej gry xhextris, bêd±cej klonem
Tetrisa u¿ywaj±cym sze¶ciobocznych figur zamiast kwadratowych.
CXHextris uruchamia siê w ¶rodowisku X Window.
Nale¿y zainstalowaæ CXHextris je¶li lubi siê gry w rodzaju Tetris. Aby
móc graæ w CXHextris nale¿y mieæ zainstalowane X Window.
%description -l tr
cxhextrix, hextris'in renkli sürümüdür. Her ikisi de, garip þekilli
bloklarýn - arada boþluk býrakýlmadan - bir yýðýn haline getirilmeye
çalýþýldýðý Tetris oyununa benzer.
%prep
%setup -q -n cxhextris
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
xmkmf
%{__make} CDEBUGFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/usr/share/fonts/misc,%{_applnkdir}/Games,%{_datadir}/pixmaps}
%{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
%{__make} FONTDIR=$RPM_BUILD_ROOT%{_fontsdir} install.font
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
gzip -9nf README README.Linux
%clean
rm -rf $RPM_BUILD_ROOT
%post
(cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
%postun
(cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
%files
%defattr(644,root,root,755)
%doc *.gz
%attr(2755,root,games) %{_bindir}/xhextris
%{_fontsdir}/misc/hex20.pcf
%attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/xhextris-scores
%{_applnkdir}/Games/*
%{_pixmapsdir}/*
|