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