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