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