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