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