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