]> git.pld-linux.org Git - packages/cxhextris.git/blob - cxhextris.spec
- kill Icon: field (support for these is obsolete says jbj)
[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:        27
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 BuildRequires:  XFree86-devel
20 Requires(post,postun):  fontpostinst
21 Requires:       %{_fontsdir}/misc
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-Window 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 %{name}
70 %patch0 -p1
71 %patch1 -p1
72 %patch2 -p1
73
74 %build
75 xmkmf
76 %{__make} \
77         CC="%{__cc}" \
78         CDEBUGFLAGS="%{rpmcflags}"
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT{/usr/share/fonts/misc,%{_desktopdir},%{_pixmapsdir}}
83
84 %{__make} install install.man \
85         BINDIR=%{_bindir} \
86         MANDIR=%{_mandir}/man1 \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 install hex20.pcf $RPM_BUILD_ROOT%{_fontsdir}/misc
90
91 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
92 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post
98 fontpostinst misc
99
100 %postun
101 fontpostinst misc
102
103 %files
104 %defattr(644,root,root,755)
105 %doc README README.Linux
106 %attr(2755,root,games) %{_bindir}/xhextris
107 %{_fontsdir}/misc/hex20.pcf
108 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/xhextris-scores
109 %{_mandir}/man1/xhextris.1*
110 %{_desktopdir}/*
111 %{_pixmapsdir}/*
This page took 0.07146 seconds and 4 git commands to generate.