]> git.pld-linux.org Git - packages/cxhextris.git/blob - cxhextris.spec
- BuildRequires: XFree86-devel
[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 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 tr
57 cxhextrix, hextris'in renkli sürümüdür. Her ikisi de, garip þekilli
58 bloklarýn - arada boþluk býrakýlmadan - bir yýðýn haline getirilmeye
59 çalýþýldýðý Tetris oyununa benzer.
60
61 %prep
62 %setup -q -n cxhextris
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66
67 %build
68 xmkmf
69 %{__make} CDEBUGFLAGS="%{rpmcflags}"
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT{/usr/share/fonts/misc,%{_applnkdir}/Games,%{_datadir}/pixmaps}
74
75 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
76
77 %{__make} FONTDIR=$RPM_BUILD_ROOT%{_fontsdir} install.font
78
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
80 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
81
82 gzip -9nf README README.Linux
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post
88 (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
89
90 %postun
91 (cd /usr/share/fonts/misc; /usr/X11R6/bin/mkfontdir)
92
93 %files
94 %defattr(644,root,root,755)
95 %doc *.gz
96 %attr(2755,root,games) %{_bindir}/xhextris
97 %{_fontsdir}/misc/hex20.pcf
98 %attr(664,root,games) /var/games/xhextris-scores
99 %{_applnkdir}/Games/*
100 %{_pixmapsdir}/*
This page took 0.046035 seconds and 4 git commands to generate.